-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
54 lines (43 loc) · 1.24 KB
/
variables.tf
File metadata and controls
54 lines (43 loc) · 1.24 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
variable "access_key" {
description = "Access key to AWS console"
default = "XXXXXXXXXXXXX"
}
variable "secret_key" {
description = "Secret key to AWS console"
default = "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"
}
#variable "aws_session_token" {
# description = "Secret key to AWS console"
}
variable "vpc_id" {
description = "vpc id "
default = "vpc-XXXXXXXXXXXXXXXX"
}
variable "instance_name" {
description = "Name of the instance to be created"
default = "tf-testing"
}
variable "instance_type" {
default = "t3.micro"
}
variable "subnet_id" {
description = "The VPC subnet the instance(s) will be created in"
default = "subnet-XXXXXXXXXXXXXXXXXX"
}
variable "ami_id" {
description = "The AMI to use"
default = "ami-XXXXXXXXXXXXXXXXXXXX"
}
variable "number_of_instances" {
description = "number of instances to be created"
default = 1
}
variable "ami_key_pair_name" {
default = "testing"
}
variable "INSTANCE_USERNAME" {
default = "ubuntu" # username which will be used while doing remote-execution with the launched instance.
}
variable "ssh_port" {
default = 22
}