-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
47 lines (42 loc) · 1.07 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
variable "domain_name" {
type = string
description = "The domain name for the website."
}
variable "bucket_name" {
type = string
description = "The name of the bucket without the www. prefix. Normally domain_name."
}
variable "common_tags" {
description = "Common tags you want applied to all components."
}
variable "ssl_certificate_arn" {
type = string
description = "SSL certificate ARN for the CloudFront distribution."
default = ""
}
variable "aws_region" {
type = string
description = "AWS region to deploy to. This where the S3 bucket will be created."
default = "ap-southeast-2"
}
variable "lambda_associations" {
description = "Lambda function associations"
type = list(object({
event_type = string
lambda_name = string
}))
default = [
{
event_type = "viewer-request"
lambda_name = "filter-function"
},
{
event_type = "origin-request"
lambda_name = "prerender-proxy"
},
{
event_type = "origin-response"
lambda_name = "response-handler"
}
]
}