Policy: GCP > Project > Organization Policy > Require VPC Connector (Cloud Functions)
Manage the GCP Organization Policy "Require VPC Connector (Cloud Functions)" for the project.
This boolean constraint enforces setting a VPC Connector when deploying a Cloud Function. When this constraint is enforced, functions will be required to specify a VPC Connector.
By default, specifying a VPC Connector is not required to deploy a Cloud Function.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
- GCP > Project > Organization Policy > Require VPC Connector (Cloud Functions)
- 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/cloudfunctionsRequireVpcConnector
- turbot graphql policy-type --id "tmod:@turbot/gcp-orgpolicy#/policy/types/cloudfunctionsRequireVpcConnector"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-orgpolicy#/policy/types/cloudfunctionsRequireVpcConnector"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI