-
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
Set secret
and ses_smtp_password
to sensitive
#10908
Conversation
According to [article](https://www.terraform.io/docs/extend/best-practices/sensitive-state.html), we should stop focusing efforts on encrypting state values with PGP keys and instead mark fields as sensitive. According to the article, the effort should be spent instead on protecting state buckets and our team intends to move in this direction. Therefore, I've gone and set both attributes to sensitive and removed the deprecation notice recommending using the `pgp_key` technique. Since people may disagree, I haven't gone so far as to remove the `pgp_key` support. I think it should remain for as long as the maintainers want to promote people using this feature and as long as it doesn't seem contrarian compared to official Hashicorp doctrine.
Additional Testing: After replacing the provider with the modified one I compiled, here is what the plan looks like:
Before, |
@bflad |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this, @joshk0. We will be merging this for the next release, expected late next week, though the schedule may be affected by AWS re:Invent
This has been released in version 2.41.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
According to article, we should stop focusing efforts on encrypting state values with PGP keys and instead mark fields as sensitive. According to the article, the effort should be spent instead on protecting state buckets and our team intends to move in this direction.
Therefore, I've gone and set both attributes to sensitive and removed the deprecation notice recommending using the
pgp_key
technique.Since people may disagree, I haven't gone so far as to remove the
pgp_key
support. I think it should remain for as long as the maintainers want to promote people using this feature and as long as it doesn't seem contrarian compared to official Hashicorp doctrine.Community Note
Release note for CHANGELOG:
Output from acceptance testing: