-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Lambda s3_object_version is not updated with new S3 etag #6901
Comments
I also note that adding an explicit |
Hi @gthole , In the current implementation all See WIP in #4846. Probably the best workaround for now is to either run two |
Thanks for the prompt reply @radeksimko - happy to close this since the issue is well known. |
Is this still the only workaround or has there been a fix? I am assuming not as I am running into this issue as well and there is no linked fix. |
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. |
Terraform Version
Terraform v0.6.16
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Modifying the S3 upload zip file with
terraform apply
should update thes3_object_version
of the lambda function with the S3 bucket object'sversion_id
.Actual Behavior
The
version_id
on the S3 bucket object is updated after pushing the updated file, but thes3_object_version
is not updated on the lambda.Steps to Reproduce
terraform apply
with the manifests listed above.terraform apply
- note the S3 bucket object updates the etag, but Lambda does not get the news3_object_version
.terraform apply
again, the Lambda gets the news3_object_version
.The text was updated successfully, but these errors were encountered: