Truefoundry Azure Network Module
| Name | Version |
|---|---|
| terraform | >= 1.4 |
| azurerm | >= 3.107.0 |
| Name | Version |
|---|---|
| azurerm | >= 3.107.0 |
| Name | Source | Version |
|---|---|---|
| vnet | Azure/vnet/azurerm | 4.1.0 |
| Name | Type |
|---|---|
| azurerm_nat_gateway.nat_gateway | resource |
| azurerm_nat_gateway_public_ip_association.nat_gateway_public_ip_association | resource |
| azurerm_private_dns_zone.postgres_dns | resource |
| azurerm_private_dns_zone_virtual_network_link.postgres_dns_link | resource |
| azurerm_public_ip.nat_ip | resource |
| azurerm_subnet_nat_gateway_association.nat_gateway_association | resource |
| azurerm_virtual_network.vnet | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| cluster_name | Cluster name to generate the virtual network name | string |
n/a | yes |
| control_plane_enabled | Flag to check Control plane enabled | bool |
n/a | yes |
| external_public_address_id | External public address ID. If empty, a public IP will be created and associated with the NAT gateway. Only used if var.use_default_nat is false and var.use_external_public_addresses is true. | string |
"" |
no |
| location | Location to create the vnet | string |
n/a | yes |
| public_ip_address_sku | SKU of the public IP address. Only used if var.use_default_nat is false and var.use_external_public_addresses is false. | string |
"Standard" |
no |
| resource_group_name | Azure Resource Group | string |
n/a | yes |
| subnet_cidr | Assigns IPv4 subnet | string |
n/a | yes |
| subnet_id | Subnet ID. Used only when use_existing_vnet is enabled | string |
n/a | yes |
| tags | AWS Tags common to all the resources created | map(string) |
{} |
no |
| use_default_nat | Flag to use default NAT gateway. If false, a NAT gateway will be created and associated with the subnet. | bool |
true |
no |
| use_existing_vnet | Flag to enable existing network | bool |
false |
no |
| use_external_public_addresses | Flag to use external public addresses. If true, var.external_public_addresses will be used for the public IP addresses of the NAT gateway. Only used if var.use_default_nat is false. | bool |
false |
no |
| use_for_each | Use for_each instead of count to create multiple resource instances. |
bool |
false |
no |
| vnet_cidr | The CIDR block for the VPC. | string |
n/a | yes |
| vnet_id | VPC ID. Used only when use_existing_vnet is enabled | string |
n/a | yes |
| Name | Description |
|---|---|
| db_private_dns_zone_id | n/a |
| subnet_id | n/a |
| vnet_address_space | n/a |
| vnet_end_ip_address | n/a |
| vnet_id | n/a |
| vnet_name | n/a |
| vnet_start_ip_address | n/a |