-
Notifications
You must be signed in to change notification settings - Fork 4.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
Automated cherry pick of #8145: Enabling JSON output for Terraform instead of writing the HCL #8926
Conversation
Hi @johanneswuerbach. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
2974fd0
to
52c1aff
Compare
…tf file. JSON syntax is officially supported in 0.12 and a terraform version requirement will be set. For previous installations you need to delete the .tf file by hand. JSON generation will fail if kubernetes.tf is present. Added Integration Test using minimal test setup Added documentation. For terraform 0.12 support the resource names need to be changed still
52c1aff
to
819bfa2
Compare
/assign @mikesplain |
I think this makes sense to cherry-pick. Months ago when #8145 landed we discussed it targeting 1.18 and the native hcl2 syntax targeting 1.19. We managed to get the hcl2 syntax into 1.18, so it might be good to offer this as an intermediate step in 1.17. The renaming of resources was also cherry-picked back to 1.17, so this should be the only thing needed to support terraform 0.12 in kops 1.17. The PR itself is very low risk: the only logic changes are behind a feature flag that defaults to disabled. Even though we're pretty late into the 1.17 release cycle I think this is safe and would help users with their terraform 0.12 adoption. Lets do it :) Perhaps its worthy of a mention in the 1.17 release notes? Would you be able to add a note in the Significant Changes section here in a followup PR? It should probably mention the "required action" item regarding resource renaming too. If not I can do it. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johanneswuerbach, rifelpet The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Cherry pick of #8145 on release-1.17.
#8145: Enabling JSON output for Terraform instead of writing the HCL
For details on the cherry pick process, see the cherry pick requests page.