Skip to content

Commit

Permalink
[Adding variable descriptions]
Browse files Browse the repository at this point in the history
  • Loading branch information
singhs020 committed Aug 6, 2022
1 parent 3616033 commit b971973
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# aws-vpc-terraform

![awsmag.com](./AWSMAG.com.png)
![awsmag.com](https://raw.githubusercontent.com/awsmag/terraform-aws-vpc/master/AWSMAG.com.png)

Terraform module to create a vpc with public and private subnets across multiple availability zones along with internet gateway and NAT gateway.

Expand Down
15 changes: 13 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@

variable "region" {}
variable "region" {
description = "The region in which you would like to create a VPC"
nullable = false
}

variable "cidr_block" {}
variable "cidr_block" {
description = "the primary CIDR block for the VPC"
nullable = false
}

variable "public_subnet_cidr" {
description = "The list of CIDR blocks for public subnet"
type = list(string)
nullable = false
}

variable "private_subnet_cidr" {
description = "The list of CIDR blocks for private subnet"
type = list(string)
nullable = false
}

variable "namespace" {
default = "tf-generated-vpc"
nullable = false
}

0 comments on commit b971973

Please sign in to comment.