You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Community Note
Terraform Version
Affected Resource(s)
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
data "tencentcloud_security_groups"
to get information about the security groupresource "tencentcloud_security_group_rule_set"
terraform plan
terraform apply
terraform destroy
If you need anything else, please let me know.
The text was updated successfully, but these errors were encountered: