Policy: GCP > Project > Organization Policy > Restrict Shared VPC Host Projects
Manage the GCP Organization Policy "Restrict Shared VPC Host Projects" for the project.
This list constraint defines the set of Shared VPC host projects that projects at or below this resource can attach to. By default, a project can attach to any host project in the same organization, thereby becoming a service project.
Projects, folders, and organizations in allowed/denied lists affect all objects underneath them in the resource hierarchy, and must be specified in the form: under:organizations/ORGANIZATION_ID, under:folders/FOLDER_ID, or projects/PROJECT_ID.
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 Host Projects
- 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/computeRestrictSharedVpcHostProjects
- turbot graphql policy-type --id "tmod:@turbot/gcp-orgpolicy#/policy/types/computeRestrictSharedVpcHostProjects"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-orgpolicy#/policy/types/computeRestrictSharedVpcHostProjects"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI