initial commit of replacement infrastructure automation
[awsible] / infrastructure / modules / management-stack / variables.tf
1 variable "vpc_id" {
2 description = "Which VPC to build this in."
3 }
4
5 variable "acct_name" {
6 description = "Name of AWS account."
7 }
8
9 variable "instance_type" {
10 default = "t2.small"
11 }
12
13 variable "key_name" {}
14
15 variable "management_subnet_ids" {
16 type = "list"
17 description = "Which subnets the management servers will be in. (Typically private.)"
18 }
19
20 variable "phase" {
21 description = "Release phase of this environment. (Such as dev, stage, or prod.)"
22 default = "dev"
23 }
24
25 variable "ami" {
26 description = "Specify an AMI to use; if empty, use most recent amazon linux."
27 default = ""
28 }
29
30 variable "security_group_ids" {
31 type = "list"
32 description = "Additional security groups the management servers will belong to. (Typically the general-access SG.)"
33 default = []
34 }
35
36 variable "policy_arns" {
37 type = "list"
38 description = "Additional policy arns the management role will have. (Typically the base policy.)"
39 default = []
40 }
41
42 variable "management_elb" {
43 default = false
44 description = "Whether to place management servers behind an ELB."
45 }
46
47 variable "management_data_efs" {
48 default = true
49 description = "Management instances share a common EFS filesystem. If false, each has its own EBS volume."
50 }
51
52 variable "management_data_volume_size" {
53 default = 20
54 description = "Size of individual data volumes, if used."
55 }
56
57 variable "management_service_name" {
58 default = "management"
59 }
60
61 variable "sns_events_name" {
62 default = ""
63 description = "Name of the SNS topic to which ASGs send notifications. Defaults to {management_service_name}-events."
64 }
65
66 variable "sqs_events_name" {
67 default = ""
68 description = "Name of the SQS queue the events topic feeds, and the management system listens to. Defaults to {management_service_name}-events."
69 }
70
71 variable "sns_alerts_name" {
72 default = ""
73 description = "Name of the SNS topic to which informational messages are sent, to be mailed to interested meat-based parties. Defaults to {management_service_name}-alerts."
74 }