X-Git-Url: http://git.squeep.com/?p=awsible;a=blobdiff_plain;f=infrastructure%2Fmodules%2Ftf_aws_asg_stack%2Fvariables.tf;fp=infrastructure%2Fmodules%2Ftf_aws_asg_stack%2Fvariables.tf;h=e8a8b0d94a9cc36e02fc7609232ff7ff0c072930;hp=0000000000000000000000000000000000000000;hb=8576668075ca95e44481d9c9ed29d7e6af024bdc;hpb=933c48ff1e134168de3aaa2d20e4d43c13d04928 diff --git a/infrastructure/modules/tf_aws_asg_stack/variables.tf b/infrastructure/modules/tf_aws_asg_stack/variables.tf new file mode 100644 index 0000000..e8a8b0d --- /dev/null +++ b/infrastructure/modules/tf_aws_asg_stack/variables.tf @@ -0,0 +1,97 @@ +variable "vpc_id" { + description = "Which VPC to build this in." +} + +variable "acct_name" { + description = "Name of AWS account." +} + +variable "notification_arns" { + type = "list" + description = "ARNs of SNS topics to send ASG event notifications to." + default = "" +} + +variable "module" { + description = "Name of this application." +} + +variable "stack" { + description = "Subtype of module. (Such as 'master' or 'data'.)" + default = "" +} + +variable "country" { + description = "'Country' code, which actually represents a specific AZ for us." + default = "" +} + +variable "phase" { + description = "Release phase of this environment. (Such as dev, stage, or prod.)" + default = "dev" +} + +variable "suffix" { + description = "Extra stuff tacked on to end of name." + default = "" +} + +variable "instance_type" {} + +variable "key_name" {} + +variable "public_ips" { + default = false +} + +variable "subnet_ids" { + type = "list" + description = "Which subnets the servers will be in." +} + +variable "iam_allow_actions" { + type = "list" + default = [] + description = "Allowed actions to associate with the IAM role." +} + +variable "iam_policy_arns" { + type = "list" + default = [] + description = "Additional policies to attach to IAM role." +} + +variable "max_size" { + description = "Defaults to 1 instance per subnet. (Cannot be zero.)" + default = 0 +} + +variable "min_size" { + default = 0 +} + +variable "health_check_grace_period" { + default = 600 +} + +variable "ami" { + description = "Specify an AMI to use; if empty, use most recent amazon linux." + default = "" +} + +variable "elb_sg_ids" { + type = "list" + description = "ID of elb security group, to allow access from." + default = [] +} + +variable "elbs" { + type = "list" + default = [] +} + +variable "security_group_ids" { + type = "list" + description = "Additional security groups the servers will belong to." + default = [] +}