Closed yeshuan closed 5 months ago
This was caused by modification from https://github.com/aliyun/terraform-provider-alicloud/pull/6646 (version 1.213) and was reverted by https://github.com/aliyun/terraform-provider-alicloud/pull/6769 (version 1.214) so that the resource behaved as before. Further updates to make resource alicloud_cs_kubernetes_permissions better:
@sanyangji Thanks for your feedback. @yeshuan Please let me know and reopen the issue if you have more questions.
Hi there,
Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.
Terraform Version
Terraform v1.5.0 on linux_amd64
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
+/- resource "alicloud_cs_kubernetes_permissions" "ops"
Panic Output
no change for this resource
Expected Behavior
it will change anytime about ,and it create before destroy,create frist and then destroy,finally the RBAC permission lost
tips:the statefile this resource no create_before_destroy =true configuration
why terraform plan always must be replaced ”resource "alicloud_cs_kubernetes_permissions",and create first then destroy,resource will be lost