Open superzc-github opened 3 years ago
btw, you could specify it like this:
resource "alicloud_nat_gateway" "default" {
vpc_id = concat(alicloud_vpc.default.*.id, [""])[0]
name = var.nat_name
nat_type = var.nat_type
payment_type = var.payment_type
vswitch_id = alicloud_vswitch.default[count.index].id
depends_on = [alicloud_vswitch.default]
}
The module not supporting latest TF resource for enhanced net_type
--Issue Message of TF Apply-- Message: Standard NAT gateways are no longer offered. You can create enhanced NAT gateways and set the correct natType.