-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvars.tf
46 lines (38 loc) · 1.07 KB
/
vars.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
variable "env" {
description = "Environment (production/staging)"
type = string
}
variable "app_name" {
description = "Name of the app (kebab-case)"
type = string
}
variable "role_arn" {
description = "ARN of the lambda execution role"
type = string
}
variable "event_type" {
description = "Type of the Lambda@Edge (viewer-request, viewer-response, origin-request, origin-response)"
type = string
}
variable "default_repo_branch_name" {
description = "Name of the default branch of the project repo"
default = "master"
type = string
}
variable "bucket_name" {
description = "Name of the S3 origin bucket"
type = string
}
variable "bucket_region" {
description = "AWS region where the origin bucket is located"
default = "eu-west-1"
type = string
}
variable "domain_name" {
description = "App domain name"
type = string
}
variable "serve_nested_index_html" {
description = "Applies to apps which build separate index.html files for sub-routes, e.g. using Gatsby SSG"
type = bool
}