forked from GSA/grace-ansible-lambda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.tf
More file actions
67 lines (57 loc) · 1.84 KB
/
variables.tf
File metadata and controls
67 lines (57 loc) · 1.84 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
variable "project" {
type = string
description = "(optional) The project name used as a prefix for all resources"
default = "grace"
}
variable "appenv" {
type = string
description = "(optional) The targeted application environment used in resource names (default: development)"
default = "development"
}
variable "region" {
type = string
description = "(optional) The AWS region for executing the EC2 (default: us-east-1)"
default = "us-east-1"
}
variable "image_id" {
type = string
description = "(optional) The Amazon Machine Image ID to use for the EC2"
default = ""
}
variable "instance_type" {
type = string
description = "(optional) The instance type to use for the EC2 (default: t2.micro)"
default = "t2.micro"
}
variable "keypair_name" {
type = string
description = "(optional) The keypair name to use for the EC2"
default = ""
}
variable "subnet_id" {
type = string
description = "(optional) The VPC Subnet ID where the EC2 should be placed"
default = ""
}
variable "security_group_ids" {
type = string
description = "(optional) A comma delimited list of security group ids"
default = ""
}
variable "schedule_expression" {
type = string
description = "(optional) Expression is used to adjust the trigger rate of the lambda function (default: rate(60 minutes))"
default = "rate(60 minutes)"
}
variable "source_file" {
type = string
description = "(optional) full or relative path to zipped binary of lambda handler"
default = "../release/grace-ansible-lambda.zip"
}
# TODO: uncomment when aws_iam_policy_document.kms supports dynamic updates
#
# variable "config_role_arn" {
# type = string
# description = "(optional) The Role Arn used by the AWS Config service"
# value = ""
# }