-
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
"diffs didn't match during apply" for aws_instance credit_specification cpu_credits #19315
Comments
@kurtwheeler could you also provide your AWS provider version? This may be related: hashicorp/terraform-provider-aws#5853 |
I have a |
Does anyone have any ideas of what I might be able to do to workaround this until a fix is devised? I had to redeploy prod today and I've hit this three times in a row. I can't stand my API server back up because of this so my website is down. |
Oh wait, now I see! I will try updating my AWS provider version! |
Updating my provider version fixed this issue. Thank! |
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 Configuration Files
https://github.com/AlexsLemonade/refinebio/tree/dev/infrastructure
Debug Output
Because this is a production deploy it is not easy to simply modify the terraform command.
Crash Output
https://gist.github.com/kurtwheeler/dfaa53937b352bac831e1aa06223255d
Expected Behavior
It shouldn't have crashed
Actual Behavior
It did crash.
Steps to Reproduce
This was caused by an automated script triggered by CircleCI. This script:
https://github.com/AlexsLemonade/refinebio/blob/dev/.circleci/remote_deploy.sh
calls this script: https://github.com/AlexsLemonade/refinebio/blob/dev/.circleci/run_terraform.sh
which ran this script:
https://github.com/AlexsLemonade/refinebio/blob/dev/infrastructure/deploy.sh
which is what actually runs terraform commands.
However this has run successfully many times and I'm not sure what was different about this one.
Additional Context
This happened during our automated deploy process to our production stack. This is the first deploy to our production stack after modifying the process, but this has been tested about half a dozen time on our staging stack. I have rerun our deploy process and it completed successfully. I'm not sure what was different this time or when it might happen again.
The text was updated successfully, but these errors were encountered: