Repository navigation
feat(network/firewall-rules): upgrade CFT network firewall-rules to v18.3+ - #6498
Conversation
…18.3+ Upgrade terraform-google-modules/network/google//modules/firewall-rules to ~> 18.3 in modules/network/firewall-rules to support Google Cloud Provider 8.x (google < 9, google-beta < 9). Also updated README.md.
Summary of ChangesHello, 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 firewall rules module dependency to version 18.3 to ensure compatibility with recent Google Cloud Provider releases. This change facilitates the use of updated infrastructure features while maintaining existing rule provisioning logic. Highlights
Using Gemini Code AssistThe 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 by creating a comment using either
Customization To customize the 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 Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. 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. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request updates the firewall_rule module version from ~> 13.0 to ~> 18.3 in both main.tf and the README. However, this upgrade introduces a compatibility issue because the new module version requires the google provider version to be >= 4.64, while the parent module's versions.tf still specifies >= 3.83. Please update the provider constraint in versions.tf to prevent initialization issues.
Update google provider constraint from >= 3.83 to >= 4.64 in versions.tf and README.md to match the minimum requirement of CFT network v18.3.
Test Status & Verification SummaryThe failure in 1. Functional Verification of CFT
|
|
Successful PR test: PR-test-gke-managed-lustre |
b75f6c3
into
GoogleCloudPlatform:develop
Summary
This PR upgrades the Cloud Foundation Toolkit (CFT)
firewall-rulessubmodule inmodules/network/firewall-rulesto allow deployments with Google Cloud Provider 8.x (specifically unblockinggoogle-beta >= 8.7.0for features like GKE best-effort node pools and RoCE/RDMA GPU networking).Previously,
modules/network/firewall-rulespinnedterraform-google-modules/network/google//modules/firewall-rulesto~> 13.0, which strictly constrained the Google provider to< 8.0.0.Detailed Changes
terraform-google-modules/network/google//modules/firewall-rules: Upgraded from~> 13.0to~> 18.3(using the two-digit pessimistic version constraint to allow automatic minor/patch updates).< 8.0.0togoogle >= 4.64, < 9andgoogle-beta >= 4.64, < 9.ingress_rulesandegress_rulesinput schemas and rule provisioning behaviors remain identical.modules/network/firewall-rules/README.md.Testing
terraform fmtacross modified files.tflint --config=.tflint.hclonmodules/network/firewall-rules(clean).terraform initandterraform validateonfirewall-ruleswith Google Provider 8.7.0.Submission Checklist