-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
Altering imported Lambda function resource results in a diffs didn't match during apply
error
#5742
Comments
More info by following the below steps:
So weirdly if I just rerun |
diffs didn't match during apply
error
After some more investigation I am inclined to think this is an issue with core Terraform, and not this provider, though I lack the insight into the codebase to be sure of that. |
Hi @bleggett ! Unfortunately the message you saw isn't enough for us to go on to investigate the error. The debugging situation should be improved if you upgrade to Terraform 0.12 and the latest AWS provider. If you still see an error in this situation, please open a new bug report and we'll dig into it. 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! |
Community Note
Terraform Version
0.11.8
Affected Resource(s)
Terraform Configuration Files
Have to use
ignore_changes
here, because I only want to update the function role for the existing function, and those 3 fields are required if I do not ignore them.Debug Output
https://gist.github.com/bleggett/48dbc654c9e0f295e2a1a6ac997a1276
diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue.
Expected Behavior
Given a preexisting Lambda function named
test-func
running
should result in the function being imported, and the existing resource should be updated with the new role.
Actual Behavior
terraform input
succeeds,terraform apply
fails with the above diff exception.Steps to Reproduce
The text was updated successfully, but these errors were encountered: