-
Notifications
You must be signed in to change notification settings - Fork 18
/
inputs.tf
68 lines (56 loc) · 1.57 KB
/
inputs.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
variable "security-groups" {
type = list
description = "The VPC security groups to attach to the Packer Instance"
}
variable "vpc-id" {
type = string
description = "The VPC ID to where Packer will launch the instance"
}
variable "subnet-id" {
type = string
description = "The subnet to launch the Packer instance"
}
variable "os" {
type = string
default = "amazon"
description = "The AMI to source the new AMI from"
}
variable "ami-name" {
type = string
description = "The name for the AMI that will be created"
}
variable "region" {
type = string
default = "us-east-1"
description = "The region where the Packer instance wil be launched"
}
variable "instance-profile" {
type = string
description = "The EC2 Instance Profile to attach to the Packer Instance"
}
variable "instance-type" {
type = string
default = "t2.micro"
description = "The EC2 instance type that Packer will launch"
}
variable "profile" {
type = string
description = "The profile to use with the aws cli"
}
variable "ssh-username" {
type = string
default = "ec2-user"
description = "The username for the the SSH session packer initiates to the launched instance"
}
variable "role_arn" {
description = "The role arn for the AWS Role to assume"
}
// AMI Module Variables
variable "ami-owners-list" {
description = "The list of ownes required for the AMI module"
type = list
}
variable "ami-regex" {
description = "The regular expression to pass into the AMI Module"
type = string
}