# -*- mode: snippet -*-
# name: google_compute_router_nat
# key: goog_compute_router_nat
# --

resource "google_compute_router_nat" "${1:name}" {
  name                               = "${2:name}"
  router                             = "${3:router}"
  region                             = "${4:region}"
  nat_ip_allocate_option             = "${5:allocate_option}"
  source_subnetwork_ip_ranges_to_nat = "${6:ranges}"
}

