You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"oci_core_volume_backup_policy" {
source="./modules/oci/r/oci_core_volume_backup_policy"# compartment_id - (required) is a type of stringcompartment_id=null# defined_tags - (optional) is a type of map of stringdefined_tags={}
# destination_region - (optional) is a type of stringdestination_region=null# display_name - (optional) is a type of stringdisplay_name=null# freeform_tags - (optional) is a type of map of stringfreeform_tags={}
schedules=[{
backup_type =null
day_of_month =null
day_of_week =null
hour_of_day =null
month =null
offset_seconds =null
offset_type =null
period =null
retention_seconds =null
time_zone =null
}]
timeouts=[{
create =null
delete =null
update =null
}]
}
resource"oci_core_volume_backup_policy""this" {
# compartment_id - (required) is a type of stringcompartment_id=var.compartment_id# defined_tags - (optional) is a type of map of stringdefined_tags=var.defined_tags# destination_region - (optional) is a type of stringdestination_region=var.destination_region# display_name - (optional) is a type of stringdisplay_name=var.display_name# freeform_tags - (optional) is a type of map of stringfreeform_tags=var.freeform_tagsdynamic"schedules" {
for_each=var.schedulescontent {
# backup_type - (required) is a type of stringbackup_type=schedules.value["backup_type"]
# day_of_month - (optional) is a type of numberday_of_month=schedules.value["day_of_month"]
# day_of_week - (optional) is a type of stringday_of_week=schedules.value["day_of_week"]
# hour_of_day - (optional) is a type of numberhour_of_day=schedules.value["hour_of_day"]
# month - (optional) is a type of stringmonth=schedules.value["month"]
# offset_seconds - (optional) is a type of numberoffset_seconds=schedules.value["offset_seconds"]
# offset_type - (optional) is a type of stringoffset_type=schedules.value["offset_type"]
# period - (required) is a type of stringperiod=schedules.value["period"]
# retention_seconds - (required) is a type of numberretention_seconds=schedules.value["retention_seconds"]
# time_zone - (optional) is a type of stringtime_zone=schedules.value["time_zone"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}