Using Console
Using CLI
--no-use-public-ips
flag:
<JOB_ID>
with the actual ID of the job you want to update.usePublicIps: false
.By following these steps, you should be able to remediate the “Dataflow Worker IP Should Not Be Public” misconfiguration in GCP using GCP CLI.Using Python