Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 2.09 KB

README.md

File metadata and controls

57 lines (39 loc) · 2.09 KB

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.