Skip to content

Regionalize network_services_tls_route resource with global as default value#16755

Merged
slevenick merged 2 commits intoGoogleCloudPlatform:mainfrom
rostislavbobo:tlsroute-location
Mar 19, 2026
Merged

Regionalize network_services_tls_route resource with global as default value#16755
slevenick merged 2 commits intoGoogleCloudPlatform:mainfrom
rostislavbobo:tlsroute-location

Conversation

@rostislavbobo
Copy link
Member

Add the location field to TLSRoute resource.

Fixes hashicorp/terraform-provider-google#26502

If this PR is for Terraform, I acknowledge that I have:

  • Searched through the issue tracker for an open issue that this either resolves or contributes to, commented on it to claim it, and written "fixes {url}" or "part of {url}" in this PR description. If there were no relevant open issues, I opened one and commented that I would like to work on it (not necessary for very small changes).
  • Ensured that all new fields I added that can be set by a user appear in at least one example (for generated resources) or third_party test (for handwritten resources or update tests).
  • Generated Terraform providers, and ran make test and make lint in the generated providers to ensure it passes unit and linter tests.
  • Ran relevant acceptance tests using my own Google Cloud project and credentials (If the acceptance tests do not yet pass or you are unable to run them, please let your reviewer know).
  • Read the Release Notes Guide before writing my release note below.

Release Note Template for Downstream PRs (will be copied)

compute: added field `location` to resource `google_network_services_tls_route`

@github-actions
Copy link

Googlers: For automatic test runs see go/terraform-auto-test-runs.

@slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 143 insertions(+), 20 deletions(-))
google-beta provider: Diff ( 5 files changed, 143 insertions(+), 20 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-))
Open in Cloud Shell: Diff ( 4 files changed, 135 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 97
Passed tests: 90
Skipped tests: 6
Affected tests: 1

Click here to see the affected service packages
  • networkservices

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
  • TestAccNetworkServicesTlsRoute_networkServicesTlsRouteRegionalBasicExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

🟢 Tests passed during RECORDING mode:
TestAccNetworkServicesTlsRoute_networkServicesTlsRouteRegionalBasicExample [Debug log]

🟢 No issues found for passed tests after REPLAYING rerun.


🟢 All tests passed!

View the build log or the debug log for each test

@rostislavbobo rostislavbobo changed the title Add field location to resources network_services_tls_route Enabling network_services_tls_route resource to be regionalized with global as default value Mar 19, 2026
@rostislavbobo rostislavbobo changed the title Enabling network_services_tls_route resource to be regionalized with global as default value Regionalize network_services_tls_route resource with global as default value Mar 19, 2026
@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 308 insertions(+), 24 deletions(-))
google-beta provider: Diff ( 5 files changed, 308 insertions(+), 24 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-))
Open in Cloud Shell: Diff ( 4 files changed, 135 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field location added as optional with a default value and force new on pre-existing resource google_network_services_tls_route. This can be allowed if there is a confirmed API-level default that matches the schema default - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 97
Passed tests: 91
Skipped tests: 6
Affected tests: 0

Click here to see the affected service packages
  • networkservices

🟢 All tests passed!

View the build log

@modular-magician
Copy link
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

google provider: Diff ( 5 files changed, 307 insertions(+), 24 deletions(-))
google-beta provider: Diff ( 5 files changed, 307 insertions(+), 24 deletions(-))
terraform-google-conversion: Diff ( 1 file changed, 1 insertion(+), 1 deletion(-))
Open in Cloud Shell: Diff ( 4 files changed, 135 insertions(+))

Breaking Change(s) Detected

The following breaking change(s) were detected within your pull request.

  • Field location added as optional with a default value and force new on pre-existing resource google_network_services_tls_route. This can be allowed if there is a confirmed API-level default that matches the schema default - reference

If you believe this detection to be incorrect please raise the concern with your reviewer.
If you intend to make this change you will need to wait for a major release window.
An override-breaking-change label can be added to allow merging.

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 97
Passed tests: 91
Skipped tests: 6
Affected tests: 0

Click here to see the affected service packages
  • networkservices

🟢 All tests passed!

View the build log

@slevenick slevenick added the override-breaking-change Allows a potential breaking change to be merged label Mar 19, 2026
@slevenick
Copy link
Contributor

Unused template is a bug with the checker, the template is used just not directly by name. This isn't a breaking change due to the state upgrader

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

override-breaking-change Allows a potential breaking change to be merged service/networkservices-traffic-director

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Terraform support for regional TLSRoute

3 participants