networkconnectivity: fix hub-only google_network_connectivity_transport (exactly one of hub/network)#18362
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Googlers: For automatic test runs see go/terraform-auto-test-runs. @SirGitsalot, 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. |
84db19d to
f519031
Compare
|
@SirGitsalot hope you're well - can we get a review on this one please |
Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.
Description
google_network_connectivity_transporttreatednetworkas required, so NCC hub-only configs failed provider validation even though the API allows eithernetworkorhub.This change:
required: truefromnetworkexactly_one_of: [hub, network]on both fieldsFixes hashicorp/terraform-provider-google#28425
Testing
networkconnectivity/TransportTestUnitNetworkConnectivityTransport_networkHubExactlyOneOf(PASS)