forked from koding/tf_kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.tf
84 lines (65 loc) · 1.97 KB
/
vars.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
variable "zk_hosts" { }
variable "zk_elb_sec_group_id" { }
variable "env_name" {
default = "koding-kafka"
}
variable "app_name" {
default = "koding"
}
variable "solution_stack_name" {
default = "64bit Amazon Linux 2016.03 v2.1.2 running PHP 5.6"
}
variable "key_pair_name" {
default = "key-koding-eb-deployment-dev"
}
variable "iaminstanceprofile" {
default = "aws-elasticbeanstalk-ec2-role"
}
variable "s3_bucket_name" {
default = "koding-dev-test-exhibitor"
}
variable "ami_id" {
default = "ami-39990d2e"
}
variable "instance_type" {
default = "c3.2xlarge"
}
variable "vpc_id" {
default = "vpc-54a53133"
}
variable "vpc_subnets" {
default = "subnet-2a2e1b00,subnet-f4dbefac"
}
variable "elb_subnet_ids" {
default = "subnet-2a2e1b00,subnet-f4dbefac"
}
variable "healthCheckEndpoint" {
default = "TCP:9092"
}
variable "deployment_type" {
description = "Choose a deployment policy for application version deployments. (AllAtOnce, Rolling, RollingWithAdditionalBatch, Immutable)"
default = "Rolling"
}
variable "deployment_command_timeout" {
description = "Number of seconds to wait for an instance to complete executing commands. (1 to 3600)"
default = "600"
}
variable "deployment_batch_size_type" {
description = "The type of number that is specified in BatchSize. (Percentage, Fixed)"
default = "Fixed"
}
variable "deployment_batch_size" {
description = " Percentage or fixed number of Amazon EC2 instances in the Auto Scaling group on which to simultaneously perform deployments. Valid values vary per BatchSizeType setting. (1 to 100 (Percentage). 1 to aws:autoscaling:asg::MaxSize (Fixed))"
default = "1"
}
variable "service_role_name" {
description = "The name of an IAM role that Elastic Beanstalk uses to manage resources for the environment."
default = "aws-elasticbeanstalk-service-role"
}
# Instance Settings
variable "ec2_key_name" {
default = "ec2_key"
}
variable "aws_security_group_prefix" {
default = "sec-group-"
}