-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
33 lines (31 loc) · 815 Bytes
/
variables.tf
File metadata and controls
33 lines (31 loc) · 815 Bytes
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
# VARIABLES
variable "region" {
description = "AWS region to use when provisioning"
type = string
default = "eu-west-2"
}
variable "key_name" {
description = "ec2 instance keypair to use when provisioning"
type = string
default = "keypair"
}
variable "env_prefix" {
description = "prefix used for tags and the like"
type = string
default = "dev"
}
variable "instance_size" {
description = "instance type mapping based on role"
type = map(string)
default = { wordpress = "t2.micro" }
}
variable "dns_zone_id" {
description = "zone id for route 53"
type = string
default = "secret_aws_route_53_zone"
}
variable "wordpress_count" {
description = "number of wordpress servers to deploy"
type = number
default = 1
}