Skip to content

fix: Use source_hash instead of etag to prevent drift when using KMS #1783

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

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

marekaf
Copy link
Contributor

@marekaf marekaf commented Feb 23, 2022

source_hash - (Optional) Triggers updates like etag but useful to address etag encryption limitations. Set using filemd5("path/to/source") (Terraform 0.11.12 or later). (The value is only stored in state and not saved by AWS.)

source_hash should help eliminate some "plan drifts" that are caused when using KMS encryption and etag together

it shouldn't affect the functionality if not using SSE KMS on the bucket.

@npalm npalm self-requested a review February 23, 2022 23:06
@npalm npalm changed the title use source_hash instead of etag to prevent drift when using KMS fix: Use source_hash instead of etag to prevent drift when using KMS Feb 24, 2022
Copy link
Member

@npalm npalm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marekaf Thanks!

@npalm npalm merged commit 2923a27 into github-aws-runners:develop Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants