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_cloud_firewall_instance cannot import all parameters required. #4344

Open rsun-thoughtworks opened 2 years ago

rsun-thoughtworks commented 2 years ago

Issue

https://github.com/aliyun/terraform-provider-alicloud/blob/f2b25747d569d8716aaca1d009195037ee16e669/alicloud/resource_alicloud_cloud_firewall_instance.go#L246-L251

The following fields are not updated when import state of cloud firewall instance

As a result after import state, terraform cannot correctly manage state of cloud firewall instance.

rsun-thoughtworks commented 2 years ago

After import it, if we destroy this instance by comment this resource, it will say it has been deleted.

However, I can confirm that it is not.

So, is this resource event working?