Policy: GCP > Project > Organization Policy > Restrict Shared VPC Subnetworks
Manage the GCP Organization Policy "Restrict Shared VPC Subnetworks" for the project.
This list constraint defines the set of shared VPC subnetworks that eligible resources can use. This constraint does not apply to resources within the same project. By default, eligible resources can use any shared VPC subnetwork.
The allowed/denied list of subnetworks must be specified in the form: under:organizations/ORGANIZATION_ID, under:folders/FOLDER_ID, under:projects/PROJECT_ID, or projects/PROJECT_ID/regions/REGION/subnetworks/SUBNETWORK-NAME.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Related Policies
Controls
- GCP > Project > Organization Policy > Restrict Shared VPC Subnetworks
- GCP > Project > Organization Policy
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/policy
- tmod:@turbot/gcp-orgpolicy#/policy/types/computeRestrictSharedVpcSubnetworks
- turbot graphql policy-type --id "tmod:@turbot/gcp-orgpolicy#/policy/types/computeRestrictSharedVpcSubnetworks"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-orgpolicy#/policy/types/computeRestrictSharedVpcSubnetworks"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI