Thanks for the great guide.
Seems that the NAT creation requires a --router-region parameter now:
--router-region
ERROR: (gcloud.compute.routers.nats.create) Underspecified resource [my-router]. Specify the [--router-region] flag.
Then it works:
gcloud compute routers nats create my-cloud-nat-config \ --router=my-router \ --nat-external-ip-pool=functions-static-ip \ --nat-all-subnet-ip-ranges \ --enable-logging \ --router-region=europe-west3
Wow thanks for the update! I didn't know about that flag, it even doesn't appear on the references lol xD cloud.google.com/sdk/gcloud/refere...
I will check for that flag (this weekend I hope u.u)
Awesome, thanks!
By the way, I converted the commands to a terraform config, just in case anyone's interested.
Cheers :)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the great guide.
Seems that the NAT creation requires a
--router-region
parameter now:Then it works:
Wow thanks for the update!
I didn't know about that flag, it even doesn't appear on the references lol xD
cloud.google.com/sdk/gcloud/refere...
I will check for that flag (this weekend I hope u.u)
Awesome, thanks!
By the way, I converted the commands to a terraform config, just in case anyone's interested.
Cheers :)