Skip to content

Network peering routes config updates #9320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

modular-magician
Copy link
Collaborator

This PR adds the import_subnet_routes_with_public_ip and export_subnet_routes_with_public_ip fields to the compute resource google_compute_network_peering_routes_config.

Fixes: hashicorp/terraform-provider-google#11573

Although there is an API side default, I set these fields as required without defaults as people may have this resource already in state, and it is undesirable to change without explicitly choosing to.

This mirrors the approach of import_custom_routes and export_custom_routes. Please let me know if there is a better approach.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.

compute: added `import_subnet_routes_with_public_ip` and `export_subnet_routes_with_public_ip` fields to `google_compute_network_peering_routes_config` resource

Derived from GoogleCloudPlatform/magic-modules#12581

[upstream:f47a75e9f7c3ca3fdec451e8355938982e5f3ee5]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner February 13, 2025 19:36
@modular-magician modular-magician merged commit 87babbb into hashicorp:main Feb 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the fields to google_compute_network_peering_routes_config
1 participant