-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
91 lines (72 loc) · 1.82 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
variable "AWS_ACCESS_KEY" {
description = "The AWS access key."
}
variable "AWS_SECRET_KEY" {
description = "The AWS secret key."
}
variable "region" {
description = "The AWS region to create resources in."
default = "eu-west-1"
}
#variable "availability_zone" {
# description = "The availability zone"
# default = "eu-west-1a"
#}
variable "ecs_cluster_name" {
description = "The name of the Amazon ECS cluster."
default = "vsts"
}
variable "amis" {
description = "Which AMI to spawn. Defaults to the AWS ECS optimized images."
default = {
eu-west-1 = "ami-95f8d2f3"
}
}
variable "instance_type" {
default = "t2.micro"
}
variable "key_name" {
default = "mats"
description = "SSH key name in your AWS account for AWS instances."
}
variable "min_instance_size" {
default = 1
description = "Minimum number of EC2 instances."
}
variable "max_instance_size" {
default = 2
description = "Maximum number of EC2 instances."
}
variable "desired_instance_capacity" {
default = 1
description = "Desired number of EC2 instances."
}
variable "desired_service_count" {
default = 1
description = "Desired number of ECS services."
}
#variable "s3_bucket" {
# default = "vsts-docker-agent"
# description = "S3 bucket where remote state and vsts data will be stored."
#}
#variable "restore_backup" {
# default = false
# description = "Whether or not to restore vsts backup."
#}
variable "vsts_repository_url" {
default = "matsskoglund/vsts-docker-agent"
description = "Docker repository for vsts."
}
variable "env_VSTS_ACCOUNT" {
default = "matsskoglund"
description = "The VSTS account"
}
variable "env_VSTS_TOKEN" {
description = "The pat token"
}
variable "vpc" {
default = "vpc-16152072"
}
variable "subnet_1c" {
default = "subnet-99e5defd"
}