-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathvariables.tf
96 lines (80 loc) · 2.3 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
92
93
94
95
96
variable "region" {
type = string
description = "AWS Region in which to deploy our instance."
default = "us-east-1"
}
variable "org" {
type = string
description = "Terraform Cloud/Enterprise Organization Name"
}
variable "prefix" {
type = string
description = "Naming prefix"
}
variable "foundation_workspace" {
type = string
description = "Name of workspace from which to get information on VPC in which to provision resources."
}
variable "sg_workspace" {
type = string
description = "Name of workspace from which to get foundational security groups to use."
}
variable "ami_filter" {
type = string
description = "AMI filter - e.g. ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*"
default = "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*"
}
variable "ami_owner" {
type = string
description = "Owner of AMI - e.g. 099720109477"
default = "099720109477"
}
variable "ami_id" {
type = string
description = "Optional AMI ID - use this if not blank string, otherwise use AMI per ami_filter and ami_owner."
default = ""
}
variable "hcp_packer_image_bucket_name" {
type = string
description = "The slug of the HCP Packer Registry image bucket to pull from."
default = ""
}
variable "hcp_packer_image_channel" {
type = string
description = "The channel that points to the version of the image you want."
default = ""
}
variable "instance_count" {
type = number
description = "Number of instances to provision."
default = 1
}
variable "instance_type" {
type = string
description = "Instance size."
default = "t2.medium"
}
variable "root_volume_type" {
type = string
description = "Root volume type."
default = "gp2"
}
variable "root_volume_size" {
type = number
description = "Root volume size in GB."
default = 50
}
variable "ssh_key_name" {
type = string
description = "Name of SSH key in AWS region."
}
variable "instance_security_group_ids" {
type = list(string)
description = "List of additional security group ID's to apply to the instance."
default = []
}
variable "iam_instance_profile" {
type = string
description = "IAM instance profile."
default = null
}