-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvars.template.tf_
66 lines (52 loc) · 1.52 KB
/
vars.template.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
variable "heroku_email" {
default = "<YOUR_EMAIL>"
}
variable "heroku_api_key" {
default = "<YOUR_HEROKU_API_KEY>"
}
variable "heroku_enterprise_team" {
default = "<YOUR_HEROKU_TEAM>"
}
variable "heroku_private_space" {
default = "<YOUR_HEROKU_PRIVATE_SPACE_NAME>"
}
variable "aws_region" {
default = "<YOUR_AWS_REGION>" // One of the AWS regions below e.g. eu-central-1
}
variable "aws_to_heroku_private_region" {
default = {
"eu-west-1" = "dublin"
"eu-central-1" = "frankfurt"
"us-west-2" = "oregon"
"ap-southeast-2" = "sydney"
"ap-northeast-1" = "tokyo"
"us-east-1" = "virginia"
}
}
variable "app_name" {
default = "<YOUR_HEROKU_APP_NAME>"
}
variable "aws_account_id" {
default = "<YOUR_AWS_ACCOUNT_ID>"
}
variable "aws_access_key" {
default = "<YOUR_AWS_IAM_ACCESS_KEY>"
}
variable "aws_secret_key" {
default = "<YOUR_AWS_IAM_SECRET_KEY>"
}
variable "ssh_public_key" {
default = "<YOUR_PUBLIC_KEY_FOR_SSH_CONNECTION>" // e.g. ssh-rsa AZZZAANzaC1yc2EPPTTTAQABAAA....
}
variable "ssh_private_key_filepath" {
default = "<YOUR_PRIVATE_KEY_FILE_PATH_FOR_SSH_CONNECTION>" // e.g. /Users/Keys/ssh-key-pair
}
variable "name" {
default = "<YOUR_PREFIX_NAME>" // to be used as a prefix for AWS resources identifiers and names
}
variable "aws-ami" {
default = "ami-0cc0a36f626a4fdf5" // ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20191002
}
variable "ec2_user" {
default = "ubuntu" // EC2's user account for SSH connection
}