Understand Organization Policies:
Organization policies allow you to enforce restrictions on Google Cloud resources to adhere to your organization’s security and compliance requirements.
Policies can be set at the organization, folder, or project level, with project-level policies able to override higher-level policies unless explicitly prevented.
Identify the Policy Constraint:
The specific constraint in question is likely constraints/compute.vmExternalIpAccess, which controls whether VMs can have external IP addresses.
Check Policy Overwrites:
Navigate to the Organization Policies page in the Google Cloud Console.
Check the policy settings at the project level under the affected folder to see if there is an override in place with an 'allow' value.
This override would permit the creation of VMs with external IP addresses despite the higher-level restriction.
Resolve the Policy Conflict:
If an override is found, remove or modify the project-level policy to align with the organizational policy denying external IP addresses.
Communicate with project administrators to ensure they understand and comply with the overarching security policies.
[References:, Organization Policy Best Practices, Managing Policy Constraints, , , , , , , ]