Skip to content

Commit

Permalink
Merge pull request #23502 from ergihu/r/azurerm_nat_gateway_docs_ip_a…
Browse files Browse the repository at this point in the history
…ssociation

Update nat_gateway.html.markdown to add ip association examples
  • Loading branch information
manicminer authored Oct 10, 2023
2 parents af79072 + 1e050f7 commit f125e45
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions website/docs/r/nat_gateway.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
---
# azurerm_nat_gateway

Manages a Azure NAT Gateway.
Manages an Azure NAT Gateway.

## Example Usage

Expand All @@ -17,23 +17,6 @@ resource "azurerm_resource_group" "example" {
location = "West Europe"
}
resource "azurerm_public_ip" "example" {
name = "nat-gateway-publicIP"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
allocation_method = "Static"
sku = "Standard"
zones = ["1"]
}
resource "azurerm_public_ip_prefix" "example" {
name = "nat-gateway-publicIPPrefix"
location = azurerm_resource_group.example.location
resource_group_name = azurerm_resource_group.example.name
prefix_length = 30
zones = ["1"]
}
resource "azurerm_nat_gateway" "example" {
name = "nat-Gateway"
location = azurerm_resource_group.example.location
Expand All @@ -44,6 +27,8 @@ resource "azurerm_nat_gateway" "example" {
}
```

For more complete examples, please see the [azurerm_nat_gateway_public_ip_association](nat_gateway_public_ip_association.html) and [azurerm_nat_gateway_public_ip_prefix_association](nat_gateway_public_ip_prefix_association.html) resources.

## Argument Reference

The following arguments are supported:
Expand Down

0 comments on commit f125e45

Please sign in to comment.