Error 412: constraint to use external IP

Hi,

There is an organizational policy that prevents the creation of VMs with external IP addresses. Because GCP is trying to create an external IP, but the org policy prevents this from happening, I’m getting the following errors.

I was wondering how Packer can request not to have an external IP. Any suggestions?

Thank you.

Error 412: Constraint constraints/compute.vmExternalIpAccess violated for project XXXXXXXX. 
Add instance projects/XXXXXXXX/zones/europe-southwest1-a/instances/packer-XXXXXXXXX
to the constraint to use external IP with it., conditionNotMet