initial commit of replacement infrastructure automation
[awsible] / infrastructure / modules / tf_aws_asg_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 "notification_arns" {
10 type = "list"
11 description = "ARNs of SNS topics to send ASG event notifications to."
12 default = ""
13 }
14
15 variable "module" {
16 description = "Name of this application."
17 }
18
19 variable "stack" {
20 description = "Subtype of module. (Such as 'master' or 'data'.)"
21 default = ""
22 }
23
24 variable "country" {
25 description = "'Country' code, which actually represents a specific AZ for us."
26 default = ""
27 }
28
29 variable "phase" {
30 description = "Release phase of this environment. (Such as dev, stage, or prod.)"
31 default = "dev"
32 }
33
34 variable "suffix" {
35 description = "Extra stuff tacked on to end of name."
36 default = ""
37 }
38
39 variable "instance_type" {}
40
41 variable "key_name" {}
42
43 variable "public_ips" {
44 default = false
45 }
46
47 variable "subnet_ids" {
48 type = "list"
49 description = "Which subnets the servers will be in."
50 }
51
52 variable "iam_allow_actions" {
53 type = "list"
54 default = []
55 description = "Allowed actions to associate with the IAM role."
56 }
57
58 variable "iam_policy_arns" {
59 type = "list"
60 default = []
61 description = "Additional policies to attach to IAM role."
62 }
63
64 variable "max_size" {
65 description = "Defaults to 1 instance per subnet. (Cannot be zero.)"
66 default = 0
67 }
68
69 variable "min_size" {
70 default = 0
71 }
72
73 variable "health_check_grace_period" {
74 default = 600
75 }
76
77 variable "ami" {
78 description = "Specify an AMI to use; if empty, use most recent amazon linux."
79 default = ""
80 }
81
82 variable "elb_sg_ids" {
83 type = "list"
84 description = "ID of elb security group, to allow access from."
85 default = []
86 }
87
88 variable "elbs" {
89 type = "list"
90 default = []
91 }
92
93 variable "security_group_ids" {
94 type = "list"
95 description = "Additional security groups the servers will belong to."
96 default = []
97 }