aliyun / terraform-provider-alicloud

Terraform AliCloud provider
https://www.terraform.io/docs/providers/alicloud/
Mozilla Public License 2.0
590 stars 553 forks source link

alicloud_vpn_gateway ignores enable_ipsec = false, always makes enable_ipsec = true #1965

Open chanind opened 4 years ago

chanind commented 4 years ago

When creating a alicloud_vpn_gateway instance, if I set enable_ipsec = false, it ignores that setting and creates a gateway with ipsec enabled anyway. Then, on the next terraform run, it sees that ipsec is enabled and tries to delete the alicloud_vpn_gateway and recreate it with enable_ipsec = false, which it again ignores, and so on forever.

Terraform Version

Terraform: 0.12.17 Alicloud: 1.64.0

Affected Resource(s)

Please list the resources as a list, for example:

xiaozhu36 commented 4 years ago

HI @chanind Thanks for for your feedback and let me check it.