|
|
|
|
@ -2,18 +2,18 @@ |
|
|
|
|
|
|
|
|
|
variable tags { |
|
|
|
|
description = "Different tag values which should be assigned to AWS resources created via Terraform)" |
|
|
|
|
type = "map" |
|
|
|
|
type = map |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# AWS Regions / Zones |
|
|
|
|
|
|
|
|
|
variable aws_region { |
|
|
|
|
type = "string" |
|
|
|
|
type = string |
|
|
|
|
description = "AWS region which should be used" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
variable aws_zones { |
|
|
|
|
type = "list" |
|
|
|
|
type = list |
|
|
|
|
description = "AWS AZs (Availability zones) where subnets should be created" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -21,7 +21,7 @@ variable aws_zones { |
|
|
|
|
|
|
|
|
|
variable private_subnets { |
|
|
|
|
description = "Create both private and public subnets" |
|
|
|
|
type = "string" |
|
|
|
|
type = string |
|
|
|
|
default = "false" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -29,12 +29,12 @@ variable private_subnets { |
|
|
|
|
|
|
|
|
|
variable vpc_name { |
|
|
|
|
description = "Name of the VPC" |
|
|
|
|
type = "string" |
|
|
|
|
type = string |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Network details (Change this only if you know what you are doing or if you think you are lucky) |
|
|
|
|
|
|
|
|
|
variable vpc_cidr { |
|
|
|
|
type = "string" |
|
|
|
|
type = string |
|
|
|
|
description = "CIDR of the VPC" |
|
|
|
|
} |
|
|
|
|
|