Skip to content

An opinionated Terraform module that can be used to create and manage a VPC in Google Cloud Platform in a simplified way.

License

Notifications You must be signed in to change notification settings

isovalent/terraform-gcp-vpc

Repository files navigation

terraform-gcp-vpc

An opinionated Terraform module that can be used to create and manage a VPC in Google Cloud Platform in a simplified way.

Requirements

Name Version
terraform >= 1.2.0
google >= 4.84.0

Providers

No providers.

Modules

Name Source Version
main terraform-google-modules/network/google 9.1.0

Resources

No resources.

Inputs

Name Description Type Default Required
mtu mtu value for vpc number 1460 no
name The name of the VPC. string n/a yes
project_id The ID of the project in which to create the VPC. string n/a yes
subnets The list of subnets to create.
list(object({
cidr = string
description = string
name = string
region = string
secondary_ranges = list(object({
cidr = string
name = string
}))
}))
n/a yes

Outputs

Name Description
id The ID of the VPC.

License

Copyright 2022 Isovalent, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

An opinionated Terraform module that can be used to create and manage a VPC in Google Cloud Platform in a simplified way.

Resources

License

Stars

Watchers

Forks

Packages

No packages published