Skip to content

networking/nat_gateways

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azurecaf_name.nat_gateway["azurecaf_name.nat_gateway"] azurerm_nat_gateway.nat_gateway["azurerm_nat_gateway.nat_gateway"] module.nat_gateway_public_ip["module.nat_gateway_public_ip"] module.nat_gateway_subnet["module.nat_gateway_subnet"] module.nat_gateway_public_ip --> azurerm_nat_gateway.nat_gateway module.nat_gateway_subnet --> azurerm_nat_gateway.nat_gateway

Module Reference

Category: networking
Path: modules/networking/nat_gateways
Azure Resources: azurecaf_name, azurerm_nat_gateway

Inputs

Name Description Type Required Default Validation
"settings" "The settings for the Azure resource." any yes - -
"name" any yes - -
"location" any yes - -
"resource_group_name" any yes - -
"subnet_id" any no "" -
"public_ip_address_id" any no "" -
"idle_timeout_in_minutes" "(Optional) Specifies the timeout for the TCP idle connection. The value can be set between 4 and 30 minutes." number no - "Provide an allowed value as defined in https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/nat_gateway#idle_timeout_in_minutes."
"base_tags" any no {} -
"tags" "(Optional) Tags for the resource to be deployed." map(any) no - -

Outputs

Name Description Sensitive Value
"resource_guid" "The resource GUID property of the NAT Gateway." - azurerm_nat_gateway.nat_gateway.resource_guid
"id" "The ID of the NAT Gateway." - azurerm_nat_gateway.nat_gateway.id

Sources

  • modules/networking/nat_gateways/locals.tf
  • modules/networking/nat_gateways/main.tf
  • modules/networking/nat_gateways/module.tf
  • modules/networking/nat_gateways/outputs.tf
  • modules/networking/nat_gateways/variables.tf