Open
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
[root@base tencentcloud]# terraform -v
Terraform v1.10.0-dev
on linux_amd64
+ provider registry.terraform.io/hashicorp/null v3.2.3
+ provider registry.terraform.io/tencentcloudstack/tencentcloud v1.81.147
Affected Resource(s)
- tencentcloud_security_group_rule_set
Expected Behavior
When destroying a deployed instance, I expect that only the security group rules that terraform created to be deleted. The security groups was created in the Tencent Console.
Also, if there are any security group rules already in the security group, they get deleted when run terraform apply
.
Actual Behavior
All security groups rules from the security group were deleted.
Steps to Reproduce
- create a security group in Tencent Console
- add a security group rule
- use
data "tencentcloud_security_groups"
to get information about the security group - add rules using
resource "tencentcloud_security_group_rule_set"
- run
terraform plan
- run
terraform apply
- run
terraform destroy
If you need anything else, please let me know.
Metadata
Metadata
Assignees
Labels
No labels