diff --git a/terraform/modules/as/main.tf b/terraform/modules/as/main.tf index ed423f0..8efabf7 100644 --- a/terraform/modules/as/main.tf +++ b/terraform/modules/as/main.tf @@ -13,7 +13,7 @@ resource "tencentcloud_as_scaling_config" "launch_configuration" { } internet_charge_type = "TRAFFIC_POSTPAID_BY_HOUR" -# internet_max_bandwidth_out = var.internet_max_bandwidth_out + internet_max_bandwidth_out = var.internet_max_bandwidth_out public_ip_assigned = var.public_ip_assigned password = var.password enhanced_security_service = var.enhanced_security_service diff --git a/terraform/modules/as/variables.tf b/terraform/modules/as/variables.tf index e76475d..47f7147 100644 --- a/terraform/modules/as/variables.tf +++ b/terraform/modules/as/variables.tf @@ -47,8 +47,8 @@ variable "is_delete_with_instance" { variable "internet_max_bandwidth_out" { type = number - default = 10 - description = "Max bandwidth of Internet access in Mbps. Default is `10`." + default = 0 + description = "Max bandwidth of Internet access in Mbps. Default is `0`." } variable "public_ip_assigned" { diff --git a/terraform/variables.tf b/terraform/variables.tf index 177483b..ed537fc 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -6,5 +6,5 @@ variable "region" { } variable "availability_zone" { - default = "ap-guangzhou-3" + default = "ap-guangzhou-6" }