-2

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?

Sahan.java
  • 70
  • 12
  • What do you need to reserve a static ip for? if it's for your GAE app's inbound domain then as far as I know, that's not possible at the moment. – Atef Hares Feb 24 '22 at 19:33
  • @AtefH. I'm need to send a file using GAE app engine. So I need to white list the service IP from other end – Sahan.java Feb 24 '22 at 19:48
  • @Sahan.java can you show your complete app.yaml (redacting any confidential data)? – Puteri Feb 24 '22 at 19:49
  • Does this answer your question? [Is it possible to assign a static external IP to App Engine Flex?](https://stackoverflow.com/questions/69013607/is-it-possible-to-assign-a-static-external-ip-to-app-engine-flex) – Mabel A. Feb 25 '22 at 02:39

1 Answers1

1

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

guillaume blaquiere
  • 66,369
  • 2
  • 47
  • 76