subnet
GMafra/subnet/gcp
Terraform module for creating Subnets on Google Cloud
Subnetwork module for Google Cloud Platform Creates and manages Subnetworks within a VPC on GCP Basic usage ``hcl module subnet-module { source = "/Users/Gabriel/Terraform/GCP/modules/subnet-module" name = "tf-subnet" vpc = "tf-vpc" ip_cidr_range = "10.0.1.0/24" } ` It can also be used in conjunction with my VPC module to create VPC + Subnet `hcl module vpc-module { source = "git@github.com:GMafra/GCP-modules.git//vpc-module" name = "tf-vpc" } module subnet-module { source = "git@github.com:GMafra/GCP-modules.git//subnet-module" name = "tf-subnet" vpc = "${module.vpc-module.name}" ip_cidr_range = "10.0.1.0/24" } `` Variables |Name|Description|Type|Default|Required| |----|-----------|:----:|:-------:|:--------:| |name|Subnet name|String| - |Yes| |vpc|VPC to link the subnet to|String| - |Yes
| Name | Type | Description | Default |
|---|---|---|---|
| ip_cidr_range | string | IP range - format 0.0.0.0/0 | required |
| name | string | Subnet name | required |
| vpc | string | VPC to link the subnet to | required |
| subnet-region | string | Zone associated with the subnet. Defaults to the region configured in the provid | "" |
gateway_address — The IP address of the gateway.self_link — The URI of the created resourceip_cidr_range — The IP address range that machines in this network are assigned to, represented as a CIDR blockname — Subnetwork nameTerraform Module to define a consistent naming convention by (namespace, stage,
Terraform module that provision an S3 bucket to store the terraform.tfstate file
Terraform Module that defines a VPC with public/private subnets across multiple
Terraform module to provision an AWS Elastic Beanstalk Environment