terraform-google-modules/terraform-google-cloud-nat

How to create a NAT with static IP?

seperman opened this issue · 1 comments

I would like to create a NAT with a static IP using this module but don't see anything about static IP's in this repo. Could you please provide an example of how to do so?

Figured it out. You need to create a google_compute_address named for example address and then use nat_ips = google_compute_address.address.*.self_link