-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.tf
More file actions
50 lines (42 loc) · 1.13 KB
/
config.tf
File metadata and controls
50 lines (42 loc) · 1.13 KB
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
50
variable "cloudflare_api_token" {
type = string
description = "Token used to access cloudfare"
}
variable "cloudflare_zone_id" {
type = string
description = "The unique ID to identify the domain/subdomain"
}
variable "env_list" {
type = list(string)
default = ["dev"]
description = "List of sites to create"
}
variable "instance_type" {
type = string
default = "t2.micro"
description = "EC2 instance type used to run WordPress"
}
variable "db_user" {
type = string
default = "admin"
description = "Database user provided to wordpress"
}
variable "db_password" {
type = string
description = "Wordpress database user password"
}
variable "domain_name" {
type = string
default = "nemorluther.fr"
description = "Root domain name used to create subdomains"
}
variable "wordpress_subdomain" {
type = string
default = "wordpress"
description = "WordPress subdomain prefix appended to domain_name"
}
variable "phpmyadmin_subdomain" {
type = string
default = "phpmyadmin"
description = "phpMyAdmin subdomain prefix appended to domain_name"
}