Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 3.38 KB

File metadata and controls

38 lines (27 loc) · 3.38 KB

Requirements

Name Version
terraform >= 1.3.0

Providers

Name Version
oci n/a

Modules

No modules.

Resources

Name Type
oci_budget_alert_rule.these resource
oci_budget_budget.these resource

Inputs

Name Description Type Default Required
budgets_configuration n/a
object({
#default_compartment_id = optional(string),
default_defined_tags = optional(map(string)),
default_freeform_tags = optional(map(string))
budgets = optional(map(object({
#compartment_id = optional(string),
name = string,
description = optional(string),
target = optional(object({
type = optional(string), # Default: COMPARTMENT
values = optional(list(string)) # Default: [<tenancy_ocid>]
})),
amount = number,
schedule = optional(object({
reset_period = optional(string), # Default: MONTHLY
processing_period_type = optional(string) # Default: MONTH. Valid values: MONTH, SINGLE_USE.
day_of_month_to_begin = optional(number), # Only applicable when processing_period_type is MONTH. Default: .
single_use_start_date = optional(string), # Only applicable when processing_period_type is SINGLE_USE.
single_use_end_date = optional(string) # Only applicable when processing_period_type is SINGLE_USE.
})),
defined_tags = optional(map(string)),
freeform_tags = optional(map(string)),
alert_rule = optional(object({
name = optional(string)
description = optional(string)
threshold_metric = optional(string), # Default: ACTUAL
threshold_type = optional(string), # Default: PERCENTAGE
threshold_value = number,
recipients = string,
message = string,
defined_tags = optional(map(string)),
freeform_tags = optional(map(string))
}))
})))
})
n/a yes
compartments_dependency A map of objects containing the externally managed compartments this module may depend on. All map objects must have the same type and must contain at least an 'id' attribute (representing the compartment OCID) of string type. map(any) null no
module_name The module name. string "budgets" no
tenancy_ocid n/a any n/a yes

Outputs

Name Description
budget_alert_rules The budget alert rules.
budgets The budgets.