generated from kwame-mintah/terraform-aws-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
49 lines (35 loc) · 772 Bytes
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
variable "aws_region" {
description = <<-EOF
The AWS region.
EOF
type = string
}
variable "application_vpc_ipv4_cidr_block" {
description = <<-EOF
TThe IPv4 CIDR block for the VPC.
EOF
type = string
}
variable "env_prefix" {
description = <<-EOF
The prefix added to resources in the environment.
EOF
type = string
validation {
condition = contains(["dev", "staging", "prod", "sandbox"], var.env_prefix)
error_message = "The env_prefix value must be either: dev, staging, prod or sandbox."
}
}
variable "project_name" {
description = <<-EOF
The name of the project.
EOF
type = string
}
variable "tags" {
description = <<-EOF
Tags to be added to resources created.
EOF
type = map(string)
default = {}
}