Skip to content

[AVM Module Issue]: Support StandardV2 SKU for NAT Gateway and Public IP #6506

@lopf

Description

@lopf

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Feature Request

Module Name

avm/res/network/nat-gateway

(Optional) Module Version

2.0.0

Description

The current module hardcodes the NAT Gateway SKU to Standard. This prevents using StandardV2, which enables a zone-redundant NAT Gateway and improves resilience against Availability Zone failures:
https://learn.microsoft.com/en-us/azure/reliability/reliability-nat-gateway#resilience-to-availability-zone-failures

To use StandardV2, the associated Public IP must also be created with the StandardV2 SKU, which is currently not possible with the module.

Proposed change:

  • Make the NAT Gateway SKU configurable instead of hardcoded
  • When StandardV2 is selected:
    • Ensure the Public IP is also created with StandardV2
    • Optionally validate this in the module to prevent misconfiguration

(Optional) Correlation Id

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Needs: Triage

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions