Policy: GCP > Project > Organization Policy > Restrict Public IP access on Cloud SQL instances
Manage the GCP Organization Policy "Restrict Public IP access on Cloud SQL instances" for the project.
This boolean constraint restricts configuring Public IP on Cloud SQL instances where this constraint is set to True. This constraint is not retroactive, Cloud SQL instances with existing Public IP access will still work even after this constraint is enforced.
By default, Public IP access is allowed to Cloud SQL instances.
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
- GCP > Project > Organization Policy > Restrict Public IP access on Cloud SQL instances
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/sqlRestrictPublicIp
- turbot graphql policy-type --id "tmod:@turbot/gcp-orgpolicy#/policy/types/sqlRestrictPublicIp"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/gcp-orgpolicy#/policy/types/sqlRestrictPublicIp"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI