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_eci_openapi_image_cache" {
source="./modules/alicloud/r/alicloud_eci_openapi_image_cache"# eip_instance_id - (optional) is a type of stringeip_instance_id=null# image_cache_name - (required) is a type of stringimage_cache_name=null# image_cache_size - (optional) is a type of numberimage_cache_size=null# images - (required) is a type of set of stringimages=[]
# resource_group_id - (optional) is a type of stringresource_group_id=null# retention_days - (optional) is a type of numberretention_days=null# security_group_id - (required) is a type of stringsecurity_group_id=null# vswitch_id - (required) is a type of stringvswitch_id=null# zone_id - (optional) is a type of stringzone_id=nullimage_registry_credential=[{
password =null
server =null
user_name =null
}]
timeouts=[{
create =null
}]
}
resource"alicloud_eci_openapi_image_cache""this" {
# eip_instance_id - (optional) is a type of stringeip_instance_id=var.eip_instance_id# image_cache_name - (required) is a type of stringimage_cache_name=var.image_cache_name# image_cache_size - (optional) is a type of numberimage_cache_size=var.image_cache_size# images - (required) is a type of set of stringimages=var.images# resource_group_id - (optional) is a type of stringresource_group_id=var.resource_group_id# retention_days - (optional) is a type of numberretention_days=var.retention_days# security_group_id - (required) is a type of stringsecurity_group_id=var.security_group_id# vswitch_id - (required) is a type of stringvswitch_id=var.vswitch_id# zone_id - (optional) is a type of stringzone_id=var.zone_iddynamic"image_registry_credential" {
for_each=var.image_registry_credentialcontent {
# password - (optional) is a type of stringpassword=image_registry_credential.value["password"]
# server - (optional) is a type of stringserver=image_registry_credential.value["server"]
# user_name - (optional) is a type of stringuser_name=image_registry_credential.value["user_name"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
}
}
}