javaspring-bootgoogle-app-enginegoogle-cloud-platformstatic-ip-address

How can I add Static IP to Google App Engine?


I'm trying to add static IP to the app engine( For spring-boot service ). I have done all other configurations, But when I add this line

vpc_access_connector:
  name: projects/PROJECT_ID/locations/REGION/connectors/CONNECTOR_NAME
  egress_setting: all-traffic

to app.yaml and deploy It'giving me bellow error

GCLOUD: Unexpected attribute 'egress_setting' for object of type VpcAccessConnector.

How can I solve this?


Solution

  • It's a gcloud parsing error. Update gcloud CLI to the latest version and try again!