-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
[19.03] terraform: 0.12.3 -> 0.12.6 #66530
Conversation
@knl what is the reason for this backport? |
Would love to have the most recent Terraform on 19.03 that we're using. However, it doesn't build on darwin (yet), since it has been broken since June 20. Working on it. |
@knl we usually really prefer updates to stable branch only in case of regressions and security features to ensure the release stays as stable as possible. |
@mmahut Good approach! Would it be possible to add that to the PR template for release branches, as one of the questions? That way, people trying to submit upgrades on stable branch can decide early if it's worth creating a PR or not? This upgrade fixes quite a lot of issues, btw (from: https://github.com/hashicorp/terraform/blob/v0.12.6/CHANGELOG.md): 0.12.6 (July 31, 2019) NOTES:
NEW FEATURES:
ENHANCEMENTS:
BUG FIXES:
0.12.5 (July 18, 2019) ENHANCEMENTS:
BUG FIXES:
0.12.4 (July 11, 2019) NEW FEATURES:
BUG FIXES:
|
It's tempting to backport this because it includes lots of bug fixes and looking at the minor version upgrade appears to be a backwards compatible release. 0.12.6 does however include the following change in existing behavior: backend/s3: After this update, the AWS Go SDK will prefer credentials found via the AWS_PROFILE environment variable when both the AWS_PROFILE environment variable and the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables are statically defined. Previously the SDK would ignore the AWS_PROFILE environment variable, if static environment credentials were also specified. This is listed as a bug fix in the AWS Go SDK release notes. (hashicorp/terraform#22253) Note that this behavior is going to be reverted back in a new release (hashicorp/terraform#22363). Terraform seems to cut a release every two/three weeks. So what we could do is wait for the release which reverts this behavior back and backport that. I expect this to happen soon since the last release is already two weeks ago. Then we have an upgrade including lots of bug fixes which doesn't break backward compatibility. I think that warrants a backport. |
Is it possible to define a template for one branch? I thought it is not. |
Let's wait for 0.12.8, because 0.12.7 is out and they still have that backwards incompatible change for |
Closing since 19.03 has reached end of support
|
Motivation for this change
This brings up a lot of bug fixes, most notably for various crashes and
terraform fmt
which was a regression in the ways how code is formatted.NOTE Still not ready for merging, as everything Go related fails to build on Darwin after 3590ff2. Working on fixing that.
Fails with:
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @