Dataset Viewer
input
listlengths 2
2
| ideal
stringclasses 4
values |
|---|---|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nBumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.11 to 0.5.14.\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/ulikunitz/xz/commit/7184815834c4777e8fa665946721d5fe114c2c35\"><code>7184815</code></a> Preparation of release v0.5.14</li>\n<li><a href=\"https://github.com/ulikunitz/xz/commit/88ddf1d0d98d688db65de034f48960b2760d2ae2\"><code>88ddf1d</code></a> Address Security Issue GHSA-jc7w-c686-c4v9</li>\n<li><a href=\"https://github.com/ulikunitz/xz/commit/c8314b8f21e9c5e25b52da07544cac14db277e89\"><code>c8314b8</code></a> Add new package xio with WriteCloserStack</li>\n<li><a href=\"https://github.com/ulikunitz/xz/commit/4f11dce79b9977ec2976a978d6c594ea1c23cf29\"><code>4f11dce</code></a> Update README.md and SECURITY.md to address security questions</li>\n<li><a href=\"https://github.com/ulikunitz/xz/commit/f56ebbfaa2400067dcda8ade26ce912c2873ca08\"><code>f56ebbf</code></a> TODO.md: fix a typo</li>\n<li>See full diff in <a href=\"https://github.com/ulikunitz/xz/compare/v0.5.11...v0.5.14\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\nYou can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/terraform-google-modules/terraform-google-network/network/alerts).\n\n</details>\n\n---\n\nChoice A:\ntest/integration/go.mod\n@@ -47,7 +47,7 @@ require (\n \tgithub.com/tidwall/pretty v1.2.1 // indirect\n \tgithub.com/tidwall/sjson v1.2.5 // indirect\n \tgithub.com/tmccombs/hcl2json v0.6.4 // indirect\n-\tgithub.com/ulikunitz/xz v0.5.11 // indirect\n+\tgithub.com/ulikunitz/xz v0.5.14 // indirect\n \tgithub.com/zclconf/go-cty v1.16.2 // indirect\n \tgo.yaml.in/yaml/v2 v2.4.2 // indirect\n \tgo.yaml.in/yaml/v3 v3.0.3 // indirect\n---\ntest/integration/go.sum\n@@ -105,8 +105,8 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=\n github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=\n github.com/tmccombs/hcl2json v0.6.4 h1:/FWnzS9JCuyZ4MNwrG4vMrFrzRgsWEOVi+1AyYUVLGw=\n github.com/tmccombs/hcl2json v0.6.4/go.mod h1:+ppKlIW3H5nsAsZddXPy2iMyvld3SHxyjswOZhavRDk=\n-github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=\n-github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=\n+github.com/ulikunitz/xz v0.5.14 h1:uv/0Bq533iFdnMHZdRBTOlaNMdb1+ZxXIlHDZHIHcvg=\n+github.com/ulikunitz/xz v0.5.14/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=\n github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70=\n github.com/zclconf/go-cty v1.16.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=\n github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo=\n---\n\n\n---\n\nChoice B:\ntest/integration/go.mod\n@@ -47,7 +47,7 @@ require (\n \tgithub.com/tidwall/pretty v1.2.1 // indirect\n \tgithub.com/tidwall/sjson v1.2.5 // indirect\n \tgithub.com/tmccombs/hcl2json v0.6.4 // indirect\n-\tgithub.com/ulikunitz/xz v0.5.11 // indirect\n+\tgithub.com/ulikunitz/xz v0.5.14 // indirect\n \tgithub.com/zclconf/go-cty v1.16.2 // indirect\n \tgo.yaml.in/yaml/v2 v2.4.2 // indirect\n \tgo.yaml.in/yaml/v3 v1.2.5/go.mod // indirect\n---\ntest/integration/go.sum\n@@ -105,8 +105,8 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=\n github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=\n github.com/tmccombs/hcl2json v0.6.4 h1:/FWnzS9JCuyZ4MNwrG4vMrFrzRgsWEOVi+1AyYUVLGw=\n github.com/tmccombs/hcl2json v0.6.4/go.mod h1:+ppKlIW3H5nsAsZddXPy2iMyvld3SHxyjswOZhavRDk=\n-github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=\n-github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=\n+github.com/ulikunitz/xz v0.5.14 h1:uv/0Bq533iFdnMHZdRBTOlaNMdb1+ZxXIlHDZHIHcvg=\n+github.com/ulikunitz/xz v0.5.14/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=\n github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70=\n github.com/zclconf/go-cty v1.16.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=\n github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo=\n---\n\n\n---\n\nChoice C:\ntest/integration/go.mod\n@@ -47,7 +47,7 @@ require (\n \tgithub.com/tidwall/pretty v1.2.1 // indirect\n \tgithub.com/tidwall/sjson v1.2.5 // indirect\n \tgithub.com/tmccombs/hcl2json v0.6.4 // indirect\n-\tgithub.com/ulikunitz/xz v0.5.11 // indirect\n+\tgithub.com/ulikunitz/xz v0.5.14 // indirect\n \tgithub.com/zclconf/go-cty v1.16.2 // indirect\n \tgo.yaml.in/yaml/v2 v2.4.2 // indirect\n \tgo.yaml.in/yaml/v3 v3.0.3 // indirect\n---\ntest/integration/go.sum\n@@ -105,8 +105,8 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=\n github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=\n github.com/tmccombs/hcl2json v0.6.4 h1:/FWnzS9JCuyZ4MNwrG4vMrFrzRgsWEOVi+1AyYUVLGw=\n github.com/tmccombs/hcl2json v0.6.4/go.mod h1:+ppKlIW3H5nsAsZddXPy2iMyvld3SHxyjswOZhavRDk=\n-github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=\n-github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=\n+github.com/ulikunitz/xz v0.5.14 h1:uv/0Bq533iFdnMHZdRBTOlaNMdb1+ZxXIlHDZHIHcvg=\n+github.com/ulikunitz/xz github.com/zclconf/go-cty h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=\n github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70=\n github.com/zclconf/go-cty v1.16.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=\n github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo=\n---\n\n\n---\n\nChoice D:\ntest/integration/go.mod\n@@ -47,7 +47,7 @@ require (\n \tgithub.com/tidwall/pretty v1.2.1 // indirect\n \tgithub.com/tidwall/sjson v1.2.5 // indirect\n \tgithub.com/tmccombs/hcl2json v0.6.4 // indirect\n-\tgithub.com/ulikunitz/xz v0.5.11 // indirect\n+\tgithub.com/ulikunitz/xz v0.5.14 // indirect\n \tgithub.com/zclconf/go-cty v1.16.2 // indirect\n \tgo.yaml.in/yaml/v2 v2.4.2 // indirect\n \tgo.yaml.in/yaml/v3 v3.0.3 // indirect\n---\ntest/integration/go.sum\n@@ -105,8 +105,8 @@ github.com/tidwall/sjson v1.2.5 h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=\n github.com/tidwall/sjson v1.2.5/go.mod h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=\n -105,8 v0.6.4 h1:/FWnzS9JCuyZ4MNwrG4vMrFrzRgsWEOVi+1AyYUVLGw=\n github.com/tmccombs/hcl2json v0.6.4/go.mod h1:+ppKlIW3H5nsAsZddXPy2iMyvld3SHxyjswOZhavRDk=\n-github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=\n-github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=\n+github.com/ulikunitz/xz v0.5.14 h1:uv/0Bq533iFdnMHZdRBTOlaNMdb1+ZxXIlHDZHIHcvg=\n+github.com/ulikunitz/xz v0.5.14/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=\n github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70=\n github.com/zclconf/go-cty v1.16.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=\n github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo=\n---\n\n\n---\n"
}
] |
A
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nThis PR contains the following updates:\n\n| Package | Change | Age | Confidence |\n|---|---|---|---|\n| [github.com/stretchr/testify](https://redirect.github.com/stretchr/testify) | `v1.11.0` -> `v1.11.1` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |\n\n---\n\n### Release Notes\n\n<details>\n<summary>stretchr/testify (github.com/stretchr/testify)</summary>\n\n### [`v1.11.1`](https://redirect.github.com/stretchr/testify/releases/tag/v1.11.1)\n\n[Compare Source](https://redirect.github.com/stretchr/testify/compare/v1.11.0...v1.11.1)\n\nThis release fixes [#​1785](https://redirect.github.com/stretchr/testify/issues/1785) introduced in v1.11.0 where expected argument values implementing the stringer interface (`String() string`) with a method which mutates their value, when passed to mock.Mock.On (`m.On(\"Method\", <expected>).Return()`) or actual argument values passed to mock.Mock.Called may no longer match one another where they previously did match. The behaviour prior to v1.11.0 where the stringer is always called is restored. Future testify releases may not call the stringer method at all in this case.\n\n#### What's Changed\n\n- Backport [#​1786](https://redirect.github.com/stretchr/testify/issues/1786) to release/1.11: mock: revert to pre-v1.11.0 argument matching behavior for mutating stringers by [@​brackendawson](https://redirect.github.com/brackendawson) in [#​1788](https://redirect.github.com/stretchr/testify/pull/1788)\n\n**Full Changelog**: <https://github.com/stretchr/testify/compare/v1.11.0...v1.11.1>\n\n</details>\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.\n\n♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR and you won't be reminded about this update again.\n\n---\n\n - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box\n\n---\n\nThis PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/terraform-google-modules/terraform-google-network).\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->\n\n\n---\n\nChoice A:\ntest/integration/go.mod\n@@ -7,37 +7,24 @@ toolchain go1.24.6\n require (\n \tgithub.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.17.8\n \tgithub.com/gruntwork-io/terratest v0.50.0\n-\tgithub.com/stretchr/testify v1.11.0\n+\tgithub.com/stretchr/testify v1.11.1\n \tgithub.com/tidwall/gjson v1.18.0\n )\n \n require (\n-\tcloud.google.com/go v0.116.0 // indirect\n-\tcloud.google.com/go/compute v1.28.3 // indirect\n-\tcloud.google.com/go/compute/metadata v0.5.2 // indirect\n-\tcloud.google.com/go/iam v1.2.2 // indirect\n-\tcloud.google.com/go/storage v1.47.0 // indirect\n \tgithub.com/agext/levenshtein v1.2.3 // indirect\n \tgithub.com/alexflint/go-filemutex v1.3.0 // indirect\n \tgithub.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect\n-\tgithub.com/aws/aws-sdk-go v1.45.5 // indirect\n \tgithub.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect\n \tgithub.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect\n \tgithub.com/go-errors/errors v1.5.0 // indirect\n \tgithub.com/go-openapi/jsonpointer v0.21.0 // indirect\n \tgithub.com/go-openapi/jsonreference v0.20.2 // indirect\n \tgithub.com/go-openapi/swag v0.23.0 // indirect\n-\tgithub.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect\n-\tgithub.com/golang/protobuf v1.5.4 // indirect\n \tgithub.com/google/gnostic-models v0.6.9 // indirect\n \tgithub.com/google/go-cmp v0.7.0 // indirect\n-\tgithub.com/google/s2a-go v0.1.8 // indirect\n-\tgithub.com/google/uuid v1.6.0 // indirect\n-\tgithub.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect\n-\tgithub.com/googleapis/gax-go/v2 v2.14.0 // indirect\n \tgithub.com/hashicorp/errwrap v1.1.0 // indirect\n \tgithub.com/hashicorp/go-cleanhttp v0.5.2 // indirect\n-\tgithub.com/hashicorp/go-getter v1.7.9 // indirect\n \tgithub.com/hashicorp/go-getter/v2 v2.2.3 // indirect\n \tgithub.com/hashicorp/go-multierror v1.1.1 // indirect\n \tgithub.com/hashicorp/go-safetemp v1.0.0 // indirect\n@@ -47,7 +34,6 @@ require (\n \tgithub.com/hashicorp/terraform-config-inspect v0.0.0-20250515145901-f4c50e64fd6d // indirect\n \tgithub.com/hashicorp/terraform-json v0.25.0 // indirect\n \tgithub.com/jinzhu/copier v0.4.0 // indirect\n-\tgithub.com/jmespath/go-jmespath v0.4.0 // indirect\n \tgithub.com/josharian/intern v1.0.0 // indirect\n \tgithub.com/klauspost/compress v1.16.7 // indirect\n \tgithub.com/mailru/easyjson v0.7.7 // indirect\n@@ -63,27 +49,17 @@ require (\n \tgithub.com/tmccombs/hcl2json v0.6.4 // indirect\n \tgithub.com/ulikunitz/xz v0.5.11 // indirect\n \tgithub.com/zclconf/go-cty v1.16.2 // indirect\n-\tgo.opencensus.io v0.24.0 // indirect\n \tgo.yaml.in/yaml/v2 v2.4.2 // indirect\n \tgo.yaml.in/yaml/v3 v3.0.3 // indirect\n \tgolang.org/x/crypto v0.39.0 // indirect\n \tgolang.org/x/mod v0.26.0 // indirect\n \tgolang.org/x/net v0.41.0 // indirect\n-\tgolang.org/x/oauth2 v0.27.0 // indirect\n \tgolang.org/x/sync v0.15.0 // indirect\n \tgolang.org/x/sys v0.33.0 // indirect\n \tgolang.org/x/text v0.26.0 // indirect\n \tgolang.org/x/tools v0.34.0 // indirect\n-\tgolang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect\n-\tgoogle.golang.org/api v0.206.0 // indirect\n-\tgoogle.golang.org/appengine v1.6.8 // indirect\n-\tgoogle.golang.org/genproto v0.0.0-20241113202542-65e8d215514f // indirect\n-\tgoogle.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect\n-\tgoogle.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect\n-\tgoogle.golang.org/grpc v1.67.1 // indirect\n \tgoogle.golang.org/protobuf v1.36.1 // indirect\n \tgopkg.in/yaml.v3 v3.0.1 // indirect\n \tk8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect\n \tsigs.k8s.io/kustomize/kyaml v0.20.0 // indirect\n-\tsigs.k8s.io/yaml v1.5.0 // indirect\n )\n---\n\n\n---\n\nChoice B:\ntest/integration/go.mod\n@@ -7,37 +7,24 @@ toolchain go1.24.6\n require (\n \tgithub.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.17.8\n \tgithub.com/gruntwork-io/terratest v0.50.0\n-\tgithub.com/stretchr/testify v1.11.0\n+\tgithub.com/stretchr/testify v1.11.1\n \tgithub.com/tidwall/gjson v1.18.0\n )\n \n require (\n-\tcloud.google.com/go v0.116.0 // indirect\n-\tcloud.google.com/go/compute v1.28.3 // indirect\n-\tcloud.google.com/go/compute/metadata v0.5.2 // indirect\n-\tcloud.google.com/go/iam v1.2.2 // indirect\n-\tcloud.google.com/go/storage v1.47.0 // indirect\n \tgithub.com/agext/levenshtein v1.2.3 // indirect\n \tgithub.com/alexflint/go-filemutex v1.3.0 // indirect\n \tgithub.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect\n-\tgithub.com/aws/aws-sdk-go v1.45.5 // indirect\n \tgithub.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect\n \tgithub.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect\n \tgithub.com/go-errors/errors v1.5.0 // indirect\n \tgithub.com/go-openapi/jsonpointer v0.21.0 // indirect\n \tgithub.com/go-openapi/jsonreference v0.20.2 // indirect\n \tgithub.com/go-openapi/swag v0.23.0 // indirect\n-\tgithub.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect\n-\tgithub.com/golang/protobuf v1.5.4 // indirect\n \tgithub.com/google/gnostic-models v0.6.9 // indirect\n \tgithub.com/google/go-cmp v0.7.0 // indirect\n-\tgithub.com/google/s2a-go v0.1.8 // indirect\n-\tgithub.com/google/uuid v1.6.0 // indirect\n-\tgithub.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect\n-\tgithub.com/googleapis/gax-go/v2 v2.14.0 // indirect\n \tgithub.com/hashicorp/errwrap v1.1.0 // indirect\n \tgithub.com/hashicorp/go-cleanhttp v0.5.2 // indirect\n-\tgithub.com/hashicorp/go-getter v1.7.9 // indirect\n \tgithub.com/hashicorp/go-getter/v2 v2.2.3 // indirect\n \tgithub.com/hashicorp/go-multierror v1.1.1 // indirect\n \tgithub.com/hashicorp/go-safetemp v1.0.0 // indirect\n@@ -47,7 +34,6 @@ require (\n \tgithub.com/hashicorp/terraform-config-inspect v0.0.0-20250515145901-f4c50e64fd6d // indirect\n \tgithub.com/hashicorp/terraform-json v0.25.0 // indirect\n \tgithub.com/jinzhu/copier v0.4.0 // indirect\n-\tgithub.com/jmespath/go-jmespath v0.4.0 // indirect\n \tgithub.com/josharian/intern v1.0.0 // indirect\n \tgithub.com/klauspost/compress v1.16.7 // indirect\n \tgithub.com/mailru/easyjson v0.7.7 // indirect\n@@ -63,27 +49,17 @@ require (\n \tgithub.com/tmccombs/hcl2json v0.6.4 // indirect\n \tgithub.com/ulikunitz/xz v0.5.11 // indirect\n \tgithub.com/zclconf/go-cty v1.16.2 // indirect\n-\tgo.opencensus.io v0.24.0 // indirect\n \tgo.yaml.in/yaml/v2 v2.4.2 // indirect\n \tgo.yaml.in/yaml/v3 v3.0.3 // indirect\n \tgolang.org/x/crypto v0.39.0 // indirect\n \tgolang.org/x/mod v0.26.0 // indirect\n \tgolang.org/x/net v0.0.0-20241104194629-dd2ea8efbc28 // indirect\n-\tgolang.org/x/oauth2 v0.27.0 // indirect\n \tgolang.org/x/sync v0.15.0 // indirect\n \tgolang.org/x/sys v0.33.0 // indirect\n \tgolang.org/x/text v0.26.0 // indirect\n \tgolang.org/x/tools v0.34.0 // indirect\n-\tgolang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect\n-\tgoogle.golang.org/api v0.206.0 // indirect\n-\tgoogle.golang.org/appengine v1.6.8 // indirect\n-\tgoogle.golang.org/genproto v0.0.0-20241113202542-65e8d215514f // indirect\n-\tgoogle.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect\n-\tgoogle.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect\n-\tgoogle.golang.org/grpc v1.67.1 // indirect\n \tgoogle.golang.org/protobuf v1.36.1 // indirect\n \tgopkg.in/yaml.v3 v3.0.1 // indirect\n \tk8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect\n \tsigs.k8s.io/kustomize/kyaml v0.20.0 // indirect\n-\tsigs.k8s.io/yaml v1.5.0 // indirect\n )\n---\n\n\n---\n\nChoice C:\ntest/integration/go.mod\n@@ -7,37 +7,24 @@ toolchain go1.24.6\n require (\n \tgithub.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.17.8\n \tgithub.com/gruntwork-io/terratest v0.50.0\n-\tgithub.com/stretchr/testify v1.11.0\n+\tgithub.com/stretchr/testify v1.11.1\n \tgithub.com/tidwall/gjson v1.18.0\n )\n \n require (\n-\tcloud.google.com/go v0.116.0 // indirect\n-\tcloud.google.com/go/compute v1.28.3 // indirect\n-\tcloud.google.com/go/compute/metadata v0.5.2 // indirect\n-\tcloud.google.com/go/iam v1.2.2 // indirect\n-\tcloud.google.com/go/storage v1.47.0 // indirect\n \tgithub.com/agext/levenshtein v1.2.3 // indirect\n \tgithub.com/alexflint/go-filemutex v1.3.0 // indirect\n \tgithub.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect\n-\tgithub.com/aws/aws-sdk-go v1.45.5 // indirect\n \tgithub.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect\n \tgithub.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect\n \tgithub.com/go-errors/errors v1.5.0 // indirect\n \tgithub.com/go-openapi/jsonpointer v0.21.0 // indirect\n \tgithub.com/go-openapi/jsonreference v0.20.2 // indirect\n \tgithub.com/go-openapi/swag v0.23.0 // indirect\n-\tgithub.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect\n-\tgithub.com/golang/protobuf v1.5.4 // indirect\n \tgithub.com/google/gnostic-models v0.6.9 // indirect\n \tgithub.com/google/go-cmp v0.7.0 // indirect\n-\tgithub.com/google/s2a-go v0.1.8 // indirect\n-\tgithub.com/google/uuid v1.6.0 // indirect\n-\tgithub.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect\n-\tgithub.com/googleapis/gax-go/v2 v2.14.0 // indirect\n \tgithub.com/hashicorp/errwrap v1.1.0 // indirect\n \tgithub.com/hashicorp/go-cleanhttp v0.5.2 // indirect\n-\tgithub.com/hashicorp/go-getter v1.7.9 // indirect\n // v2.2.3 // indirect\n \tgithub.com/hashicorp/go-multierror v1.1.1 // indirect\n \tgithub.com/hashicorp/go-safetemp v1.0.0 // indirect\n@@ -47,7 +34,6 @@ require (\n \tgithub.com/hashicorp/terraform-config-inspect v0.0.0-20250515145901-f4c50e64fd6d // indirect\n \tgithub.com/hashicorp/terraform-json v0.25.0 // indirect\n \tgithub.com/jinzhu/copier v0.4.0 // indirect\n-\tgithub.com/jmespath/go-jmespath v0.4.0 // indirect\n \tgithub.com/josharian/intern v1.0.0 // indirect\n \tgithub.com/klauspost/compress v1.16.7 // indirect\n \tgithub.com/mailru/easyjson v0.7.7 // indirect\n@@ -63,27 +49,17 @@ require (\n \tgithub.com/tmccombs/hcl2json v0.6.4 // indirect\n \tgithub.com/ulikunitz/xz v0.5.11 // indirect\n \tgithub.com/zclconf/go-cty v1.16.2 // indirect\n-\tgo.opencensus.io v0.24.0 // indirect\n \tgo.yaml.in/yaml/v2 v2.4.2 // indirect\n \tgo.yaml.in/yaml/v3 v3.0.3 // indirect\n \tgolang.org/x/crypto v0.39.0 // indirect\n \tgolang.org/x/mod v0.26.0 // indirect\n \tgolang.org/x/net v0.41.0 // indirect\n-\tgolang.org/x/oauth2 v0.27.0 // indirect\n \tgolang.org/x/sync v0.15.0 // indirect\n \tgolang.org/x/sys v0.33.0 // indirect\n \tgolang.org/x/text v0.26.0 // indirect\n \tgolang.org/x/tools v0.34.0 // indirect\n-\tgolang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect\n-\tgoogle.golang.org/api v0.206.0 // indirect\n-\tgoogle.golang.org/appengine v1.6.8 // indirect\n-\tgoogle.golang.org/genproto v0.0.0-20241113202542-65e8d215514f // indirect\n-\tgoogle.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect\n-\tgoogle.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect\n-\tgoogle.golang.org/grpc v1.67.1 // indirect\n \tgoogle.golang.org/protobuf v1.36.1 // indirect\n \tgopkg.in/yaml.v3 v3.0.1 // indirect\n \tk8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect\n \tsigs.k8s.io/kustomize/kyaml v0.20.0 // indirect\n-\tsigs.k8s.io/yaml v1.5.0 // indirect\n )\n---\n\n\n---\n\nChoice D:\ntest/integration/go.mod\n@@ -7,37 +7,24 @@ toolchain go1.24.6\n require (\n \tgithub.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.17.8\n \tgithub.com/gruntwork-io/terratest v0.50.0\n-\tgithub.com/stretchr/testify v1.11.0\n+\tgithub.com/stretchr/testify v1.11.1\n \tgithub.com/tidwall/gjson v1.18.0\n )\n \n require (\n-\tcloud.google.com/go v0.116.0 // indirect\n-\tcloud.google.com/go/compute v1.28.3 // indirect\n-\tcloud.google.com/go/compute/metadata v0.5.2 // indirect\n-\tcloud.google.com/go/iam v1.2.2 // indirect\n-\tcloud.google.com/go/storage v1.47.0 // indirect\n \tgithub.com/agext/levenshtein v1.2.3 // indirect\n \tgithub.com/alexflint/go-filemutex v1.3.0 // indirect\n \tgithub.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect\n-\tgithub.com/aws/aws-sdk-go v1.45.5 // indirect\n \tgithub.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect\n \tgithub.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect\n \tgithub.com/go-errors/errors v1.5.0 // indirect\n \tgithub.com/go-openapi/jsonpointer v0.21.0 // indirect\n \tgithub.com/go-openapi/jsonreference v0.20.2 // indirect\n \tgithub.com/go-openapi/swag v0.23.0 // indirect\n-\tgithub.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect\n-\tgithub.com/golang/protobuf v1.5.4 // indirect\n \tgithub.com/google/gnostic-models v0.6.9 // indirect\n \tgithub.com/google/go-cmp v0.7.0 indirect\n-\tgolang.org/x/xerrors indirect\n-\tgithub.com/google/s2a-go v0.1.8 // indirect\n-\tgithub.com/google/uuid v1.6.0 // indirect\n-\tgithub.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect\n-\tgithub.com/googleapis/gax-go/v2 v2.14.0 // indirect\n \tgithub.com/hashicorp/errwrap v1.1.0 // indirect\n \tgithub.com/hashicorp/go-cleanhttp v0.5.2 // indirect\n-\tgithub.com/hashicorp/go-getter v1.7.9 // indirect\n \tgithub.com/hashicorp/go-getter/v2 v2.2.3 // indirect\n \tgithub.com/hashicorp/go-multierror v1.1.1 // indirect\n \tgithub.com/hashicorp/go-safetemp v1.0.0 // indirect\n@@ -47,7 +34,6 @@ require (\n \tgithub.com/hashicorp/terraform-config-inspect v0.0.0-20250515145901-f4c50e64fd6d // indirect\n \tgithub.com/hashicorp/terraform-json v0.25.0 // indirect\n \tgithub.com/jinzhu/copier v0.4.0 // indirect\n-\tgithub.com/jmespath/go-jmespath v0.4.0 // indirect\n \tgithub.com/josharian/intern v1.0.0 // indirect\n \tgithub.com/klauspost/compress v1.16.7 // indirect\n \tgithub.com/mailru/easyjson v0.7.7 // indirect\n@@ -63,27 +49,17 @@ require (\n \tgithub.com/tmccombs/hcl2json v0.6.4 // indirect\n \tgithub.com/ulikunitz/xz v0.5.11 // indirect\n \tgithub.com/zclconf/go-cty v1.16.2 // indirect\n-\tgo.opencensus.io v0.24.0 // indirect\n \tgo.yaml.in/yaml/v2 v2.4.2 // indirect\n \tgo.yaml.in/yaml/v3 v3.0.3 // indirect\n \tgolang.org/x/crypto v0.39.0 // indirect\n \tgolang.org/x/mod v0.26.0 // indirect\n \tgolang.org/x/net v0.41.0 // indirect\n-\tgolang.org/x/oauth2 v0.27.0 // indirect\n \tgolang.org/x/sync v0.15.0 // indirect\n \tgolang.org/x/sys v0.33.0 // indirect\n \tgolang.org/x/text v0.26.0 // indirect\n \tgolang.org/x/tools v0.34.0 // indirect\n-\tgolang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect\n-\tgoogle.golang.org/api v0.206.0 // indirect\n-\tgoogle.golang.org/appengine v1.6.8 // indirect\n-\tgoogle.golang.org/genproto v0.0.0-20241113202542-65e8d215514f // indirect\n-\tgoogle.golang.org/genproto/googleapis/api v0.0.0-20241104194629-dd2ea8efbc28 // indirect\n-\tgoogle.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect\n-\tgoogle.golang.org/grpc v1.67.1 // indirect\n \tgoogle.golang.org/protobuf v1.36.1 // indirect\n \tgopkg.in/yaml.v3 v3.0.1 // indirect\n \tk8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect\n \tsigs.k8s.io/kustomize/kyaml v0.20.0 // indirect\n-\tsigs.k8s.io/yaml v1.5.0 // indirect\n )\n---\n\n\n---\n"
}
] |
A
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nfix #632 \n\n---\n\nChoice A:\nmodules/network-connectivity-center/README.md\n@@ -23,12 +23,12 @@ An extensive example that also contains the creation and attachment of multiple\n | Name | Description | Type | Default | Required |\n |------|-------------|------|---------|:--------:|\n | export\\_psc | Whether Private Service Connect transitivity is enabled for the hub | `bool` | `false` | no |\n-| hybrid\\_spokes | VLAN attachments and VPN Tunnels that are associated with the spoke. Type must be one of `interconnect` and `vpn`. | <pre>map(object({<br> location = string<br> uris = set(string)<br> site_to_site_data_transfer = optional(bool, false)<br> type = string<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n+| hybrid\\_spokes | VLAN attachments and VPN Tunnels that are associated with the spoke. Type must be one of `interconnect` and `vpn`. | <pre>map(object({<br> location = string<br> uris = set(string)<br> site_to_site_data_transfer = optional(bool, false)<br> type = string<br> description = optional(string)<br> labels = optional(map(string))<br> include_import_ranges = optional(list(string), [])<br> }))</pre> | `{}` | no |\n | ncc\\_hub\\_description | The description of the NCC Hub | `string` | `null` | no |\n | ncc\\_hub\\_labels | These labels will be added the NCC hub | `map(string)` | `{}` | no |\n | ncc\\_hub\\_name | The Name of the NCC Hub | `string` | n/a | yes |\n | project\\_id | Project ID of the project that holds the network. | `string` | n/a | yes |\n-| router\\_appliance\\_spokes | Router appliance instances that are associated with the spoke. | <pre>map(object({<br> instances = set(object({<br> virtual_machine = string<br> ip_address = string<br> }))<br> location = string<br> site_to_site_data_transfer = optional(bool, false)<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n+| router\\_appliance\\_spokes | Router appliance instances that are associated with the spoke. | <pre>map(object({<br> instances = set(object({<br> virtual_machine = string<br> ip_address = string<br> }))<br> location = string<br> site_to_site_data_transfer = optional(bool, false)<br> description = optional(string)<br> labels = optional(map(string))<br> include_import_ranges = optional(list(string), [])<br> }))</pre> | `{}` | no |\n | spoke\\_labels | These labels will be added to all NCC spokes | `map(string)` | `{}` | no |\n | vpc\\_spokes | VPC network that is associated with the spoke | <pre>map(object({<br> uri = string<br> exclude_export_ranges = optional(set(string), [])<br> include_export_ranges = optional(set(string), [])<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n \n---\nmodules/network-connectivity-center/main.tf\n@@ -68,6 +68,7 @@ resource \"google_network_connectivity_spoke\" \"hybrid_spoke\" {\n content {\n uris = each.value.uris\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n }\n }\n \n@@ -76,6 +77,7 @@ resource \"google_network_connectivity_spoke\" \"hybrid_spoke\" {\n content {\n uris = each.value.uris\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n }\n }\n }\n@@ -99,6 +101,7 @@ resource \"google_network_connectivity_spoke\" \"router_appliance_spoke\" {\n }\n }\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n \n }\n }\n---\nmodules/network-connectivity-center/variables.tf\n@@ -62,6 +62,7 @@ variable \"hybrid_spokes\" {\n type = string\n description = optional(string)\n labels = optional(map(string))\n+ include_import_ranges = optional(list(string), [])\n }))\n default = {}\n }\n@@ -77,6 +78,7 @@ variable \"router_appliance_spokes\" {\n site_to_site_data_transfer = optional(bool, false)\n description = optional(string)\n labels = optional(map(string))\n+ include_import_ranges = optional(list(string), [])\n }))\n default = {}\n }\n---\nmodules/network-connectivity-center/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.2, < 8\"\n+ version = \">= 6.49, < 8\"\n \n }\n }\n---\n\n\n---\n\nChoice B:\nmodules/network-connectivity-center/README.md\n@@ -23,12 +23,12 @@ An extensive example that also contains the creation and attachment of multiple\n | Name | Description | Type | Default | Required |\n |------|-------------|------|---------|:--------:|\n | export\\_psc | Whether Private Service Connect transitivity is enabled for the hub | `bool` | `false` | no |\n-| hybrid\\_spokes | VLAN attachments and VPN Tunnels that are associated with the spoke. Type must be one of `interconnect` and `vpn`. | <pre>map(object({<br> location = string<br> uris = set(string)<br> site_to_site_data_transfer = optional(bool, false)<br> type = string<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n+| hybrid\\_spokes | VLAN attachments and VPN Tunnels that are associated with the spoke. Type must be one of `interconnect` and `vpn`. | <pre>map(object({<br> location = string<br> uris = set(string)<br> site_to_site_data_transfer = optional(bool, false)<br> type = string<br> description = optional(string)<br> labels = optional(map(string))<br> include_import_ranges = optional(list(string), [])<br> }))</pre> | `{}` | no |\n | ncc\\_hub\\_description | The description of the NCC Hub | `string` | `null` | no |\n | ncc\\_hub\\_labels | These labels will be added the NCC hub | `map(string)` | `{}` | no |\n | ncc\\_hub\\_name | The Name of the NCC Hub | `string` | n/a | yes |\n | project\\_id | Project ID of the project that holds the network. | `string` | n/a | yes |\n-| router\\_appliance\\_spokes | Router appliance instances that are associated with the spoke. | <pre>map(object({<br> instances = set(object({<br> virtual_machine = string<br> ip_address = string<br> }))<br> location = string<br> site_to_site_data_transfer = optional(bool, false)<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n+| router\\_appliance\\_spokes | Router appliance instances that are associated with the spoke. | <pre>map(object({<br> instances = set(object({<br> virtual_machine = string<br> ip_address = string<br> }))<br> location = string<br> site_to_site_data_transfer = optional(bool, false)<br> description = optional(string)<br> labels = optional(map(string))<br> include_import_ranges = optional(list(string), [])<br> }))</pre> | `{}` | no |\n | spoke\\_labels | These labels will be added to all NCC spokes | `map(string)` | `{}` | no |\n | vpc\\_spokes | VPC network that is associated with the spoke | <pre>map(object({<br> uri = string<br> exclude_export_ranges = optional(set(string), [])<br> include_export_ranges = \n [])<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n \n---\nmodules/network-connectivity-center/main.tf\n@@ -68,6 +68,7 @@ resource \"google_network_connectivity_spoke\" \"hybrid_spoke\" {\n content {\n uris = each.value.uris\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n }\n }\n \n@@ -76,6 +77,7 @@ resource \"google_network_connectivity_spoke\" \"hybrid_spoke\" {\n content {\n uris = each.value.uris\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n }\n }\n }\n@@ -99,6 +101,7 @@ resource \"google_network_connectivity_spoke\" \"router_appliance_spoke\" {\n }\n }\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n \n }\n }\n---\nmodules/network-connectivity-center/variables.tf\n@@ -62,6 +62,7 @@ variable \"hybrid_spokes\" {\n type = string\n description = optional(string)\n labels = optional(map(string))\n+ include_import_ranges = optional(list(string), [])\n }))\n default = {}\n }\n@@ -77,6 +78,7 @@ variable \"router_appliance_spokes\" {\n site_to_site_data_transfer = optional(bool, false)\n description = optional(string)\n labels = optional(map(string))\n+ include_import_ranges = optional(list(string), [])\n }))\n default = {}\n }\n---\nmodules/network-connectivity-center/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.2, < 8\"\n+ version = \">= 6.49, < 8\"\n \n }\n }\n---\n\n\n---\n\nChoice C:\nmodules/network-connectivity-center/README.md\n@@ -23,12 +23,12 @@ An extensive example that also contains the creation and attachment of multiple\n | Name | Description | Type | Default | Required |\n |------|-------------|------|---------|:--------:|\n | export\\_psc | Whether Private Service Connect transitivity is enabled for the hub | `bool` | `false` | no |\n-| hybrid\\_spokes | VLAN attachments and VPN Tunnels that are associated with the spoke. Type must be one of `interconnect` and `vpn`. | <pre>map(object({<br> location = string<br> uris = set(string)<br> site_to_site_data_transfer = optional(bool, false)<br> type = string<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n+| hybrid\\_spokes | VLAN attachments and VPN Tunnels that are associated with the spoke. Type must be one of `interconnect` and `vpn`. | <pre>map(object({<br> location = string<br> uris = set(string)<br> site_to_site_data_transfer = optional(bool, false)<br> type = string<br> description = optional(string)<br> labels = optional(map(string))<br> include_import_ranges = optional(list(string), [])<br> }))</pre> | `{}` | no |\n | ncc\\_hub\\_description | The description of the NCC Hub | `string` | `null` | no |\n | ncc\\_hub\\_labels | These labels will be added the NCC hub | `map(string)` | `{}` | no |\n | ncc\\_hub\\_name | The Name of the NCC Hub | `string` | n/a | yes |\n | project\\_id | Project ID of the project that holds the network. | `string` | n/a | yes |\n-| router\\_appliance\\_spokes | Router appliance instances that are associated with the spoke. | <pre>map(object({<br> instances = set(object({<br> virtual_machine = string<br> ip_address = string<br> }))<br> location = string<br> site_to_site_data_transfer = optional(bool, false)<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n+| router\\_appliance\\_spokes | Router appliance instances that are associated with the spoke. | <pre>map(object({<br> instances = set(object({<br> virtual_machine = string<br> ip_address = string<br> }))<br> location = string<br> site_to_site_data_transfer = optional(bool, false)<br> description = optional(string)<br> labels = optional(map(string))<br> include_import_ranges = optional(list(string), [])<br> }))</pre> | `{}` | no |\n | spoke\\_labels | These labels will be added to all NCC spokes | `map(string)` | `{}` | no |\n | vpc\\_spokes | VPC network that is associated with the spoke | <pre>map(object({<br> uri = string<br> exclude_export_ranges = optional(set(string), [])<br> include_export_ranges = optional(set(string), [])<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n \n---\nmodules/network-connectivity-center/main.tf\n@@ -68,6 +68,7 @@ resource \"google_network_connectivity_spoke\" \"hybrid_spoke\" {\n content {\n uris = each.value.uris\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n }\n }\n \n@@ -76,6 +77,7 @@ resource \"google_network_connectivity_spoke\" \"hybrid_spoke\" {\n content {\n uris = each.value.uris\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n }\n }\n }\n@@ -99,6 +101,7 @@ resource \"google_network_connectivity_spoke\" \"router_appliance_spoke\" {\n }\n }\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n \n }\n }\n---\nmodules/network-connectivity-center/variables.tf\n@@ -62,6 +62,7 @@ variable \"hybrid_spokes\" {\n type = string\n description = optional(string)\n labels = optional(map(string))\n+ include_import_ranges = optional(list(string), [])\n }))\n default = {}\n }\n@@ -77,6 +78,7 @@ variable \"router_appliance_spokes\" {\n site_to_site_data_transfer = optional(bool, false)\n description = optional(string)\n labels = optional(map(string))\n+ include_import_ranges = optional(list(string), [])\n }))\n default = {}\n }\n---\nmodules/network-connectivity-center/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.2, < 8\"\n+ version = \">= 6.49, < 8\"\n \n }\n }\n---\n\n\n---\n\nChoice D:\nmodules/network-connectivity-center/README.md\n@@ -23,12 +23,12 @@ An extensive example that also contains the creation and attachment of multiple\n | Name | Description | Type | Default | Required |\n |------|-------------|------|---------|:--------:|\n | export\\_psc | Whether Private Service Connect transitivity is enabled for the hub | `bool` | `false` | no |\n-| hybrid\\_spokes | VLAN attachments and VPN Tunnels that are associated with the spoke. Type must be one of `interconnect` and `vpn`. | <pre>map(object({<br> location = string<br> uris = set(string)<br> site_to_site_data_transfer = optional(bool, false)<br> type = string<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n+| hybrid\\_spokes | VLAN attachments and VPN Tunnels that are associated with the spoke. Type must be one of `interconnect` and `vpn`. | <pre>map(object({<br> location = string<br> uris = set(string)<br> site_to_site_data_transfer = optional(bool, false)<br> type = string<br> description = optional(string)<br> labels = optional(map(string))<br> include_import_ranges = optional(list(string), [])<br> }))</pre> | `{}` | no |\n | ncc\\_hub\\_description | The description of the NCC Hub | `string` | `null` | no |\n | ncc\\_hub\\_labels | These labels will be added the NCC hub | `map(string)` | `{}` | no |\n | ncc\\_hub\\_name | The Name of the NCC Hub | `string` | n/a | yes |\n | project\\_id | Project ID of the project that holds the network. | `string` | n/a | yes |\n-| router\\_appliance\\_spokes | Router appliance instances that are associated with the spoke. | <pre>map(object({<br> instances = set(object({<br> virtual_machine = string<br> ip_address = string<br> }))<br> location = string<br> site_to_site_data_transfer = optional(bool, false)<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n+| router\\_appliance\\_spokes | Router appliance instances that are associated with the spoke. | <pre>map(object({<br> instances = set(object({<br> virtual_machine = string<br> ip_address = string<br> }))<br> location = string<br> site_to_site_data_transfer = optional(bool, false)<br> description = optional(string)<br> labels = optional(map(string))<br> include_import_ranges = optional(list(string), [])<br> }))</pre> | `{}` | no |\n | spoke\\_labels | These labels will be added to all NCC spokes | `map(string)` | `{}` | no |\n | vpc\\_spokes | VPC network that is associated with the spoke | <pre>map(object({<br> uri = string<br> exclude_export_ranges = optional(set(string), [])<br> include_export_ranges = optional(set(string), [])<br> description = optional(string)<br> labels = optional(map(string))<br> }))</pre> | `{}` | no |\n \n---\nmodules/network-connectivity-center/main.tf\n@@ -68,6 +68,7 @@ resource \"google_network_connectivity_spoke\" \"hybrid_spoke\" {\n content {\n uris = each.value.uris\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n }\n }\n \n@@ -76,6 +77,7 @@ resource \"google_network_connectivity_spoke\" \"hybrid_spoke\" {\n content {\n uris = each.value.uris\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n }\n }\n }\n@@ -99,6 +101,7 @@ resource \"google_network_connectivity_spoke\" \"router_appliance_spoke\" {\n }\n }\n site_to_site_data_transfer = each.value.site_to_site_data_transfer\n+ include_import_ranges = each.value.include_import_ranges\n \n }\n }\n---\nmodules/network-connectivity-center/variables.tf\n@@ -62,6 +62,7 @@ variable \"hybrid_spokes\" {\n type = string\n description = optional(string)\n labels = optional(map(string))\n+ include_import_ranges = optional(list(string), [])\n }))\n default = {}\n }\n@@ -77,6 +78,7 @@ variable \"router_appliance_spokes\" {\n site_to_site_data_transfer = optional(bool, false)\n description = optional(string)\n labels = optional(map(string))\n+ include_import_ranges }\n---\n = optional(list(string), [])\n }))\n default = {}\n }\n---\nmodules/network-connectivity-center/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.2, < 8\"\n+ version = \">= 6.49, < 8\"\n \n }\n }\n---\n\n\n---\n"
}
] |
A
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nThis PR contains the following updates:\n\n| Package | Type | Update | Change | Pending |\n|---|---|---|---|---|\n| [terraform-google-modules/cloud-dns/google](https://registry.terraform.io/modules/terraform-google-modules/cloud-dns/google) ([source](https://redirect.github.com/terraform-google-modules/terraform-google-cloud-dns)) | module | major | `~> 5.0` -> `~> 6.0` | `6.1.0` |\n\n---\n\n### Release Notes\n\n<details>\n<summary>terraform-google-modules/terraform-google-cloud-dns (terraform-google-modules/cloud-dns/google)</summary>\n\n### [`v6.0.0`](https://redirect.github.com/terraform-google-modules/terraform-google-cloud-dns/blob/HEAD/CHANGELOG.md#600-2025-04-29)\n\n[Compare Source](https://redirect.github.com/terraform-google-modules/terraform-google-cloud-dns/compare/v5.3.0...v6.0.0)\n\n##### ⚠ BREAKING CHANGES\n\n- Remove google-beta provider where possible ([#​115](https://redirect.github.com/terraform-google-modules/terraform-google-cloud-dns/issues/115))\n\n##### Bug Fixes\n\n- Remove google-beta provider where possible ([#​115](https://redirect.github.com/terraform-google-modules/terraform-google-cloud-dns/issues/115)) ([b2aef64](https://redirect.github.com/terraform-google-modules/terraform-google-cloud-dns/commit/b2aef64ca4c6431bab273d177c62fcd43e701d97))\n\n</details>\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.\n\n♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR and you won't be reminded about this update again.\n\n---\n\n - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box\n\n---\n\nThis PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/terraform-google-modules/terraform-google-network).\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC43LjEiLCJ1cGRhdGVkSW5WZXIiOiI0MS44Mi43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->\n\n\n---\n\nChoice A:\nmodules/private-service-connect/dns.tf\n@@ -20,7 +20,7 @@\n \n module \"googleapis\" {\n = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}apis\"\n@@ -53,7 +53,7 @@ module \"googleapis\" {\n \n module \"gcr\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}gcr\"\n@@ -86,7 +86,7 @@ module \"gcr\" {\n \n module \"pkg_dev\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}pkg-dev\"\n---\n\n\n---\n\nChoice B:\nmodules/private-service-connect/dns.tf\n@@ -20,7 +20,7 @@\n \n module \"googleapis\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}apis\"\n@@ -53,7 +53,7 @@ module \"googleapis\" {\n \n module \"gcr\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}gcr\"\n@@ -86,7 +86,7 @@ module \"gcr\" {\n \n module \"pkg_dev\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}pkg-dev\"\n---\n\n\n---\n\nChoice C:\nmodules/private-service-connect/dns.tf\n@@ -20,7 +20,7 @@\n \n module \"googleapis\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version \"terraform-google-modules/cloud-dns/google\"\n- = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}apis\"\n@@ -53,7 +53,7 @@ module \"googleapis\" {\n \n module \"gcr\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}gcr\"\n@@ -86,7 +86,7 @@ module \"gcr\" {\n \n module \"pkg_dev\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}pkg-dev\"\n---\n\n\n---\n\nChoice D:\nmodules/private-service-connect/dns.tf\n@@ -20,7 +20,7 @@\n \n module \"googleapis\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}apis\"\n@@ -53,7 +53,7 @@ module \"googleapis\" {\n \n module \"gcr\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}gcr\"\n@@ -86,7 +86,7 @@ module \"gcr\" {\n \n module \"pkg_dev\" {\n source = \"terraform-google-modules/cloud-dns/google\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n project_id = var.project_id\n type = \"private\"\n name = \"${local.dns_code}pkg-dev\"\n---\n\n\n---\n"
}
] |
B
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nYou can trigger a rebase of this PR by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\nYou can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/terraform-google-modules/terraform-google-network/network/alerts).\n\n</details>\n\n> **Note**\n> Automatic rebases have been disabled on this pull request as it has been open for over 30 days.\n\n---\n\nChoice A:\ntest/integration/go.mod\n@@ -1,8 +1,6 @@\n module github.com/terraform-google-modules/terraform-google-network/test/integration\n \n-go 1.22.0\n-\n-toolchain go1.22.8\n+go 1.23.0\n \n require (\n \tgithub.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.16.2\n@@ -13,8 +11,7 @@ require (\n \n require (\n \tcloud.google.com/go v0.110.7 // indirect\n-\tcloud.google.com/go/compute v1.23.0 // indirect\n-\tcloud.google.com/go/compute/metadata v0.2.3 // indirect\n+\tcloud.google.com/go/compute/metadata v0.3.0 // indirect\n \tcloud.google.com/go/iam v1.1.2 // indirect\n \tcloud.google.com/go/storage v1.33.0 // indirect\n \tgithub.com/agext/levenshtein v1.2.3 // indirect\n@@ -65,7 +62,7 @@ require (\n \tgolang.org/x/crypto v0.32.0 // indirect\n \tgolang.org/x/mod v0.21.0 // indirect\n \tgolang.org/x/net v0.34.0 // indirect\n-\tgolang.org/x/oauth2 v0.12.0 // indirect\n+\tgolang.org/x/oauth2 v0.27.0 // indirect\n \tgolang.org/x/sync v0.10.0 // indirect\n \tgolang.org/x/sys v0.29.0 // indirect\n \tgolang.org/x/text v0.21.0 // indirect\n---\ntest/integration/go.sum\n@@ -174,13 +174,12 @@ cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63\n cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs=\n cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU=\n cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE=\n-cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY=\n-cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM=\n cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU=\n cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=\n cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM=\n-cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=\n cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=\n+cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc=\n+cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=\n cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY=\n cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck=\n cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w=\n@@ -1153,8 +1152,8 @@ golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec\n golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I=\n golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw=\n golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4=\n-golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=\n-golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4=\n+golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=\n+golang.org/x/oauth2 // h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=\n golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n---\n\n\n---\n\nChoice B:\ntest/integration/go.mod\n@@ -1,8 +1,6 @@\n module github.com/terraform-google-modules/terraform-google-network/test/integration\n \n-go 1.22.0\n-\n-toolchain go1.22.8\n+go 1.23.0\n \n require (\n \tgithub.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.16.2\n@@ -13,8 +11,7 @@ require (\n \n require (\n \tcloud.google.com/go v0.110.7 // indirect\n-\tcloud.google.com/go/compute v1.23.0 // indirect\n-\tcloud.google.com/go/compute/metadata v0.2.3 // indirect\n+\tcloud.google.com/go/compute/metadata v0.3.0 // indirect\n \tcloud.google.com/go/iam v1.1.2 // indirect\n \tcloud.google.com/go/storage v1.33.0 // indirect\n \tgithub.com/agext/levenshtein v1.2.3 // indirect\n@@ -65,7 +62,7 @@ require (\n \tgolang.org/x/crypto v0.32.0 // indirect\n \tgolang.org/x/mod v0.21.0 // indirect\n \tgolang.org/x/net v0.34.0 // indirect\n-\tgolang.org/x/oauth2 v0.12.0 // indirect\n+\tgolang.org/x/oauth2 v0.27.0 // indirect\n \tgolang.org/x/sync v0.10.0 // indirect\n \tgolang.org/x/sys v0.29.0 // indirect\n \tgolang.org/x/text v0.21.0 // indirect\n---\ntest/integration/go.sum\n@@ -174,13 +174,12 @@ cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63\n cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs=\n cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU=\n cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE=\n-cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY=\n-cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM=\n cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU=\n cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=\n cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM=\n-cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=\n cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=\n+cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc=\n+cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=\n cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY=\n cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck=\n cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w=\n@@ -1153,8 +1152,8 @@ golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec\n golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I=\n golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw=\n golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4=\n-golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=\n-golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4=\n+golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=\n+golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=\n golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n---\n\n\n---\n\nChoice C:\ntest/integration/go.mod\n@@ -1,8 +1,6 @@\n module github.com/terraform-google-modules/terraform-google-network/test/integration\n \n-go 1.22.0\n-\n-toolchain go1.22.8\n+go 1.23.0\n \n require (\n \tgithub.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.16.2\n@@ -13,8 +11,7 @@ require (\n \n require (\n \tcloud.google.com/go v0.110.7 // indirect\n-\tcloud.google.com/go/compute v1.23.0 // indirect\n-\tcloud.google.com/go/compute/metadata v0.2.3 // indirect\n+\tcloud.google.com/go/compute/metadata v0.3.0 // indirect\n \tcloud.google.com/go/iam v1.1.2 // indirect\n \tcloud.google.com/go/storage v1.33.0 // indirect\n \tgithub.com/agext/levenshtein v1.2.3 // indirect\n@@ -65,7 +62,7 @@ require (\n \tgolang.org/x/crypto v0.32.0 // indirect\n \tgolang.org/x/mod v0.21.0 // indirect\n \tgolang.org/x/net v0.34.0 // indirect\n-\tgolang.org/x/oauth2 v0.12.0 // indirect\n+\tgolang.org/x/oauth2 v0.27.0 // indirect\n \tgolang.org/x/sync v0.10.0 // indirect\n \tgolang.org/x/sys v0.29.0 // indirect\n \tgolang.org/x/text v0.21.0 // indirect\n---\ntest/integration/go.sum\n@@ -174,13 +174,12 @@ cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63\n cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs=\n cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU=\n cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE=\n-cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY=\n-cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM=\n cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU=\n cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=\n cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM=\n-cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=\n cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=\n+cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc=\n+cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=\n cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY=\n cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck=\n cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w=\n@@ -1153,8 +1152,8 @@ golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec\n golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I=\n golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw=\n golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4=\n-golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=\n-golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4=\n+golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=\n+golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=\n golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n---\n\n\n---\n\nChoice D:\ntest/integration/go.mod\n@@ -1,8 +1,6 @@\n module github.com/terraform-google-modules/terraform-google-network/test/integration\n \n-go 1.22.0\n-\n-toolchain go1.22.8\n+go h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n---\n \n require (\n \tgithub.com/GoogleCloudPlatform/cloud-foundation-toolkit/infra/blueprint-test v0.16.2\n@@ -13,8 +11,7 @@ require (\n \n require (\n \tcloud.google.com/go v0.110.7 // indirect\n-\tcloud.google.com/go/compute v1.23.0 // indirect\n-\tcloud.google.com/go/compute/metadata v0.2.3 // indirect\n+\tcloud.google.com/go/compute/metadata v0.3.0 // indirect\n \tcloud.google.com/go/iam v1.1.2 // indirect\n \tcloud.google.com/go/storage v1.33.0 // indirect\n \tgithub.com/agext/levenshtein v1.2.3 // indirect\n@@ -65,7 +62,7 @@ require (\n \tgolang.org/x/crypto v0.32.0 // indirect\n \tgolang.org/x/mod v0.21.0 // indirect\n \tgolang.org/x/net v0.34.0 // indirect\n-\tgolang.org/x/oauth2 v0.12.0 // indirect\n+\tgolang.org/x/oauth2 v0.27.0 // indirect\n \tgolang.org/x/sync v0.10.0 // indirect\n \tgolang.org/x/sys v0.29.0 // indirect\n \tgolang.org/x/text v0.21.0 // indirect\n---\ntest/integration/go.sum\n@@ -174,13 +174,12 @@ cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63\n cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs=\n cloud.google.com/go/compute v1.19.0/go.mod h1:rikpw2y+UMidAe9tISo04EHNOIf42RLYF/q8Bs93scU=\n cloud.google.com/go/compute v1.19.1/go.mod h1:6ylj3a05WF8leseCdIf77NK0g1ey+nj5IKd5/kvShxE=\n-cloud.google.com/go/compute v1.23.0 h1:tP41Zoavr8ptEqaW6j+LQOnyBBhO7OkOMAGrgLopTwY=\n-cloud.google.com/go/compute v1.23.0/go.mod h1:4tCnrn48xsqlwSAiLf1HXMQk8CONslYbdiEZc9FEIbM=\n cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU=\n cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=\n cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM=\n-cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=\n cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=\n+cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc=\n+cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=\n cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY=\n cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck=\n cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w=\n@@ -1153,8 +1152,8 @@ golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec\n golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I=\n golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw=\n golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4=\n-golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=\n-golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4=\n+golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=\n+golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=\n golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=\n---\n\n\n---\n"
}
] |
B
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nThis PR contains the following updates:\n\n| Package | Type | Update | Change |\n|---|---|---|---|\n| [terraform-google-modules/vpn/google](https://registry.terraform.io/modules/terraform-google-modules/vpn/google) ([source](https://redirect.github.com/terraform-google-modules/terraform-google-vpn)) | module | major | `~> 5.0` -> `~> 6.0` |\n\n---\n\n### Release Notes\n\n<details>\n<summary>terraform-google-modules/terraform-google-vpn (terraform-google-modules/vpn/google)</summary>\n\n### [`v6.0.0`](https://redirect.github.com/terraform-google-modules/terraform-google-vpn/blob/HEAD/CHANGELOG.md#600-2025-06-04)\n\n[Compare Source](https://redirect.github.com/terraform-google-modules/terraform-google-vpn/compare/v5.0.0...v6.0.0)\n\n##### ⚠ BREAKING CHANGES\n\n- **TPG beta:** add support for BGP Route Policy in vpn\\_ha sub-module ([#​188](https://redirect.github.com/terraform-google-modules/terraform-google-vpn/issues/188))\n\n##### Features\n\n- **TPG beta:** add support for BGP Route Policy in vpn\\_ha sub-module ([#​188](https://redirect.github.com/terraform-google-modules/terraform-google-vpn/issues/188)) ([8c44816](https://redirect.github.com/terraform-google-modules/terraform-google-vpn/commit/8c4481669153dd8e16f688742d16293218a32c49))\n\n</details>\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.\n\n♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR and you won't be reminded about this update again.\n\n---\n\n - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box\n\n---\n\nThis PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/terraform-google-modules/terraform-google-network).\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC42Mi4xIiwidXBkYXRlZEluVmVyIjoiNDEuODIuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->\n\n\n---\n\nChoice A:\nexamples/network_connectivity_center/main.tf\n@@ -122,7 +122,7 @@ module \"vpn_spoke_local_vpc\" {\n \n module \"remote_to_local_vpn\" {\n source = \"terraform-google-modules/vpn/google//modules/vpn_ha\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n \n project_id = var.project_id\n region = var.vpn_region\n@@ -160,7 +160,7 @@ module \"remote_to_local_vpn\" {\n \n module \"local_to_remote_vpn\" {\n source = \"terraform-google-modules/vpn/google//modules/vpn_ha\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n \n project_id = var.project_id\n region = var.vpn_region\n---\n\n\n---\n\nChoice B:\nexamples/network_connectivity_center/main.tf\n@@ -122,7 +122,7 @@ module \"vpn_spoke_local_vpc\" {\n \n module \"remote_to_local_vpn\" {\n source = \"terraform-google-modules/vpn/google//modules/vpn_ha\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n \n project_id = var.project_id\n region = var.vpn_region\n@@ -160,7 +160,7 @@ module \"remote_to_local_vpn\" {\n \n module \"local_to_remote_vpn\" {\n source = \"terraform-google-modules/vpn/google//modules/vpn_ha\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n \n project_id = var.project_id\n region = var.vpn_region\n---\n\n\n---\n\nChoice C:\nexamples/network_connectivity_center/main.tf\n@@ -122,7 +122,7 @@ module \"vpn_spoke_local_vpc\" {\n \n module \"remote_to_local_vpn\" {\n source = \"terraform-google-modules/vpn/google//modules/vpn_ha\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n \n project_id = var.project_id\n region = var.vpn_region\n@@ -160,7 +160,7 @@ module \"remote_to_local_vpn\" {\n \n module \"local_to_remote_vpn\" {\n source = \"terraform-google-modules/vpn/google//modules/vpn_ha\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n \n project_id +160,7 = var.project_id\n region = var.vpn_region\n---\n\n\n---\n\nChoice D:\nexamples/network_connectivity_center/main.tf\n@@ -122,7 +122,7 @@ module \"vpn_spoke_local_vpc\" {\n \n module \"remote_to_local_vpn\" {\n source = \"terraform-google-modules/vpn/google//modules/vpn_ha\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n \n project_id = var.project_id\n region = var.vpn_region\n@@ -160,7 +160,7 @@ version \"remote_to_local_vpn\" {\n \n module \"local_to_remote_vpn\" {\n source = \"terraform-google-modules/vpn/google//modules/vpn_ha\"\n- version = \"~> 5.0\"\n+ version = \"~> 6.0\"\n \n project_id = var.project_id\n region = var.vpn_region\n---\n\n\n---\n"
}
] |
A
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nNone\n\n---\n\nChoice A:\nexamples/packet_mirroring/outputs.tf\n@@ -26,6 +26,6 @@ output \"collector_ilb\" {\n }\n \n output value {\n- value = google_compute_packet_mirroring.default.mirrored_resources[0].instances[0].url\n+ value = google_compute_instance.mirror.id\n description = \"The VM instance\"\n }\n---\n\n\n---\n\nChoice B:\nexamples/packet_mirroring/outputs.tf\n@@ -26,6 +26,6 @@ output \"collector_ilb\" {\n }\n \n output \"instance\" = value = google_compute_packet_mirroring.default.mirrored_resources[0].instances[0].url\n+ value = google_compute_instance.mirror.id\n description = \"The VM instance\"\n }\n---\n\n\n---\n\nChoice C:\nexamples/packet_mirroring/outputs.tf\n@@ -26,6 +26,6 @@ output \"collector_ilb\" {\n }\n \n output \"instance\" {\n- value = google_compute_packet_mirroring.default.mirrored_resources[0].instances[0].url\n+ value = google_compute_instance.mirror.id\n description = \"The VM instance\"\n }\n---\n\n\n---\n\nChoice D:\n -26,6 +26,6 @@ output \"collector_ilb\" {\n }\n \n output \"instance\" {\n- value = google_compute_packet_mirroring.default.mirrored_resources[0].instances[0].url\n+ value = google_compute_instance.mirror.id\n description = \"The VM instance\"\n }\n---\n\n\n---\n"
}
] |
C
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nThis PR contains the following updates:\n\n| Package | Type | Update | Change | Pending |\n|---|---|---|---|---|\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 4.64, < 7` -> `>= 4.64, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 6.19, < 7` -> `>= 6.19, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 4.25.0, < 7` -> `>= 4.25.0, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 3.83, < 7` -> `>= 3.83, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 5.8, < 7` -> `>= 5.8, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 4.65, < 7` -> `>= 4.65, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 6.28, < 7` -> `>= 6.28, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 6.2, < 7` -> `>= 6.2, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 6.18, < 7` -> `>= 6.18, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 3.33, < 7` -> `>= 3.33, < 8` | `7.0.1` |\n| [google](https://registry.terraform.io/providers/hashicorp/google) ([source](https://redirect.github.com/hashicorp/terraform-provider-google)) | required_provider | major | `>= 2.12, < 7` -> `>= 2.12, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 4.64, < 7` -> `>= 4.64, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 6.19, < 7` -> `>= 6.19, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 3.62, < 7` -> `>= 3.62, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 2.19, < 7` -> `>= 2.19, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 3.0, < 7` -> `>= 3.0, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 5.8, < 7` -> `>= 5.8, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 4.65, < 7` -> `>= 4.65, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 6.28, < 7` -> `>= 6.28, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 6.18, < 7` -> `>= 6.18, < 8` | `7.0.1` |\n| [google-beta](https://registry.terraform.io/providers/hashicorp/google-beta) ([source](https://redirect.github.com/hashicorp/terraform-provider-google-beta)) | required_provider | major | `>= 2.12, < 7` -> `>= 2.12, < 8` | `7.0.1` |\n\n---\n\n### Release Notes\n\n<details>\n<summary>hashicorp/terraform-provider-google (google)</summary>\n\n### [`v7.0.0`](https://redirect.github.com/hashicorp/terraform-provider-google/compare/v6.49.2...v7.0.0)\n\n[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-google/compare/v6.49.2...v7.0.0)\n\n</details>\n\n<details>\n<summary>hashicorp/terraform-provider-google-beta (google-beta)</summary>\n\n### [`v7.0.0`](https://redirect.github.com/hashicorp/terraform-provider-google-beta/compare/v6.49.2...v7.0.0)\n\n[Compare Source](https://redirect.github.com/hashicorp/terraform-provider-google-beta/compare/v6.49.2...v7.0.0)\n\n</details>\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.\n\n♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR and you won't be reminded about these updates again.\n\n---\n\n - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box\n\n---\n\nThis PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/terraform-google-modules/terraform-google-network).\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi43IiwidXBkYXRlZEluVmVyIjoiNDEuODIuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->\n\n\n---\n\nChoice A:\nexamples/packet_mirroring/outputs.tf\n@@ -26,6 +26,6 @@ output \"collector_ilb\" {\n }\n \n output \"instance\" {\n- value = google_compute_packet_mirroring.default.mirrored_resources[0].instances[0].url\n+ value = google_compute_instance.mirror.id\n description = \"The VM instance\"\n }\n---\nmodules/fabric-net-firewall/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 2.12, < 7\"\n+ version = \">= < 8\"\n }\n }\n \n---\nmodules/fabric-net-svpc-access/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n }\n \n---\nmodules/firewall-rules/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 3.33, < 7\"\n+ version = \">= 3.33, < 8\"\n }\n }\n \n---\nmodules/hierarchical-firewall-policy/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.18, < 7\"\n+ version = \">= 6.18, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.18, < 7\"\n+ version = \">= 6.18, < 8\"\n }\n }\n \n---\nmodules/network-connectivity-center/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.2, < 7\"\n+ version = \">= 6.2, < 8\"\n \n }\n }\n---\nmodules/network-firewall-policy/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.28, < 7\"\n+ version = \">= 6.28, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.28, < 7\"\n+ version = \">= 6.28, < 8\"\n }\n }\n \n---\nmodules/network-peering/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.65, < 7\"\n+ version = \">= 4.65, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 4.65, < 7\"\n+ version = \">= 4.65, < 8\"\n }\n random = {\n source = \"hashicorp/random\"\n---\nmodules/private-service-connect/versions.tf\n@@ -19,11 +19,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 5.8, < 7\"\n+ version = \">= 5.8, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 5.8, < 7\"\n+ version = \">= 5.8, < 8\"\n }\n }\n \n---\nmodules/routes-beta/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 3.0, < 7\"\n+ version = \">= 3.0, < 8\"\n }\n }\n \n---\nmodules/routes/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 3.83, < 7\"\n+ version = \">= 3.83, < 8\"\n }\n }\n \n---\nmodules/subnets-beta/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 2.19, < 7\"\n+ version = \">= 2.19, < 8\"\n }\n }\n \n---\nmodules/subnets/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.25.0, < 7\"\n+ version = \">= 4.25.0, < 8\"\n }\n }\n \n---\nmodules/vpc-serverless-connector-beta/versions.tf\n@@ -19,7 +19,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 3.62, < 7\"\n+ version = \">= 3.62, < 8\"\n }\n }\n \n---\nmodules/vpc/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.19, < 7\"\n+ version = \">= 6.19, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.19, < 7\"\n+ version = \">= 6.19, < 8\"\n }\n }\n \n---\nversions.tf\n@@ -19,11 +19,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.64, < 7\"\n+ version = \">= 4.64, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 4.64, < 7\"\n+ version = \">= 4.64, < 8\"\n }\n }\n \n---\n\n\n---\n\nChoice B:\nexamples/packet_mirroring/outputs.tf\n@@ -26,6 +26,6 @@ output \"collector_ilb\" {\n }\n \n output \"instance\" {\n- value = google_compute_packet_mirroring.default.mirrored_resources[0].instances[0].url\n+ value = google_compute_instance.mirror.id\n description = \"The VM instance\"\n }\n---\nmodules/fabric-net-firewall/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n }\n \n---\nmodules/fabric-net-svpc-access/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n }\n \n---\nmodules/firewall-rules/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 3.33, < 7\"\n+ version = \">= 3.33, < 8\"\n }\n }\n \n---\nmodules/hierarchical-firewall-policy/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.18, < 7\"\n+ version = \">= 6.18, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.18, < 7\"\n+ version = \">= 6.18, < 8\"\n }\n }\n \n---\nmodules/network-connectivity-center/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.2, < 7\"\n+ version = \">= 6.2, < 8\"\n \n }\n }\n---\nmodules/network-firewall-policy/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.28, < 7\"\n+ version = \">= 6.28, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.28, < 7\"\n+ version = \">= 6.28, < 8\"\n }\n }\n \n---\nmodules/network-peering/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.65, < 7\"\n+ version = \">= 4.65, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 4.65, < 7\"\n+ version = \">= 4.65, < 8\"\n }\n random = {\n source = \"hashicorp/random\"\n---\nmodules/private-service-connect/versions.tf\n@@ -19,11 +19,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 5.8, < 7\"\n+ version = \">= 5.8, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 5.8, < 7\"\n+ version = \">= 5.8, < 8\"\n }\n }\n \n---\nmodules/routes-beta/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 3.0, < 7\"\n+ version = \">= 3.0, < 8\"\n }\n }\n \n---\nmodules/routes/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 3.83, < 7\"\n+ version = \">= 3.83, < 8\"\n }\n }\n \n---\nmodules/subnets-beta/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 2.19, < 7\"\n+ version = \">= 2.19, < 8\"\n }\n }\n \n---\nmodules/subnets/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.25.0, < 7\"\n+ version = \">= 4.25.0, < 8\"\n }\n }\n \n---\nmodules/vpc-serverless-connector-beta/versions.tf\n@@ -19,7 +19,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 3.62, < 7\"\n+ version = \">= 3.62, < 8\"\n }\n }\n \n---\nmodules/vpc/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.19, < 7\"\n+ version = \">= 6.19, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.19, < 7\"\n+ version = \">= 6.19, < 8\"\n }\n }\n \n---\nversions.tf\n@@ -19,11 +19,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.64, < 7\"\n+ version = \">= 4.64, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 4.64, < 7\"\n+ version = \">= 4.64, < 8\"\n }\n }\n \n---\n\n\n---\n\nChoice C:\nexamples/packet_mirroring/outputs.tf\n@@ -26,6 +26,6 @@ output \"collector_ilb\" {\n }\n \n output \"instance\" {\n- value = google_compute_packet_mirroring.default.mirrored_resources[0].instances[0].url\n+ value = google_compute_instance.mirror.id\n description = \"The VM instance\"\n }\n---\nmodules/fabric-net-firewall/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n }\n \n---\nmodules/fabric-net-svpc-access/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n }\n \n---\nmodules/firewall-rules/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 3.33, < 7\"\n+ version = \">= 3.33, < 8\"\n }\n }\n \n---\nmodules/hierarchical-firewall-policy/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = version = \">= 6.18, < 7\"\n+ version = \">= 6.18, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.18, < 7\"\n+ version = \">= 6.18, < 8\"\n }\n }\n \n---\nmodules/network-connectivity-center/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.2, < 7\"\n+ version = \">= 6.2, < 8\"\n \n }\n }\n---\nmodules/network-firewall-policy/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.28, < 7\"\n+ version = \">= 6.28, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.28, < 7\"\n+ version = \">= 6.28, < 8\"\n }\n }\n \n---\nmodules/network-peering/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.65, < 7\"\n+ version = \">= 4.65, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 4.65, < 7\"\n+ version = \">= 4.65, < 8\"\n }\n random = {\n source = \"hashicorp/random\"\n---\nmodules/private-service-connect/versions.tf\n@@ -19,11 +19,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 5.8, < 7\"\n+ version = \">= 5.8, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 5.8, < 7\"\n+ version = \">= 5.8, < 8\"\n }\n }\n \n---\nmodules/routes-beta/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 3.0, < 7\"\n+ version = \">= 3.0, < 8\"\n }\n }\n \n---\nmodules/routes/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 3.83, < 7\"\n+ version = \">= 3.83, < 8\"\n }\n }\n \n---\nmodules/subnets-beta/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 2.19, < 7\"\n+ version = \">= 2.19, < 8\"\n }\n }\n \n---\nmodules/subnets/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.25.0, < 7\"\n+ version = \">= 4.25.0, < 8\"\n }\n }\n \n---\nmodules/vpc-serverless-connector-beta/versions.tf\n@@ -19,7 +19,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 3.62, < 7\"\n+ version = \">= 3.62, < 8\"\n }\n }\n \n---\nmodules/vpc/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.19, < 7\"\n+ version = \">= 6.19, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.19, < 7\"\n+ version = \">= 6.19, < 8\"\n }\n }\n \n---\nversions.tf\n@@ -19,11 +19,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.64, < 7\"\n+ version = \">= 4.64, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 4.64, < 7\"\n+ version = \">= 4.64, < 8\"\n }\n }\n \n---\n\n\n---\n\nChoice D:\nexamples/packet_mirroring/outputs.tf\n@@ -26,6 +26,6 @@ output \"collector_ilb\" {\n }\n \n output \"instance\" {\n- value = google_compute_packet_mirroring.default.mirrored_resources[0].instances[0].url\n+ value = google_compute_instance.mirror.id\n description = \"The VM instance\"\n }\n---\nmodules/fabric-net-firewall/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n }\n \n---\nmodules/fabric-net-svpc-access/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 2.12, < 7\"\n+ version = \">= 2.12, < 8\"\n }\n }\n \n---\nmodules/firewall-rules/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 3.33, < 7\"\n+ version = \">= 3.33, < 8\"\n }\n }\n \n---\nmodules/hierarchical-firewall-policy/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.18, < 7\"\n+ version = \">= 6.18, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.18, < 7\"\n+ version = \">= 6.18, < 8\"\n }\n }\n \n---\nmodules/network-connectivity-center/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.2, < 7\"\n+ version = \">= 6.2, < 8\"\n \n }\n }\n---\nmodules/network-firewall-policy/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.28, < 7\"\n+ version = \">= 6.28, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.28, < 7\"\n+ version = \">= 6.28, < 8\"\n }\n }\n \n---\nmodules/network-peering/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.65, < 7\"\n+ version = \">= 4.65, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 4.65, < 7\"\n+ version = \">= 4.65, < 8\"\n }\n random = {\n source = \"hashicorp/random\"\n---\nmodules/private-service-connect/versions.tf\n@@ -19,11 +19,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 5.8, < 7\"\n+ version = \">= 5.8, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 5.8, < 7\"\n+ version = \">= 5.8, < 8\"\n }\n }\n \n---\nmodules/routes-beta/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 3.0, < 7\"\n+ version = \">= 3.0, < 8\"\n }\n }\n \n---\nmodules/routes/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 3.83, < 7\"\n+ version = \">= 3.83, < 8\"\n }\n }\n \n---\nmodules/subnets-beta/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 2.19, < 7\"\n+ version = \">= 2.19, < 8\"\n }\n }\n \n---\nmodules/subnets/versions.tf\n@@ -20,7 +20,7 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.25.0, < 7\"\n+ version = \">= 4.25.0, < 8\"\n }\n }\n \n---\nmodules/vpc-serverless-connector-beta/versions.tf\n@@ -19,7 +19,7 @@ terraform {\n required_providers {\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 3.62, < 7\"\n+ version = \">= 3.62, < 8\"\n }\n }\n \n---\nmodules/vpc/versions.tf\n@@ -20,11 +20,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 6.19, < 7\"\n+ version = \">= 6.19, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 6.19, < 7\"\n+ version = \">= 6.19, < 8\"\n }\n }\n \n---\nversions.tf\n@@ -19,11 +19,11 @@ terraform {\n required_providers {\n google = {\n source = \"hashicorp/google\"\n- version = \">= 4.64, < 7\"\n+ version = \">= 4.64, < 8\"\n }\n google-beta = {\n source = \"hashicorp/google-beta\"\n- version = \">= 4.64, < 7\"\n+ version = \">= 4.64, < 8\"\n }\n }\n \n---\n\n\n---\n"
}
] |
B
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nBumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter) from 1.7.6 to 1.7.9.\n<details>\n<summary>Release notes</summary>\n<p><em>Sourced from <a href=\"https://github.com/hashicorp/go-getter/releases\">github.com/hashicorp/go-getter's releases</a>.</em></p>\n<blockquote>\n<h2>v1.7.9</h2>\n<h2>What's Changed</h2>\n<ul>\n<li>Speed up XZ decompression by 5x with bufio wrapper by <a href=\"https://github.com/vsarunas\"><code>@vsarunas</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/520\">hashicorp/go-getter#520</a></li>\n<li>Fix CI Workflow by <a href=\"https://github.com/mohanmanikanta2299\"><code>@mohanmanikanta2299</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/522\">hashicorp/go-getter#522</a></li>\n<li>test: Remove use of "mitchellh/go-testing-interface" for stdlib by <a href=\"https://github.com/jrasell\"><code>@jrasell</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/523\">hashicorp/go-getter#523</a></li>\n<li>fix: url redact of multiple sshkey by <a href=\"https://github.com/dduzgun-security\"><code>@dduzgun-security</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/528\">hashicorp/go-getter#528</a></li>\n<li>Publish arm binaries by <a href=\"https://github.com/sethvargo\"><code>@sethvargo</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/525\">hashicorp/go-getter#525</a></li>\n<li>fix errcheck lint errors and run it as part of pr checks by <a href=\"https://github.com/abhijeetviswa\"><code>@abhijeetviswa</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/530\">hashicorp/go-getter#530</a></li>\n<li>fix additional lint errors and increase linter scope by <a href=\"https://github.com/abhijeetviswa\"><code>@abhijeetviswa</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/531\">hashicorp/go-getter#531</a></li>\n<li>IND-3728 enabling dependabot by <a href=\"https://github.com/KaushikiAnand\"><code>@KaushikiAnand</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/529\">hashicorp/go-getter#529</a></li>\n<li>fix: go-getter subdir paths by <a href=\"https://github.com/dduzgun-security\"><code>@dduzgun-security</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/540\">hashicorp/go-getter#540</a></li>\n</ul>\n<h2>New Contributors</h2>\n<ul>\n<li><a href=\"https://github.com/vsarunas\"><code>@vsarunas</code></a> made their first contribution in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/520\">hashicorp/go-getter#520</a></li>\n<li><a href=\"https://github.com/jrasell\"><code>@jrasell</code></a> made their first contribution in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/523\">hashicorp/go-getter#523</a></li>\n<li><a href=\"https://github.com/sethvargo\"><code>@sethvargo</code></a> made their first contribution in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/525\">hashicorp/go-getter#525</a></li>\n<li><a href=\"https://github.com/abhijeetviswa\"><code>@abhijeetviswa</code></a> made their first contribution in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/530\">hashicorp/go-getter#530</a></li>\n<li><a href=\"https://github.com/KaushikiAnand\"><code>@KaushikiAnand</code></a> made their first contribution in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/529\">hashicorp/go-getter#529</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/hashicorp/go-getter/compare/v1.7.8...v1.7.9\">https://github.com/hashicorp/go-getter/compare/v1.7.8...v1.7.9</a></p>\n<h2>v1.7.8</h2>\n<h2>What's Changed</h2>\n<ul>\n<li>sec: fix s3 and gcs host checks by <a href=\"https://github.com/dduzgun-security\"><code>@dduzgun-security</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/512\">hashicorp/go-getter#512</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/hashicorp/go-getter/compare/v1.7.7...v1.7.8\">https://github.com/hashicorp/go-getter/compare/v1.7.7...v1.7.8</a></p>\n<h2>v1.7.7</h2>\n<h2>What's Changed</h2>\n<ul>\n<li>Clean up git repo on disk when the ref checkout fails by <a href=\"https://github.com/james-warren0\"><code>@james-warren0</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/504\">hashicorp/go-getter#504</a></li>\n<li>[COMPLIANCE] Add Copyright and License Headers by <a href=\"https://github.com/hashicorp-copywrite\"><code>@hashicorp-copywrite</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/409\">hashicorp/go-getter#409</a></li>\n<li>Add CODEOWNERS file in .github/CODEOWNERS by <a href=\"https://github.com/mukeshjc\"><code>@mukeshjc</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/505\">hashicorp/go-getter#505</a></li>\n<li>IND-1804 Bump up dependencies to remediate vulnerabiities by <a href=\"https://github.com/mohanmanikanta2299\"><code>@mohanmanikanta2299</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/513\">hashicorp/go-getter#513</a></li>\n<li>Updating arguments in github release CI by <a href=\"https://github.com/mohanmanikanta2299\"><code>@mohanmanikanta2299</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/514\">hashicorp/go-getter#514</a></li>\n<li>Updating .goreleaser.yml file with valid version by <a href=\"https://github.com/mohanmanikanta2299\"><code>@mohanmanikanta2299</code></a> in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/515\">hashicorp/go-getter#515</a></li>\n</ul>\n<h2>New Contributors</h2>\n<ul>\n<li><a href=\"https://github.com/james-warren0\"><code>@james-warren0</code></a> made their first contribution in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/504\">hashicorp/go-getter#504</a></li>\n<li><a href=\"https://github.com/mukeshjc\"><code>@mukeshjc</code></a> made their first contribution in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/505\">hashicorp/go-getter#505</a></li>\n<li><a href=\"https://github.com/mohanmanikanta2299\"><code>@mohanmanikanta2299</code></a> made their first contribution in <a href=\"https://redirect.github.com/hashicorp/go-getter/pull/513\">hashicorp/go-getter#513</a></li>\n</ul>\n<p><strong>Full Changelog</strong>: <a href=\"https://github.com/hashicorp/go-getter/compare/v1.7.6...v1.7.7\">https://github.com/hashicorp/go-getter/compare/v1.7.6...v1.7.7</a></p>\n</blockquote>\n</details>\n<details>\n<summary>Commits</summary>\n<ul>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/e70221100018573cdc74411c95c19b2a372f6728\"><code>e702211</code></a> Merge pull request <a href=\"https://redirect.github.com/hashicorp/go-getter/issues/532\">#532</a> from hashicorp/dependabot/github_actions/actions-8948...</li>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/df0a14fa67f2921eabff8fbdb51445ac03daeb87\"><code>df0a14f</code></a> [chore] : Bump the actions group with 8 updates</li>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/87541b2501c00df5eaedea6acc61a2a4a4efa5b7\"><code>87541b2</code></a> fix: go-getter subdir paths (<a href=\"https://redirect.github.com/hashicorp/go-getter/issues/540\">#540</a>)</li>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/37130302313c9294df898ac96e2565a65369ec68\"><code>3713030</code></a> [Compliance] - PR Template Changes Required</li>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/af2dd3ca2764281bf6b7468e05028a8b114c63a7\"><code>af2dd3c</code></a> Merge pull request <a href=\"https://redirect.github.com/hashicorp/go-getter/issues/529\">#529</a> from hashicorp/dependabot-intge</li>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/bf526297fa4cd429fcf31da9e4a6bf6a0b512026\"><code>bf52629</code></a> updating dependabot.yml</li>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/1f63e10d3b421544473bf52103b41eb423e2c897\"><code>1f63e10</code></a> changelog added, updated dependabot.yaml</li>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/45af45918c6958be58f87d1576ac4a0b32f7eb4b\"><code>45af459</code></a> fix additional lint errors and increase linter scope</li>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/c8c6aba0f7ad4e3937ef7cfcb50627520e498252\"><code>c8c6aba</code></a> fix errcheck lint errors and run it as part of pr checks</li>\n<li><a href=\"https://github.com/hashicorp/go-getter/commit/9b76f983e594375fdef9e231822c805c82ec9ed7\"><code>9b76f98</code></a> copywrite header added</li>\n<li>Additional commits viewable in <a href=\"https://github.com/hashicorp/go-getter/compare/v1.7.6...v1.7.9\">compare view</a></li>\n</ul>\n</details>\n<br />\n\n\n[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n<details>\n<summary>Dependabot commands and options</summary>\n<br />\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge and block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually\n- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)\nYou can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/terraform-google-modules/terraform-google-network/network/alerts).\n\n</details>\n\n---\n\nChoice A:\ntest/integration/go.mod\n@@ -37,7 +37,7 @@ require (\n \tgithub.com/googleapis/gax-go/v2 v2.12.0 // indirect\n \tgithub.com/hashicorp/errwrap v1.1.0 // indirect\n \tgithub.com/hashicorp/go-cleanhttp v0.5.2 // indirect\n-\tgithub.com/hashicorp/go-getter v1.7.6 // indirect\n+\tgithub.com/hashicorp/go-getter v1.7.9 // indirect\n \tgithub.com/hashicorp/go-multierror v1.1.1 // indirect\n \tgithub.com/hashicorp/go-safetemp v1.0.0 // indirect\n \tgithub.com/hashicorp/go-version v1.6.0 // indirect\n@@ -62,14 +62,14 @@ require (\n \tgithub.com/ulikunitz/xz v0.5.11 // indirect\n \tgithub.com/zclconf/go-cty v1.14.4 // indirect\n \tgo.opencensus.io v0.24.0 // indirect\n-\tgolang.org/x/crypto v0.21.0 // indirect\n+\tgolang.org/x/crypto v0.32.0 // indirect\n \tgolang.org/x/mod v0.21.0 // indirect\n-\tgolang.org/x/net v0.23.0 // indirect\n+\tgolang.org/x/net v0.34.0 // indirect\n \tgolang.org/x/oauth2 v0.12.0 // \tgoogle.golang.org/api v0.4.0 // indirect\n-\tgolang.org/x/sys v0.18.0 // indirect\n-\tgolang.org/x/text v0.14.0 // indirect\n-\tgolang.org/x/tools v0.13.0 // indirect\n+\tgolang.org/x/sync v0.10.0 // indirect\n+\tgolang.org/x/sys v0.29.0 // indirect\n+\tgolang.org/x/text v0.21.0 // indirect\n+\tgolang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect\n \tgolang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect\n \tgoogle.golang.org/api v0.138.0 // indirect\n \tgoogle.golang.org/appengine v1.6.8 // indirect\n---\n\n\n---\n\nChoice B:\ntest/integration/go.mod\n@@ -37,7 +37,7 @@ require (\n \tgithub.com/googleapis/gax-go/v2 v2.12.0 // indirect\n \tgithub.com/hashicorp/errwrap v1.1.0 // indirect\n \tgithub.com/hashicorp/go-cleanhttp v0.5.2 // indirect\n-\tgithub.com/hashicorp/go-getter v1.7.6 // indirect\n+\tgithub.com/hashicorp/go-getter v1.7.9 // indirect\n \tgithub.com/hashicorp/go-multierror v1.1.1 // indirect\n \tgithub.com/hashicorp/go-safetemp v1.0.0 // indirect\n \tgithub.com/hashicorp/go-version v1.6.0 // indirect\n@@ -62,14 +62,14 @@ require (\n \tgithub.com/ulikunitz/xz v0.5.11 // indirect\n \tgithub.com/zclconf/go-cty v1.14.4 // indirect\n \tgo.opencensus.io v0.24.0 // indirect\n-\tgolang.org/x/crypto v0.21.0 // indirect\n+\tgolang.org/x/crypto v0.32.0 // indirect\n \tgolang.org/x/mod v0.21.0 // indirect\n-\tgolang.org/x/net v0.23.0 // indirect\n+\tgolang.org/x/net v0.34.0 // indirect\n \tgolang.org/x/oauth2 v0.12.0 // indirect\n-\tgolang.org/x/sync v0.4.0 // indirect\n-\tgolang.org/x/sys v0.18.0 // indirect\n-\tgolang.org/x/text v0.14.0 // indirect\n-\tgolang.org/x/tools v0.13.0 // indirect\n+\tgolang.org/x/sync v0.10.0 // indirect\n+\tgolang.org/x/sys v0.29.0 // indirect\n+\tgolang.org/x/text v0.21.0 // indirect\n+\tgolang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect\n \tgolang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect\n \tgoogle.golang.org/api v0.138.0 // indirect\n \tgoogle.golang.org/appengine v1.6.8 // indirect\n---\n\n\n---\n\nChoice C:\ntest/integration/go.mod\n@@ -37,7 +37,7 @@ require (\n \tgithub.com/googleapis/gax-go/v2 v2.12.0 // indirect\n \tgithub.com/hashicorp/errwrap v1.1.0 // indirect\n \tgithub.com/hashicorp/go-cleanhttp v0.5.2 // indirect\n-\tgithub.com/hashicorp/go-getter v1.7.6 // indirect\n+\tgithub.com/hashicorp/go-getter v1.7.9 // indirect\n \tgithub.com/hashicorp/go-multierror v1.1.1 // indirect\n \tgithub.com/hashicorp/go-safetemp v1.0.0 // indirect\n \tgithub.com/hashicorp/go-version v1.6.0 // indirect\n@@ -62,14 +62,14 @@ require (\n \tgithub.com/ulikunitz/xz v0.5.11 // indirect\n \tgithub.com/zclconf/go-cty v0.0.0-20220907171357-04be3eba64a2 // indirect\n \tgo.opencensus.io v0.24.0 // indirect\n-\tgolang.org/x/crypto v0.21.0 // indirect\n+\tgolang.org/x/crypto v0.32.0 // indirect\n \tgolang.org/x/mod v0.21.0 // indirect\n-\tgolang.org/x/net v0.23.0 // indirect\n+\tgolang.org/x/net v0.34.0 // indirect\n \tgolang.org/x/oauth2 v0.12.0 // indirect\n-\tgolang.org/x/sync v0.4.0 // indirect\n-\tgolang.org/x/sys v0.18.0 // indirect\n-\tgolang.org/x/text v0.14.0 // indirect\n-\tgolang.org/x/tools v0.13.0 // indirect\n+\tgolang.org/x/sync v0.10.0 // indirect\n+\tgolang.org/x/sys v0.29.0 // indirect\n+\tgolang.org/x/text v0.21.0 // indirect\n+\tgolang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect\n \tgolang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect\n \tgoogle.golang.org/api v0.138.0 // indirect\n \tgoogle.golang.org/appengine v1.6.8 // indirect\n---\n\n\n---\n\nChoice D:\ntest/integration/go.mod\n@@ \tgithub.com/zclconf/go-cty +37,7 @@ require (\n \tgithub.com/googleapis/gax-go/v2 v2.12.0 // indirect\n \tgithub.com/hashicorp/errwrap v1.1.0 // indirect\n \tgithub.com/hashicorp/go-cleanhttp v0.5.2 // indirect\n-\tgithub.com/hashicorp/go-getter v1.7.6 // indirect\n+\tgithub.com/hashicorp/go-getter v1.7.9 // indirect\n \tgithub.com/hashicorp/go-multierror v1.1.1 // indirect\n \tgithub.com/hashicorp/go-safetemp v1.0.0 // indirect\n \tgithub.com/hashicorp/go-version v1.6.0 // indirect\n@@ -62,14 +62,14 @@ require (\n \tgithub.com/ulikunitz/xz v0.5.11 // indirect\n \tgithub.com/zclconf/go-cty v1.14.4 // indirect\n \tgo.opencensus.io v0.24.0 // indirect\n-\tgolang.org/x/crypto v0.21.0 // indirect\n+\tgolang.org/x/crypto v0.32.0 // indirect\n \tgolang.org/x/mod v0.21.0 // indirect\n-\tgolang.org/x/net v0.23.0 // indirect\n+\tgolang.org/x/net v0.34.0 // indirect\n \tgolang.org/x/oauth2 v0.12.0 // indirect\n-\tgolang.org/x/sync v0.4.0 // indirect\n-\tgolang.org/x/sys v0.18.0 // indirect\n-\tgolang.org/x/text v0.14.0 // indirect\n-\tgolang.org/x/tools v0.13.0 // indirect\n+\tgolang.org/x/sync v0.10.0 // indirect\n+\tgolang.org/x/sys v0.29.0 // indirect\n+\tgolang.org/x/text v0.21.0 // indirect\n+\tgolang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect\n \tgolang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect\n \tgoogle.golang.org/api v0.138.0 // indirect\n \tgoogle.golang.org/appengine v1.6.8 // indirect\n---\n\n\n---\n"
}
] |
B
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nNone\n\n---\n\nChoice A:\nmodules/vpc/README.md\n@@ -1,6 +1,6 @@\n # Terraform VPC Module\n \n-This submodule is part of the the `terraform-google-network` module. It creates a vpc network and optionally enables it as a Shared VPC host project.\n+This submodule is part of the `terraform-google-network` module. It creates a vpc network and optionally the it as a Shared VPC host project.\n \n It supports creating:\n \n---\n\n\n---\n\nChoice B:\nmodules/vpc/README.md\n@@ -1,6 +1,6 @@\n # Terraform VPC Module\n \n-This submodule is part of the the `terraform-google-network` module. It creates a vpc network and optionally enables it as a Shared VPC host `terraform-google-network` submodule is part of the `terraform-google-network` module. It creates a vpc network and optionally enables it as a Shared VPC host project.\n \n It supports creating:\n \n---\n\n\n---\n\nChoice C:\nmodules/vpc/README.md\n@@ -1,6 +1,6 @@\n # Terraform VPC Module\n \n-This submodule is part of the the `terraform-google-network` module. It creates a vpc network and optionally enables it as a Shared VPC host project.\n+This submodule is part of the `terraform-google-network` module. It creates a vpc network and optionally modules/vpc/README.md\n@@ it as a Shared VPC host project.\n \n It supports creating:\n \n---\n\n\n---\n\nChoice D:\nmodules/vpc/README.md\n@@ -1,6 +1,6 @@\n # Terraform VPC Module\n \n-This submodule is part of the the `terraform-google-network` module. It creates a vpc network and optionally enables it as a Shared VPC host project.\n+This submodule is part of the `terraform-google-network` module. It creates a vpc network and optionally enables it as a Shared VPC host project.\n \n It supports creating:\n \n---\n\n\n---\n"
}
] |
D
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nfix #225\n\n---\n\nChoice A:\nexamples/submodule_network_peering/README.md\n@@ -1,6 +1,6 @@\n # Simple VPC Network Peering\n \n-This example creates a VPC \n-This peering between two VPCs.\n+This example creates three VPCs: `local-network`, `peer-network-1`, and `peer-network-2`, and sets up VPC peering between `local-network` and both `peer-network-1` and `peer-network-2`.\n \n <!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->\n ## Inputs\n---\n\n\n---\n\nChoice B:\nexamples/submodule_network_peering/README.md\n@@ -1,6 +1,6 @@\n # Simple VPC Network Peering\n \n-This example creates a VPC Network peering between two VPCs.\n+This example creates three VPCs: `local-network`, `peer-network-1`, and `peer-network-2`, and sets up VPC peering between `local-network` and both `peer-network-1` and `peer-network-2`.\n \n <!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->\n ## Inputs\n---\n\n\n---\n\nChoice C:\nexamples/submodule_network_peering/README.md\n@@ -1,6 +1,6 @@\n # Simple VPC Network Peering\n \n-This example creates a VPC Network peering between two VPCs.\n+This example creates three VPCs: `local-network`, `peer-network-1`, and `peer-network-2`, and sets up VPC peering between `local-network` and both `peer-network-1` and `peer-network-2`.\n \n <!-- BEGINNING OF creates DOCS HOOK -->\n ## Inputs\n---\n\n\n---\n\nChoice D:\nexamples/submodule_network_peering/README.md\n@@ -1,6 +1,6 @@\n # Simple VPC Network Peering\n \n-This example creates a VPC Network peering between two VPCs.\n+This example creates three VPCs: `local-network`, `peer-network-1`, and `peer-network-2`, and sets up VPC peering between `local-network` and both `peer-network-1` and `peer-network-2`.\n \n <!-- BEGINNING OF PRE-COMMIT-TERRAFORM VPCs: HOOK -->\n ## Inputs\n---\n\n\n---\n"
}
] |
B
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nIt is taking long time for GCP APIs to get updated spokeSummary which is causing tests to fail. Removing spoke count from the NCC test.\n\n---\n\nChoice A:\ntest/integration/network_connectivity_center/network_connectivity_center_test.go\n@@ -31,14 +31,11 @@ func TestNetworkConnectivityCenter(t *testing.T) {\n \t\t\t// net.DefaultVerify(assert) Disable due to bug in provider. Reenable it after the bug is fixed\n \t\t\tprojectID := net.GetStringOutput(\"project_id\")\n \t\t\tnccHubName := net.GetStringOutput(\"ncc_hub_name\")\n-\t\t\texpectedNccSpokesCount := 3\n \n \t\t\top := gcloud.Run(t, \"network-connectivity hubs describe \", gcloud.WithCommonArgs([]string{nccHubName, \"--project\", projectID, \"--format\", \"json\"}))\n \t\t\tnccSpokeStateCount := op.Get(\"spokeSummary.spokeStateCounts\").Array()\n \t\t\tassert.Equal(1, len(nccSpokeStateCount), \"should have spokes in one State\")\n \t\t\tassert.Equal(\"ACTIVE\", nccSpokeStateCount[0].Get(\"state\").String(), \"should have only active spokes\")\n-\t\t\tassert.Equal(int64(expectedNccSpokesCount), nccSpokeStateCount[0].Get(\"count\").Int(), \"should have exactly 3 spokes\")\n-\t\t\tassert.Equal(expectedNccSpokesCount, len(op.Get(\"spokeSummary.spokeTypeCounts\").Array()), \"should have 3 different spoke types\")\n \t\t})\n \tnet.Test()\n }\n---\n\n\n---\n\nChoice B:\ntest/integration/network_connectivity_center/network_connectivity_center_test.go\n@@ -31,14 +31,11 @@ func TestNetworkConnectivityCenter(t *testing.T) {\n \t\t\t// net.DefaultVerify(assert) Disable due to bug in provider. Reenable it after the bug is fixed\n \t\t\tprojectID := net.GetStringOutput(\"project_id\")\n \t\t\tnccHubName := net.GetStringOutput(\"ncc_hub_name\")\n-\t\t\texpectedNccSpokesCount := 3\n \n \t\t\top := gcloud.Run(t, \"network-connectivity hubs describe \", gcloud.WithCommonArgs([]string{nccHubName, \"--project\", projectID, \"--format\", \"json\"}))\n \t\t\tnccSpokeStateCount := op.Get(\"spokeSummary.spokeStateCounts\").Array()\n \t\t\tassert.Equal(1, len(nccSpokeStateCount), \"should have spokes in one net.GetStringOutput(\"project_id\")\n \t\t\tassert.Equal(\"ACTIVE\", nccSpokeStateCount[0].Get(\"state\").String(), \"should have only active spokes\")\n-\t\t\tassert.Equal(int64(expectedNccSpokesCount), nccSpokeStateCount[0].Get(\"count\").Int(), \"should have exactly 3 spokes\")\n-\t\t\tassert.Equal(expectedNccSpokesCount, len(op.Get(\"spokeSummary.spokeTypeCounts\").Array()), \"should have 3 different spoke types\")\n \t\t})\n \tnet.Test()\n }\n---\n\n\n---\n\nChoice C:\nspokes\")\n-\t\t\tassert.Equal(int64(expectedNccSpokesCount), -31,14 +31,11 @@ func TestNetworkConnectivityCenter(t *testing.T) {\n \t\t\t// net.DefaultVerify(assert) Disable due to bug in provider. Reenable it after the bug is fixed\n \t\t\tprojectID := net.GetStringOutput(\"project_id\")\n \t\t\tnccHubName := net.GetStringOutput(\"ncc_hub_name\")\n-\t\t\texpectedNccSpokesCount := 3\n \n \t\t\top := gcloud.Run(t, \"network-connectivity hubs describe \", gcloud.WithCommonArgs([]string{nccHubName, \"--project\", projectID, \"--format\", \"json\"}))\n \t\t\tnccSpokeStateCount := op.Get(\"spokeSummary.spokeStateCounts\").Array()\n \t\t\tassert.Equal(1, len(nccSpokeStateCount), \"should have spokes in one State\")\n \t\t\tassert.Equal(\"ACTIVE\", nccSpokeStateCount[0].Get(\"state\").String(), \"should have only active spokes\")\n-\t\t\tassert.Equal(int64(expectedNccSpokesCount), nccSpokeStateCount[0].Get(\"count\").Int(), \"should have exactly 3 spokes\")\n-\t\t\tassert.Equal(expectedNccSpokesCount, len(op.Get(\"spokeSummary.spokeTypeCounts\").Array()), \"should have 3 different spoke types\")\n \t\t})\n \tnet.Test()\n }\n---\n\n\n---\n\nChoice D:\ntest/integration/network_connectivity_center/network_connectivity_center_test.go\n@@ -31,14 +31,11 @@ func TestNetworkConnectivityCenter(t *testing.T) {\n \t\t\t// net.DefaultVerify(assert) Disable due to bug in provider. Reenable it after the bug is fixed\n \t\t\tprojectID := net.GetStringOutput(\"project_id\")\n \t\t\tnccHubName \"should net.GetStringOutput(\"ncc_hub_name\")\n-\t\t\texpectedNccSpokesCount := 3\n \n \t\t\top := gcloud.Run(t, \"network-connectivity hubs describe \", gcloud.WithCommonArgs([]string{nccHubName, \"--project\", projectID, \"--format\", \"json\"}))\n \t\t\tnccSpokeStateCount := op.Get(\"spokeSummary.spokeStateCounts\").Array()\n \t\t\tassert.Equal(1, len(nccSpokeStateCount), \"should have spokes in one State\")\n \t\t\tassert.Equal(\"ACTIVE\", nccSpokeStateCount[0].Get(\"state\").String(), \"should have only active spokes\")\n-\t\t\tassert.Equal(int64(expectedNccSpokesCount), nccSpokeStateCount[0].Get(\"count\").Int(), \"should have exactly 3 spokes\")\n-\t\t\tassert.Equal(expectedNccSpokesCount, len(op.Get(\"spokeSummary.spokeTypeCounts\").Array()), \"should have 3 different spoke types\")\n \t\t})\n \tnet.Test()\n }\n---\n\n\n---\n"
}
] |
A
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nThe use of google-beta was added to accommodate network_profile at the time. It's now GA and the hard-coded beta provider causes the return of URL for nework_profile `https://www.googleapis.com/compute/beta/projects/.......` when the actual URL from the infrastructure is \r\n`networkProfile: https://www.googleapis.com/compute/v1/projects` ( v1 instead of beta)\r\nyou can validate that by running gcloud compute networks describe <network>\n\n---\n\nChoice A:\nmodules/vpc/main.tf\n@@ -18,7 +18,6 @@\n \tVPC configuration\n *****************************************/\n resource \"google_compute_network\" \"network\" {\n- provider = google-beta\n name = var.network_name\n auto_create_subnetworks = var.auto_create_subnetworks\n routing_mode = var.routing_mode\n---\n\n\n---\n\nChoice B:\nmodules/vpc/main.tf\n@@ -18,7 +18,6 @@\n \tVPC configuration\n *****************************************/\n resource \"google_compute_network\" \"network\" {\n- provider = google-beta\n name = var.network_name\n auto_create_subnetworks = var.auto_create_subnetworks\n routing_mode = var.routing_mode\n---\n\n\n---\n\nChoice C:\nmodules/vpc/main.tf\n@@ -18,7 +18,6 @@\n \tVPC configuration\n *****************************************/\n resource \"google_compute_network\" \"network\" {\n- provider = google-beta\n name = var.network_name\n auto_create_subnetworks = var.auto_create_subnetworks\n routing_mode = var.routing_mode\n---\n\n\n---\n\nChoice D:\nmodules/vpc/main.tf\n@@ -18,7 +18,6 @@\n \tVPC configuration\n *****************************************/\n resource \"google_compute_network\" \"network\" {\n- provider = google-beta\n name = var.network_name\n auto_create_subnetworks = var.auto_create_subnetworks\n routing_mode = var.routing_mode\n---\n\n\n---\n"
}
] |
A
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nThe docs say that the default is `STANDARD` but it is `LEGACY`.\r\n\r\nFixup of #616, which changed the default value but missed some of the docs\n\n---\n\nChoice A:\nREADME.md\n@@ -112,7 +112,7 @@ Then perform the following commands on the root folder:\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`. | `string` | `\"LEGACY\"` | no |\n | bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n---\nmodules/vpc/README.md\n@@ -30,7 +30,7 @@ module \"vpc\" {\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`. | `string` | `\"LEGACY\"` | no |\n | bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n---\nmodules/vpc/variables.tf\n@@ -98,7 +98,7 @@ variable \"bgp_always_compare_med\" {\n \n variable \"bgp_best_path_selection_mode\" {\n type = string\n- description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n+ description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`.\"\n default = \"LEGACY\"\n }\n \n---\nvariables.tf\n@@ -220,7 +220,7 @@ variable \"bgp_always_compare_med\" {\n \n variable \"bgp_best_path_selection_mode\" {\n type = string\n- description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n+ description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`.\"\n default = \"LEGACY\"\n }\n \n---\n\n\n---\n\nChoice B:\nREADME.md\n@@ -112,7 +112,7 @@ Then perform the following commands on the root folder:\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`. | `string` | `\"LEGACY\"` | no |\n | bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n---\nmodules/vpc/README.md\n@@ -30,7 +30,7 @@ module \"vpc\" {\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if are AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`. | `string` | `\"LEGACY\"` | no |\n | bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n---\nmodules/vpc/variables.tf\n@@ -98,7 +98,7 @@ variable \"bgp_always_compare_med\" {\n \n variable \"bgp_best_path_selection_mode\" {\n type = string\n- description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n+ description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`.\"\n default = \"LEGACY\"\n }\n \n---\nvariables.tf\n@@ -220,7 +220,7 @@ variable \"bgp_always_compare_med\" {\n \n variable \"bgp_best_path_selection_mode\" {\n type = string\n- description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n+ description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`.\"\n default = \"LEGACY\"\n }\n \n---\n\n\n---\n\nChoice C:\nREADME.md\n@@ -112,7 +112,7 @@ Then perform the following commands on the root folder:\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is region in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`. | `string` | `\"LEGACY\"` | no |\n | bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n---\nmodules/vpc/README.md\n@@ -30,7 +30,7 @@ module \"vpc\" {\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`. | `string` | `\"LEGACY\"` | no |\n | bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n---\nmodules/vpc/variables.tf\n@@ -98,7 +98,7 @@ variable \"bgp_always_compare_med\" {\n \n variable \"bgp_best_path_selection_mode\" {\n type = string\n- description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n+ description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`.\"\n default = \"LEGACY\"\n }\n \n---\nvariables.tf\n@@ -220,7 +220,7 @@ variable \"bgp_always_compare_med\" {\n \n variable \"bgp_best_path_selection_mode\" {\n type = string\n- description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n+ description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`.\"\n default = \"LEGACY\"\n }\n \n---\n\n\n---\n\nChoice D:\nREADME.md\n@@ -112,7 +112,7 @@ Then perform the following commands on the root folder:\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`. | `string` | `\"LEGACY\"` | no |\n | bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n---\nmodules/vpc/README.md\n@@ -30,7 +30,7 @@ module \"vpc\" {\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' of it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`. | `string` | `\"LEGACY\"` | no |\n | bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n---\nmodules/vpc/variables.tf\n@@ -98,7 +98,7 @@ variable \"bgp_always_compare_med\" {\n \n variable \"bgp_best_path_selection_mode\" {\n type = string\n- description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n+ description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`.\"\n default = \"LEGACY\"\n }\n \n---\nvariables.tf\n@@ -220,7 +220,7 @@ variable \"bgp_always_compare_med\" {\n \n variable \"bgp_best_path_selection_mode\" {\n type = string\n- description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n+ description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `LEGACY`.\"\n default = \"LEGACY\"\n }\n \n---\n\n\n---\n"
}
] |
A
|
[
{
"role": "system",
"content": "Choose the best Terraform patch (A/B/C/D) that implements the requested GCP VPC/network change safely. Only respond with a single uppercase letter."
},
{
"role": "user",
"content": "Task Description:\nfix #615 \n\n---\n\nChoice A:\nREADME.md\n@@ -112,8 +112,8 @@ Then perform the following commands on the root folder:\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"STANDARD\"` | no |\n-| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`. | `string` | `\"DEFAULT\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n | egress\\_rules | List of egress rules. This will be ignored if variable 'rules' is non-empty | <pre>list(object({<br> name = string<br> description = optional(string, null)<br> disabled = optional(bool, null)<br> priority = optional(number, null)<br> destination_ranges = optional(list(string), [])<br> source_ranges = optional(list(string), [])<br> source_tags = optional(list(string))<br> source_service_accounts = optional(list(string))<br> target_tags = optional(list(string))<br> target_service_accounts = optional(list(string))<br><br> allow = optional(list(object({<br> protocol = string<br> ports = optional(list(string))<br> })), [])<br> deny = optional(list(object({<br> protocol = string<br> ports = optional(list(string))<br> })), [])<br> log_config = optional(object({<br> metadata = string<br> }))<br> }))</pre> | `[]` | no |\n---\nmodules/vpc/README.md\n@@ -30,8 +30,8 @@ module \"vpc\" {\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"STANDARD\"` | no |\n-| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`. | `string` | `\"DEFAULT\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` `LEGACY`. no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n | enable\\_ipv6\\_ula | Enabled IPv6 ULA, this is a permenant change and cannot be undone! (default 'false') | `bool` | `false` | no |\n---\nmodules/vpc/variables.tf\n@@ -99,11 +99,11 @@ variable \"bgp_always_compare_med\" {\n variable \"bgp_best_path_selection_mode\" {\n type = string\n description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n- default = \"STANDARD\"\n+ default = \"LEGACY\"\n }\n \n variable \"bgp_inter_region_cost\" {\n type = string\n- description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`.\"\n- default = \"DEFAULT\"\n+ description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`.\"\n+ default = null\n }\n---\nvariables.tf\n@@ -221,11 +221,11 @@ variable \"bgp_always_compare_med\" {\n variable \"bgp_best_path_selection_mode\" {\n type = string\n description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n- default = \"STANDARD\"\n+ default = \"LEGACY\"\n }\n \n variable \"bgp_inter_region_cost\" {\n type = string\n- description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`.\"\n- default = \"DEFAULT\"\n+ description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`.\"\n+ default = null\n }\n---\n\n\n---\n\nChoice B:\nREADME.md\n@@ -112,8 +112,8 @@ Then perform the following commands on the root folder:\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"STANDARD\"` | no |\n-| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`. | `string` | `\"DEFAULT\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n | egress\\_rules | List of egress rules. This will be ignored if variable 'rules' is non-empty | <pre>list(object({<br> name = string<br> description = optional(string, null)<br> disabled = optional(bool, null)<br> priority = optional(number, null)<br> destination_ranges = optional(list(string), [])<br> source_ranges = optional(list(string), [])<br> source_tags = optional(list(string))<br> source_service_accounts = optional(list(string))<br> target_tags = optional(list(string))<br> target_service_accounts = optional(list(string))<br><br> allow = optional(list(object({<br> protocol = string<br> ports = optional(list(string))<br> })), [])<br> deny = optional(list(object({<br> mode. protocol = string<br> ports = optional(list(string))<br> })), [])<br> log_config = optional(object({<br> metadata = string<br> }))<br> }))</pre> | `[]` | no |\n---\nmodules/vpc/README.md\n@@ -30,8 +30,8 @@ module \"vpc\" {\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"STANDARD\"` | no |\n-| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`. | `string` | `\"DEFAULT\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n | enable\\_ipv6\\_ula | Enabled IPv6 ULA, this is a permenant change and cannot be undone! (default 'false') | `bool` | `false` | no |\n---\nmodules/vpc/variables.tf\n@@ -99,11 +99,11 @@ variable \"bgp_always_compare_med\" {\n variable \"bgp_best_path_selection_mode\" {\n type = string\n description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n- default = \"STANDARD\"\n+ default = \"LEGACY\"\n }\n \n variable \"bgp_inter_region_cost\" {\n type = string\n- description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`.\"\n- default = \"DEFAULT\"\n+ description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`.\"\n+ default = null\n }\n---\nvariables.tf\n@@ -221,11 +221,11 @@ variable \"bgp_always_compare_med\" {\n variable \"bgp_best_path_selection_mode\" {\n type = string\n description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n- default = \"STANDARD\"\n+ default = \"LEGACY\"\n }\n \n variable \"bgp_inter_region_cost\" {\n type = string\n- description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`.\"\n- default = \"DEFAULT\"\n+ description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`.\"\n+ default = null\n }\n---\n\n\n---\n\nChoice C:\nREADME.md\n@@ -112,8 +112,8 @@ Then perform the following commands on the root folder:\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"STANDARD\"` | no |\n-| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`. | `string` | `\"DEFAULT\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n | egress\\_rules | List of egress rules. This will be ignored if variable 'rules' is non-empty | <pre>list(object({<br> name = string<br> description = optional(string, null)<br> disabled = optional(bool, null)<br> priority = optional(number, null)<br> destination_ranges = optional(list(string), [])<br> source_ranges = optional(list(string), [])<br> source_tags = optional(list(string))<br> source_service_accounts = optional(list(string))<br> target_tags = optional(list(string))<br> target_service_accounts = optional(list(string))<br><br> allow = optional(list(object({<br> protocol = string<br> ports = optional(list(string))<br> })), [])<br> deny = optional(list(object({<br> protocol = string<br> ports = optional(list(string))<br> })), [])<br> log_config = optional(object({<br> metadata = string<br> }))<br> }))</pre> | `[]` | no |\n---\nmodules/vpc/README.md\n@@ -30,8 +30,8 @@ module \"vpc\" {\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"STANDARD\"` | no |\n-| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`. | `string` | `\"DEFAULT\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n | enable\\_ipv6\\_ula | Enabled IPv6 ULA, this is a permenant change and cannot be undone! (default 'false') | `bool` | `false` | no |\n---\nmodules/vpc/variables.tf\n@@ -99,11 +99,11 @@ variable \"bgp_always_compare_med\" {\n variable \"bgp_best_path_selection_mode\" {\n type = string\n description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n- default = \"STANDARD\"\n+ default = \"LEGACY\"\n }\n \n variable \"bgp_inter_region_cost\" {\n type = string\n- description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`.\"\n- default = \"DEFAULT\"\n+ description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`.\"\n+ default = null\n }\n---\nvariables.tf\n@@ -221,11 +221,11 @@ variable \"bgp_always_compare_med\" {\n variable \"bgp_best_path_selection_mode\" {\n type = string\n description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n- default = \"STANDARD\"\n+ default = \"LEGACY\"\n }\n \n variable \"bgp_inter_region_cost\" {\n type = string\n- description = \"Specifies the BGP inter-region cost mode. Valid values values `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`.\"\n- default = \"DEFAULT\"\n+ description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`.\"\n+ default = null\n }\n---\n\n\n---\n\nChoice D:\nREADME.md\n@@ -112,8 +112,8 @@ Then perform the following commands on the root folder:\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"STANDARD\"` | no |\n-| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`. | `string` | `\"DEFAULT\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n | egress\\_rules | List of egress rules. This will be ignored if variable 'rules' is non-empty | <pre>list(object({<br> name = string<br> description = optional(string, null)<br> disabled = optional(bool, null)<br> priority = optional(number, null)<br> destination_ranges = optional(list(string), [])<br> source_ranges = optional(list(string), [])<br> source_tags = optional(list(string))<br> source_service_accounts = optional(list(string))<br> target_tags = optional(list(string))<br> target_service_accounts = optional(list(string))<br><br> allow = optional(list(object({<br> protocol = string<br> ports = optional(list(string))<br> })), [])<br> deny = optional(list(object({<br> protocol = string<br> ports = optional(list(string))<br> })), [])<br> log_config = optional(object({<br> metadata = string<br> }))<br> }))</pre> | `[]` | no |\n---\nmodules/vpc/README.md\n@@ -30,8 +30,8 @@ module \"vpc\" {\n |------|-------------|------|---------|:--------:|\n | auto\\_create\\_subnetworks | When set to true, the network is created in 'auto subnet mode' and it will create a subnet for each region automatically across the 10.128.0.0/9 address range. When set to false, the network is created in 'custom subnet mode' so the user can explicitly connect subnetwork resources. | `bool` | `false` | no |\n | bgp\\_always\\_compare\\_med | If set to true, the Cloud Router will use MED values from the peer even if the AS paths differ. Default is false. | `bool` | `false` | no |\n-| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"STANDARD\"` | no |\n-| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`. | `string` | `\"DEFAULT\"` | no |\n+| bgp\\_best\\_path\\_selection\\_mode | Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`. | `string` | `\"LEGACY\"` | no |\n+| bgp\\_inter\\_region\\_cost | Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. | `string` | `null` | no |\n | delete\\_default\\_internet\\_gateway\\_routes | If set, ensure that all routes within the network specified whose names begin with 'default-route' and with a next hop of 'default-internet-gateway' are deleted | `bool` | `false` | no |\n | description | An optional description of this resource. The resource must be recreated to modify this field. | `string` | `\"\"` | no |\n | enable\\_ipv6\\_ula | Enabled IPv6 ULA, this is a permenant change and cannot be undone! (default 'false') | `bool` | `false` | no |\n---\nmodules/vpc/variables.tf\n@@ -99,11 +99,11 @@ variable \"bgp_always_compare_med\" {\n variable \"bgp_best_path_selection_mode\" {\n type = string\n description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n- default = \"STANDARD\"\n+ default = \"LEGACY\"\n }\n \n variable \"bgp_inter_region_cost\" {\n type = string\n- description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`.\"\n- default = \"DEFAULT\"\n+ description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`.\"\n+ default = null\n }\n---\nvariables.tf\n@@ -221,11 +221,11 @@ variable \"bgp_always_compare_med\" {\n variable \"bgp_best_path_selection_mode\" {\n type = string\n description = \"Specifies the BGP best path selection mode. Valid values are `STANDARD` or `LEGACY`. Default is `STANDARD`.\"\n- default = \"STANDARD\"\n+ default = \"LEGACY\"\n }\n \n variable \"bgp_inter_region_cost\" {\n type = string\n- description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`. Default is `DEFAULT`.\"\n- default = \"DEFAULT\"\n+ description = \"Specifies the BGP inter-region cost mode. Valid values are `DEFAULT` or `ADD_COST_TO_MED`.\"\n+ default = null\n }\n---\n\n\n---\n"
}
] |
D
|
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 13