policy = null does not remove existing resource policy #21611
Labels
bug
Addresses a defect in current functionality.
service/secretsmanager
Issues and PRs that pertain to the secretsmanager service.
Milestone
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v1.0.10
on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
When
policy = null
any existing resource policy should be removed.Actual Behavior
The existing resource policy remained.
Steps to Reproduce
The above will correctly apply the resource policy.
Change to
policy = null
Reapply.
The existing policy is not removed.
The text was updated successfully, but these errors were encountered: