Skip to content

NAT Gateway

Deploys a NAT Gateway in Azure.

Summary

Module to deploy a NAT Gateway with specified settings.

Module Information

Property Value
Owner platform-team
Support Support
Version 1.0.0

Resource Types

Resource Type
Microsoft.Network/natGateways
Microsoft.Network/publicIPAddresses

Usage

module nat_gateway 'br:geitbicepmodweucr01.azurecr.io/bicep/modules/network/nat-gateway:1.0.0' = {
  name: 'nat_gateway'
  params: {
    // Required parameters
    par_nat_gateway_name: <string>
    par_tags: <object>
  }
}

Parameters

Name Type Description Default
par_location string Location of resources [resourceGroup().location]
par_nat_gateway_name string Name of the NAT gateway resource required
par_tags object Required. The tags for the Network Watcher. required
publicIpDns string dns of the public ip address, leave blank for no dns [format('gw-{0}', uniqueString(resourceGroup().id))]

Outputs

Name Type Description
out_nat_gateway_id string Resource ID of the NAT gateway created.
out_nat_gateway_name string Name of the NAT gateway created.

Versions

Pin an exact version. Ranges are not supported.

Version Reference
1.0.0 (latest) br/Euvic-Modules:network/nat-gateway:1.0.0