Simple VPC
Terraform scripts to create a simple GCP VPC using the module vpc.
To create a simple GCP VPC:
terraform init
terraform plan
terraform apply
To delete all resource:
terraform destroy
Requirements
Name |
Version |
|---|---|
>= 1.0 |
|
~> 6.16.0 |
|
~> 3.5.1 |
Providers
Name |
Version |
|---|---|
~> 3.5.1 |
Modules
Name |
Source |
Version |
|---|---|---|
../../../vpc |
n/a |
Resources
Name |
Type |
|---|---|
resource |
Inputs
Name |
Description |
Type |
Default |
Required |
|---|---|---|---|---|
Project name |
|
n/a |
yes |
|
The GCP region used to deploy NAT routers if used |
|
|
no |
Outputs
Name |
Description |
|---|---|
The VPC |
|
The name of the VPC |
|
Map of private subnets |
|
Map of public subnets |