-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
94 lines (77 loc) · 2 KB
/
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
Terraform Variables
*/
//
// Client environment
// Some options are different between operating systems
// If you are running Windows, set this to "windows"
variable "client_os" { default = "unix" }
//
// Site configuration
variable "site" { default = "sfx" }
variable "site_formal" { default = "Seattlefenix"}
variable "domain" { default = "seattlefenix.net" }
//
// AWS configuration
variable "profile" { default = "seattlefenix" }
//
// Site Infrastructure configuration
variable "infrastructure" {
default = {
region = "us-west-2"
create_storage = true
enable_storage_log = true
use_tf_dynamo_lock = true
use_tf_remote_state = true
}
}
//
// VPCs
variable "vpc" { default = ["sfx-services"] }
variable "sfx-services" {
default = {
region = "us-west-2"
network = "172.16.192.0/20"
prefix_extent = 6
public_subnets = 3
private_subnets = 3
}
}
//
// Services
variable "service" { default = ["consul", "mx", "www"] }
variable "consul" {
default = {
cluster_size = 0
az_stripe = true
instance_type = "t2.nano"
ami_name = ""
ami_owner = ""
use_elb = false
}
}
variable "mx" {
default = {
cluster_size = 1
az_stripe = true
instance_type = "t2.micro"
ami_name = ""
ami_owner = ""
use_elb = false
}
}
variable "www" {
default = {
cluster_size = 0
az_stripe = true
instance_type = "t2.micro"
ami_name = ""
ami_owner = ""
use_elb = false
}
}
variable "ssh" {
default = {
seattlefenix = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCoWL22sriOPL3NPcDgCnJNbUTPXDV5KHTyqfCxlJCUHTvndRQh2dntmbwJyhNtNce3MKkWju8qA2djFfNWgcXQoRqiz78PVA+Qq6oD2iHm5gR2t5KJGOMGCOfSZhfoZcZEP345pO448XX+7FOwYyiNPbFWIUNAQxUFkDWn55fZ2qNzT8AZUDcJD7LxzW0l3LLcBoosGawhiBT9FZpdIYETRG0GXpYg3s+4sX+835Ws8tCvQfZIAjz/ZZ5gz7gik5QcFCy6vG7oW4dwbLJKRfqo66WeQw/9MXbRK1XgSv1yIomUtqUz8mrh85eB93A1thuH6Z74v6vaTkltSaTOg0dh"
}
}