-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathvariables.tf
85 lines (69 loc) · 1.6 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
####################
# Tags
####################
variable "project" {
description = "Project name for tags and resource naming"
}
variable "owner" {
description = "Contact person responsible for the resource"
}
variable "costcenter" {
description = "Cost Center tag"
}
variable "service" {
description = "Service name"
}
####################
# VPC
####################
variable vpc_cidr {
description = "VPC CIDR"
}
variable igw_cidr {
description = "VPC Internet Gateway CIDR"
}
variable public_subnets_cidr {
description = "Public Subnets CIDR"
type = "list"
}
variable private_subnets_cidr {
description = "Private Subnets CIDR"
type = "list"
}
variable nat_cidr {
description = "VPC NAT Gateway CIDR"
type = "list"
}
variable azs {
description = "VPC Availability Zones"
type = "list"
}
####################
# Lambda
####################
variable "lambda_runtime" {
description = "Lambda Function runtime"
}
variable "lambda_zip_path" {
description = "Lambda Function Zipfile local path for S3 Upload"
}
variable "lambda_function_name" {
description = "Lambda Function Name"
default = "HttpServer"
}
variable "lambda_handler" {
description = "Lambda Function Handler"
}
variable "lambda_memory" {
description = "Lambda memory size, 128 MB to 3,008 MB, in 64 MB increments"
default = "128"
}
####################
# API Gateway
####################
variable "region" {
description = "Region in which to deploy the API"
}
variable "account_id" {
description = "Account ID needed to construct ARN to allow API Gateway to invoke lambda function"
}