-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform plan is not showing change to DynamoDB pitr value #15124
Comments
Hi @jbigtani, thank you for creating this issue. I'm able to reproduce this behavior and there does seem some related issues in the provider regarding changes to nearby attributes. This looks related to the implementation of a |
Ahh "related" in the sense of the behavior, thanks for catching that @jbigtani 😅 , such that Terraform does not show changes at |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
The crux of @jbigtani's question is, "Why isn't TF giving a diff when I remove the This issue can be closed because the behavior jbigtani noticed is as expected. The The workaround mentioned is actually not a workaround but the correct way to change point_in_time_recovery {
enabled = false
} |
Community Note
Terraform CLI and Terraform AWS Provider Version
Terraform v0.12.29
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
After running step 2 to disable point_in_time_recovery, plan should have shown below differences
~ point_in_time_recovery {
~ enabled = true -> false
}
Actual Behavior
No changes. Infrastructure is up-to-date.
Steps to Reproduce
terraform apply
to create a dynamodb table with pitr = trueterraform apply
orterraform apply
after removing pitr block. It does not disable pitr.Workaround
Instead of removing pitr block if you just turn the flag value to false, it works.
The text was updated successfully, but these errors were encountered: