Skip to content

PHIDELIST/terraform-azure-network-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Azure Network Layer

Provisions an initial resource group and vnet with a NAT Gateway, private and public subnets. Blank diagram (15)

Requirements

Name Version
azurerm ~> 3.103.1

Providers

Name Version
azurerm ~> 3.103.1

Modules

No modules.

Resources

Name Type
azurerm_nat_gateway.main resource
azurerm_nat_gateway_public_ip_association.main resource
azurerm_public_ip.nat resource
azurerm_resource_group.main resource
azurerm_subnet.private resource
azurerm_subnet.public resource
azurerm_subnet_nat_gateway_association.public resource
azurerm_virtual_network.main resource

Inputs

Name Description Type Default Required
nat_gateway_name The name of the NAT gateway. string "phidelNATGateway" no
private_subnet_address The address of the private subnet. string "10.0.2.0/24" no
private_subnet_name The name of the private subnet. string "privateSubnet" no
public_ip_name The name of the public IP. string "phidelPublicIP" no
public_subnet_address The address of the public subnet. string "10.0.1.0/24" no
public_subnet_name The name of the public subnet. string "publicSubnet" no
resource_group_location The location of the resource group in which to create the Azure resources. string "East US" no
resource_group_name The name of the resource group in which to create the Azure resources. string n/a yes
vnet_address_space The address space of the virtual network. list(string)
[
"10.0.0.0/16"
]
no
vnet_name The name of the virtual network. string "phidelVNet" no

Outputs

Name Description
private_subnet_id The ID of the private subnet.
public_subnet_id The ID of the public subnet.
virtual_network_id The ID of the virtual network.

Testing

Terraform tests let you validate your module configuration without impacting your existing state file or resources. Testing is a separate operation that is not part of a plan or apply workflow, but instead builds ephemeral infrastructure and tests your assertions against in-memory state for those short-lived resources. This lets you safely verify changes to your module without affecting your infrastructure.

  • To execute test run
  1. terraform init
  2. terraform test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages