Skip to content
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 always shows source_code_hash change for alert_database_server_alarms #1219

Open
BryanQuigley opened this issue May 16, 2022 · 0 comments

Comments

@BryanQuigley
Copy link
Contributor

Terraform always shows source_code_hash change for aws_lambda_function.alert_database_server_alarms

aws_lambda_function.alert_database_server_alarms will be updated in-place

~ resource "aws_lambda_function" "alert_database_server_alarms" {
....
~ last_modified = "2022-05-16T17:08:36.000+0000" -> (known after apply)
....
~ source_code_hash = "QE/zuq68MK7AJ+E4oLMzmiDdFt1FxcU7hurLgRZX02c=" ->

A possible solution is:
https://stackoverflow.com/questions/52662244/terraform-lambda-source-code-hash-update-with-same-code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants