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
We are on Terraform 0.14.6 and experiencing the following issue.
We are providing source_code_hash for the aws_lambda_layer_version in the plan terraform accepts it but writes totally different to the state file.
In the plan the source_code_hash is FyN0P9BvuTm023dkHFaWvAGmyD0rlhujGsPCTqaBGyw= however in the state file it becames c3forIEso3mJh74PY6HrhFK94GfJvQ4zG9rEIgBCBhw=.
When I check the layer in AWS CLI the "CodeSha256": c3forIEso3mJh74PY6HrhFK94GfJvQ4zG9rEIgBCBhw=,
Based on this it does not matter what kind of source_code_hash I can not overwrite hash of filename.
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked as resolved and limited conversation to collaborators
Apr 8, 2021
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi All,
We are on Terraform 0.14.6 and experiencing the following issue.
We are providing source_code_hash for the aws_lambda_layer_version in the plan terraform accepts it but writes totally different to the state file.
In the plan the source_code_hash is
FyN0P9BvuTm023dkHFaWvAGmyD0rlhujGsPCTqaBGyw=
however in the state file it becamesc3forIEso3mJh74PY6HrhFK94GfJvQ4zG9rEIgBCBhw=
.When I check the layer in AWS CLI the "CodeSha256":
c3forIEso3mJh74PY6HrhFK94GfJvQ4zG9rEIgBCBhw=
,Based on this it does not matter what kind of source_code_hash I can not overwrite hash of filename.
TF config.
TF plan looks like this
However in the statefile I see the following
The text was updated successfully, but these errors were encountered: