pulumi_wasm_providers_gcp_mini::compute

Module router_nat_address

source
Expand description

A resource used to set the list of IP addresses to be used in a NAT service and manage the draining of destroyed IPs.

Note: This resource is to be used alongside a gcp.compute.RouterNat resource, the router nat resource must have no defined nat_ips or drain_nat_ips parameters, instead using the initial_nat_ips parameter to set at least one IP for the creation of the resource.

To get more information about RouterNatAddress, see:

§Example Usage

§Import

RouterNatAddress can be imported using any of these accepted formats:

  • projects/{{project}}/regions/{{region}}/routers/{{router}}/{{router_nat}}

  • {{project}}/{{region}}/{{router}}/{{router_nat}}

  • {{region}}/{{router}}/{{router_nat}}

  • {{router}}/{{router_nat}}

When using the pulumi import command, RouterNatAddress can be imported using one of the formats above. For example:

$ pulumi import gcp:compute/routerNatAddress:RouterNatAddress default projects/{{project}}/regions/{{region}}/routers/{{router}}/{{router_nat}}
$ pulumi import gcp:compute/routerNatAddress:RouterNatAddress default {{project}}/{{region}}/{{router}}/{{router_nat}}
$ pulumi import gcp:compute/routerNatAddress:RouterNatAddress default {{region}}/{{router}}/{{router_nat}}
$ pulumi import gcp:compute/routerNatAddress:RouterNatAddress default {{router}}/{{router_nat}}

Structs§

Functions§

  • Registers a new resource with the given unique name and arguments