https://github.com/truefoundry/terraform-azure-truefoundry-network
Truefoundry Azure Network Module
https://github.com/truefoundry/terraform-azure-truefoundry-network
Last synced: 4 months ago
JSON representation
Truefoundry Azure Network Module
- Host: GitHub
- URL: https://github.com/truefoundry/terraform-azure-truefoundry-network
- Owner: truefoundry
- License: apache-2.0
- Created: 2023-07-12T11:04:34.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-23T11:38:28.000Z (5 months ago)
- Last Synced: 2026-02-13T08:05:08.600Z (4 months ago)
- Language: HCL
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-azure-truefoundry-network
Truefoundry Azure Network Module
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.4 |
| [azurerm](#requirement\_azurerm) | >= 3.107.0 |
## Providers
| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | >= 3.107.0 |
## Modules
| Name | Source | Version |
|------|--------|---------|
| [vnet](#module\_vnet) | Azure/vnet/azurerm | 4.1.0 |
## Resources
| Name | Type |
|------|------|
| [azurerm_nat_gateway.nat_gateway](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/nat_gateway) | resource |
| [azurerm_nat_gateway_public_ip_association.nat_gateway_public_ip_association](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/nat_gateway_public_ip_association) | resource |
| [azurerm_private_dns_zone.postgres_dns](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/private_dns_zone) | resource |
| [azurerm_private_dns_zone_virtual_network_link.postgres_dns_link](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/private_dns_zone_virtual_network_link) | resource |
| [azurerm_public_ip.nat_ip](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/public_ip) | resource |
| [azurerm_subnet_nat_gateway_association.nat_gateway_association](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subnet_nat_gateway_association) | resource |
| [azurerm_virtual_network.vnet](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/virtual_network) | data source |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [cluster\_name](#input\_cluster\_name) | Cluster name to generate the virtual network name | `string` | n/a | yes |
| [control\_plane\_enabled](#input\_control\_plane\_enabled) | Flag to check Control plane enabled | `bool` | n/a | yes |
| [external\_public\_address\_id](#input\_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](#input\_location) | Location to create the vnet | `string` | n/a | yes |
| [public\_ip\_address\_sku](#input\_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](#input\_resource\_group\_name) | Azure Resource Group | `string` | n/a | yes |
| [subnet\_cidr](#input\_subnet\_cidr) | Assigns IPv4 subnet | `string` | n/a | yes |
| [subnet\_id](#input\_subnet\_id) | Subnet ID. Used only when use\_existing\_vnet is enabled | `string` | n/a | yes |
| [tags](#input\_tags) | AWS Tags common to all the resources created | `map(string)` | `{}` | no |
| [use\_default\_nat](#input\_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](#input\_use\_existing\_vnet) | Flag to enable existing network | `bool` | `false` | no |
| [use\_external\_public\_addresses](#input\_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](#input\_use\_for\_each) | Use `for_each` instead of `count` to create multiple resource instances. | `bool` | `false` | no |
| [vnet\_cidr](#input\_vnet\_cidr) | The CIDR block for the VPC. | `string` | n/a | yes |
| [vnet\_id](#input\_vnet\_id) | VPC ID. Used only when use\_existing\_vnet is enabled | `string` | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| [db\_private\_dns\_zone\_id](#output\_db\_private\_dns\_zone\_id) | n/a |
| [subnet\_id](#output\_subnet\_id) | n/a |
| [vnet\_address\_space](#output\_vnet\_address\_space) | n/a |
| [vnet\_end\_ip\_address](#output\_vnet\_end\_ip\_address) | n/a |
| [vnet\_id](#output\_vnet\_id) | n/a |
| [vnet\_name](#output\_vnet\_name) | n/a |
| [vnet\_start\_ip\_address](#output\_vnet\_start\_ip\_address) | n/a |