-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathvariables.tf
More file actions
75 lines (61 loc) · 1.34 KB
/
Copy pathvariables.tf
File metadata and controls
75 lines (61 loc) · 1.34 KB
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
##
## Application/Project Variables/Properties
##
variable "region" {
type = string
default = "us-east-1"
}
variable "stage" {
type = string
default = "dev"
description = "Please change as per your environment name"
}
variable "app_name" {
type = string
default = "example-webapp"
description = "Please change as per your php/Leavel application name"
}
##
## EC2 Instance & AutoScaling Group Variables/Properties
##
variable "instance_type" {
type = string
default = "t2.micro"
description = "EC2 Instance size/type"
}
variable "key_name" {
type = string
default = ""
description = "Please change/create EC2 instance PEM key name"
}
variable "desired_capacity" {
default = "1"
}
variable "min_size" {
default = "1"
}
variable "max_size" {
default = "2"
}
##
## Github Variables/Properties
##
variable "github_auth_token" {
default = ""
description = "Please create github auth token"
}
variable "github_user" {
type = string
default = ""
description = "Please change Github username"
}
variable "github_repo" {
type = string
default = ""
description = "Please change Github repository name"
}
variable "github_branch" {
type = string
default = "master"
description = "Please change github repository branch name"
}