forked from shuaibiyy/terraform-jenkins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
50 lines (42 loc) · 1.15 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
variable "access_key" {
description = "The AWS access key."
}
variable "secret_key" {
description = "The AWS secret key."
}
variable "region" {
description = "The AWS region to create resources in."
default = "us-east-1"
}
variable "availability_zone" {
description = "The availability zone"
default = "us-east-1b"
}
variable "jenkins_name" {
description = "The name of the Jenkins server."
default = "jenkins"
}
variable "amis" {
description = "Which AMI to spawn. Defaults to the Weave ECS AMIs: https://github.com/weaveworks/integrations/tree/master/aws/ecs."
default = {
us-east-1 = "ami-49617b23"
us-west-1 = "ami-24057b44"
us-west-2 = "ami-3cac5c5c"
eu-west-1 = "ami-1025aa63"
eu-central-1 = "ami-e010f38f"
ap-northeast-1 = "ami-54d5cc3a"
ap-southeast-1 = "ami-664d9905"
ap-southeast-2 = "ami-c2e9c4a1"
}
}
variable "instance_type" {
default = "t2.micro"
}
variable "key_name" {
default = "jenkins"
description = "SSH key name in your AWS account for AWS instances."
}
variable "s3_bucket" {
default = "mycompany-jenkins"
description = "S3 bucket where remote state and Jenkins data will be stored."
}