Skip to content

truefoundry/terraform-google-truefoundry-network

Repository files navigation

terraform-google-truefoundry-network

Truefoundry Google Cloud Network Module

Requirements

Name Version
terraform ~> 1.4
google ~> 6.21
time ~> 0.12

Providers

Name Version
time ~> 0.12

Modules

Name Source Version
cloud_router terraform-google-modules/cloud-router/google 6.2.0
network terraform-google-modules/network/google 10.0.0

Resources

Name Type
time_sleep.wait_2_mins resource

Inputs

Name Description Type Default Required
cluster_name Name of the cluster string n/a yes
enable_flow_logs Enable flow logs for subnets bool false no
enable_private_access Private access for subnets bool true no
network_id ID of the existing network. Only used when use_existing_network is set to true string "" no
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 List of secondary ranges
list(object({
range_name = string
ip_cidr_range = string
}))
[] no
private_subnet_cidr CIDR range for private subnet string "" no
project_id Project ID in which clusters are deployed string n/a yes
region Region to deploy your cluster in string n/a yes
routing_mode Routing mode for the network string "GLOBAL" no
subnet_id ID of the existing subnet. Only used when use_existing_network is set to true string "" no
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 ID of the network
subnet_id ID of the subnet