https://github.com/truefoundry/terraform-google-truefoundry-network
Truefoundry Google Cloud Network Module
https://github.com/truefoundry/terraform-google-truefoundry-network
Last synced: 5 months ago
JSON representation
Truefoundry Google Cloud Network Module
- Host: GitHub
- URL: https://github.com/truefoundry/terraform-google-truefoundry-network
- Owner: truefoundry
- License: apache-2.0
- Created: 2023-07-12T11:43:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-12-15T11:21:36.000Z (6 months ago)
- Last Synced: 2025-12-18T12:18:18.410Z (6 months ago)
- Language: HCL
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-google-truefoundry-network
Truefoundry Google Cloud Network Module
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | ~> 1.4 |
| [google](#requirement\_google) | ~> 6.21 |
| [time](#requirement\_time) | ~> 0.12 |
## Providers
| Name | Version |
|------|---------|
| [time](#provider\_time) | ~> 0.12 |
## Modules
| Name | Source | Version |
|------|--------|---------|
| [cloud\_router](#module\_cloud\_router) | terraform-google-modules/cloud-router/google | 6.2.0 |
| [network](#module\_network) | terraform-google-modules/network/google | 10.0.0 |
## Resources
| Name | Type |
|------|------|
| [time_sleep.wait_2_mins](https://registry.terraform.io/providers/hashicorp/time/latest/docs/resources/sleep) | resource |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [cluster\_name](#input\_cluster\_name) | Name of the cluster | `string` | n/a | yes |
| [enable\_flow\_logs](#input\_enable\_flow\_logs) | Enable flow logs for subnets | `bool` | `false` | no |
| [enable\_private\_access](#input\_enable\_private\_access) | Private access for subnets | `bool` | `true` | no |
| [existing\_nat\_ips](#input\_existing\_nat\_ips) | List of existing NAT IPs. Only used when use\_existing\_nat\_ips is set to true | `list(string)` | `[]` | no |
| [network\_id](#input\_network\_id) | ID of the existing network. Only used when use\_existing\_network is set to true | `string` | `""` | no |
| [network\_profile](#input\_network\_profile) | "A full or partial URL of the network profile to apply to this network.
This field can be set only at resource creation time. For example, the
following are valid URLs:
* https://www.googleapis.com/compute/beta/projects/{projectId}/global/networkProfiles/{network_profile_name}
* projects/{projectId}/global/networkProfiles/{network\_profile\_name} | `string` | `null` | no |
| [network\_vpc\_secondary\_ranges](#input\_network\_vpc\_secondary\_ranges) | List of secondary ranges |
list(object({
range_name = string
ip_cidr_range = string
})) | `[]` | no |
| [private\_subnet\_cidr](#input\_private\_subnet\_cidr) | CIDR range for private subnet | `string` | `""` | no |
| [project\_id](#input\_project\_id) | Project ID in which clusters are deployed | `string` | n/a | yes |
| [region](#input\_region) | Region to deploy your cluster in | `string` | n/a | yes |
| [routing\_mode](#input\_routing\_mode) | Routing mode for the network | `string` | `"GLOBAL"` | no |
| [subnet\_id](#input\_subnet\_id) | ID of the existing subnet. Only used when use\_existing\_network is set to true | `string` | `""` | no |
| [use\_existing\_nat\_ips](#input\_use\_existing\_nat\_ips) | If true will not create the NAT IPs and forward the existing\_nat\_ips variable values to the NAT IPs field. | `bool` | `false` | no |
| [use\_existing\_network](#input\_use\_existing\_network) | If true will not create the network and forward the input values to the same outputs. | `bool` | `false` | no |
## Outputs
| Name | Description |
|------|-------------|
| [network\_id](#output\_network\_id) | ID of the network |
| [subnet\_id](#output\_subnet\_id) | ID of the subnet |