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"alicloud_ecs_auto_snapshot_policy" {
source="./modules/alicloud/r/alicloud_ecs_auto_snapshot_policy"# copied_snapshots_retention_days - (optional) is a type of numbercopied_snapshots_retention_days=null# enable_cross_region_copy - (optional) is a type of boolenable_cross_region_copy=null# name - (optional) is a type of stringname=null# repeat_weekdays - (required) is a type of set of stringrepeat_weekdays=[]
# retention_days - (required) is a type of numberretention_days=null# tags - (optional) is a type of map of stringtags={}
# target_copy_regions - (optional) is a type of set of stringtarget_copy_regions=[]
# time_points - (required) is a type of set of stringtime_points=[]
timeouts=[{
create =null
delete =null
}]
}
resource"alicloud_ecs_auto_snapshot_policy""this" {
# copied_snapshots_retention_days - (optional) is a type of numbercopied_snapshots_retention_days=var.copied_snapshots_retention_days# enable_cross_region_copy - (optional) is a type of boolenable_cross_region_copy=var.enable_cross_region_copy# name - (optional) is a type of stringname=var.name# repeat_weekdays - (required) is a type of set of stringrepeat_weekdays=var.repeat_weekdays# retention_days - (required) is a type of numberretention_days=var.retention_days# tags - (optional) is a type of map of stringtags=var.tags# target_copy_regions - (optional) is a type of set of stringtarget_copy_regions=var.target_copy_regions# time_points - (required) is a type of set of stringtime_points=var.time_pointsdynamic"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"]
}
}
}