Skip to content

networkconnectivity: add auto_accept_hub to google_network_connectivity_spoke - #18666

Open
AzySir wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
AzySir:feat/network-connectivity-spoke-auto-accept-hub
Open

networkconnectivity: add auto_accept_hub to google_network_connectivity_spoke#18666
AzySir wants to merge 2 commits into
GoogleCloudPlatform:mainfrom
AzySir:feat/network-connectivity-spoke-auto-accept-hub

Conversation

@AzySir

@AzySir AzySir commented Aug 15, 2026

Copy link
Copy Markdown

Adds auto_accept_hub to google_network_connectivity_spoke.

When true, after the spoke is created the provider calls hubs.acceptSpoke if the spoke is still INACTIVE. After an update that needs hub approval, it calls hubs.acceptSpokeUpdate. This is for cross-project spokes when the same credentials can accept on the hub.

Same-project spokes are already accepted by the API. If the spoke apply cannot accept on the hub, leave this unset and accept from the hub project (google_network_connectivity_hub_spoke_acceptance).

networkconnectivity: added `auto_accept_hub` field to `google_network_connectivity_spoke` resource

@modular-magician modular-magician added the awaiting-approval Pull requests that need reviewer's approval to run presubmit tests label Aug 15, 2026
@github-actions

Copy link
Copy Markdown

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.

@github-actions
github-actions Bot requested a review from slevenick August 15, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-approval Pull requests that need reviewer's approval to run presubmit tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants