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_ess_scaling_configuration" {
source="./modules/alicloud/r/alicloud_ess_scaling_configuration"# active - (optional) is a type of boolactive=null# credit_specification - (optional) is a type of stringcredit_specification=null# enable - (optional) is a type of boolenable=null# force_delete - (optional) is a type of boolforce_delete=null# image_id - (optional) is a type of stringimage_id=null# image_name - (optional) is a type of stringimage_name=null# instance_ids - (optional) is a type of list of stringinstance_ids=[]
# instance_name - (optional) is a type of stringinstance_name=null# instance_type - (optional) is a type of stringinstance_type=null# instance_types - (optional) is a type of list of stringinstance_types=[]
# internet_charge_type - (optional) is a type of stringinternet_charge_type=null# internet_max_bandwidth_in - (optional) is a type of numberinternet_max_bandwidth_in=null# internet_max_bandwidth_out - (optional) is a type of numberinternet_max_bandwidth_out=null# io_optimized - (optional) is a type of stringio_optimized=null# is_outdated - (optional) is a type of boolis_outdated=null# key_name - (optional) is a type of stringkey_name=null# kms_encrypted_password - (optional) is a type of stringkms_encrypted_password=null# kms_encryption_context - (optional) is a type of map of stringkms_encryption_context={}
# override - (optional) is a type of booloverride=null# password - (optional) is a type of stringpassword=null# password_inherit - (optional) is a type of boolpassword_inherit=null# role_name - (optional) is a type of stringrole_name=null# scaling_configuration_name - (optional) is a type of stringscaling_configuration_name=null# scaling_group_id - (required) is a type of stringscaling_group_id=null# security_group_id - (optional) is a type of stringsecurity_group_id=null# security_group_ids - (optional) is a type of list of stringsecurity_group_ids=[]
# substitute - (optional) is a type of stringsubstitute=null# system_disk_auto_snapshot_policy_id - (optional) is a type of stringsystem_disk_auto_snapshot_policy_id=null# system_disk_category - (optional) is a type of stringsystem_disk_category=null# system_disk_description - (optional) is a type of stringsystem_disk_description=null# system_disk_name - (optional) is a type of stringsystem_disk_name=null# system_disk_size - (optional) is a type of numbersystem_disk_size=null# tags - (optional) is a type of map of stringtags={}
# user_data - (optional) is a type of stringuser_data=nulldata_disk=[{
auto_snapshot_policy_id =null
category =null
delete_with_instance =null
description =null
device =null
encrypted =null
kms_key_id =null
name =null
size =null
snapshot_id =null
}]
}
resource"alicloud_ess_scaling_configuration""this" {
# active - (optional) is a type of boolactive=var.active# credit_specification - (optional) is a type of stringcredit_specification=var.credit_specification# enable - (optional) is a type of boolenable=var.enable# force_delete - (optional) is a type of boolforce_delete=var.force_delete# image_id - (optional) is a type of stringimage_id=var.image_id# image_name - (optional) is a type of stringimage_name=var.image_name# instance_ids - (optional) is a type of list of stringinstance_ids=var.instance_ids# instance_name - (optional) is a type of stringinstance_name=var.instance_name# instance_type - (optional) is a type of stringinstance_type=var.instance_type# instance_types - (optional) is a type of list of stringinstance_types=var.instance_types# internet_charge_type - (optional) is a type of stringinternet_charge_type=var.internet_charge_type# internet_max_bandwidth_in - (optional) is a type of numberinternet_max_bandwidth_in=var.internet_max_bandwidth_in# internet_max_bandwidth_out - (optional) is a type of numberinternet_max_bandwidth_out=var.internet_max_bandwidth_out# io_optimized - (optional) is a type of stringio_optimized=var.io_optimized# is_outdated - (optional) is a type of boolis_outdated=var.is_outdated# key_name - (optional) is a type of stringkey_name=var.key_name# kms_encrypted_password - (optional) is a type of stringkms_encrypted_password=var.kms_encrypted_password# kms_encryption_context - (optional) is a type of map of stringkms_encryption_context=var.kms_encryption_context# override - (optional) is a type of booloverride=var.override# password - (optional) is a type of stringpassword=var.password# password_inherit - (optional) is a type of boolpassword_inherit=var.password_inherit# role_name - (optional) is a type of stringrole_name=var.role_name# scaling_configuration_name - (optional) is a type of stringscaling_configuration_name=var.scaling_configuration_name# scaling_group_id - (required) is a type of stringscaling_group_id=var.scaling_group_id# security_group_id - (optional) is a type of stringsecurity_group_id=var.security_group_id# security_group_ids - (optional) is a type of list of stringsecurity_group_ids=var.security_group_ids# substitute - (optional) is a type of stringsubstitute=var.substitute# system_disk_auto_snapshot_policy_id - (optional) is a type of stringsystem_disk_auto_snapshot_policy_id=var.system_disk_auto_snapshot_policy_id# system_disk_category - (optional) is a type of stringsystem_disk_category=var.system_disk_category# system_disk_description - (optional) is a type of stringsystem_disk_description=var.system_disk_description# system_disk_name - (optional) is a type of stringsystem_disk_name=var.system_disk_name# system_disk_size - (optional) is a type of numbersystem_disk_size=var.system_disk_size# tags - (optional) is a type of map of stringtags=var.tags# user_data - (optional) is a type of stringuser_data=var.user_datadynamic"data_disk" {
for_each=var.data_diskcontent {
# auto_snapshot_policy_id - (optional) is a type of stringauto_snapshot_policy_id=data_disk.value["auto_snapshot_policy_id"]
# category - (optional) is a type of stringcategory=data_disk.value["category"]
# delete_with_instance - (optional) is a type of booldelete_with_instance=data_disk.value["delete_with_instance"]
# description - (optional) is a type of stringdescription=data_disk.value["description"]
# device - (optional) is a type of stringdevice=data_disk.value["device"]
# encrypted - (optional) is a type of boolencrypted=data_disk.value["encrypted"]
# kms_key_id - (optional) is a type of stringkms_key_id=data_disk.value["kms_key_id"]
# name - (optional) is a type of stringname=data_disk.value["name"]
# size - (optional) is a type of numbersize=data_disk.value["size"]
# snapshot_id - (optional) is a type of stringsnapshot_id=data_disk.value["snapshot_id"]
}
}
}