Repository navigation
fix(deps): update terraform hashicorp/terraform to < 1.18 - #822
Conversation
|
/gcbrun |
There was a problem hiding this comment.
Summary of Changes
Hello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
This pull request updates the minimum and maximum required versions for HashiCorp Terraform across several configuration files. The change specifically modifies the required_version constraint in various versions.tf files to allow for Terraform versions up to, but not including, 1.14. This update ensures that the projects can leverage improvements and new functionalities introduced in Terraform 1.13.x while maintaining compatibility.
Highlights
- Terraform Version Update: Updates the
required_versionconstraint for HashiCorp Terraform in multipleversions.tffiles to< 1.14. This change enables compatibility with Terraform 1.13.x, allowing the use of the latest features and bug fixes from that release.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
There was a problem hiding this comment.
Code Review
This PR updates the Terraform version constraint, but in doing so, it removes the lower version bound. This is risky as it could allow execution with incompatible older Terraform versions. I've added suggestions to each versions.tf file to re-instate the lower bounds, ensuring module stability and preventing potential errors.
|
/gcbrun |
5 similar comments
|
/gcbrun |
|
/gcbrun |
|
/gcbrun |
|
/gcbrun |
|
/gcbrun |
f9df432 to
7763a06
Compare
|
/gcbrun |
|
/gcbrun |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Preserves existing lower bounds (>= v0.15.x) while widening upper bound to < 1.18 across versions.tf files to match the Dependency Dashboard (GoogleCloudPlatform#90) and unblock newer cft/developer-tools-krm images.
|
/gcbrun |
…5+ list(any) compatibility - Unwrap non-secret VM hostname/IP projection with nonsensitive(vm_details.instances_details) in anthos-bm-gcp-terraform/modules/vm/outputs.tf for Terraform 1.13+ nested sensitivity propagation. - Relax var.module_depends_on from list(any) to any in anthos-bm-gcp-terraform/modules/init/variables.tf for Terraform 1.15+ heterogeneous list element validation.
|
/gcbrun |
1 similar comment
|
/gcbrun |
|
/gcbrun |
Updates
hashicorp/terraformrequired_versionupper bounds from< 1.13to< 1.18(preserving existing lower bounds>= v0.15.x) across all 6versions.tffiles, matching the Dependency Dashboard (#90) and unblocking newercft/developer-tools-krmcontainer images.anthos-bm-apigee/versions.tf>= v0.15.5, < 1.13>= v0.15.5, < 1.18anthos-bm-gcp-terraform/versions.tf>= v0.15.4, < 1.13>= v0.15.4, < 1.18anthos-onprem-terraform/abm_user_cluster_manuallb/versions.tf>= v0.15.5, < 1.13>= v0.15.5, < 1.18anthos-onprem-terraform/abm_user_cluster_metallb/versions.tf>= v0.15.5, < 1.13>= v0.15.5, < 1.18anthos-onprem-terraform/avmw_user_cluster_metallb/versions.tf>= v0.15.5, < 1.13>= v0.15.5, < 1.18test/setup/versions.tf< 1.13< 1.18Terraform 1.13+ & 1.15+ Compatibility Fixes
anthos-bm-gcp-terraform/modules/vm/outputs.tf:26: Wrapvm_details.instances_detailsinnonsensitive(...)when projecting non-secrethostname,internalIp, andexternalIpfields so Terraform 1.13+ nested module sensitivity propagation does not breakfor_eachor root outputs.anthos-bm-gcp-terraform/modules/init/variables.tf:127: Changevar.module_depends_onfromlist(any)toanyso Terraform 1.15+ accepts heterogeneous resource references (local_file.init_args_file[each.key],local_file.nfs_yaml).