forked from realglobe-Inc/terraform-aws-static-website
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
35 lines (35 loc) · 931 Bytes
/
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
variable "service_name" {
description = "tagged with service name"
}
variable "aws_profile" {
description = "aws profile name"
}
variable "domain_names" {
description = "domain names"
type = list(string)
}
variable "cloudfront_origin_path" {
default = ""
description = "Origin path of CloudFront"
}
variable "route53_zone_id" {
description = "Route53 Zone ID"
}
variable "s3_bucket_name" {
description = "S3 bucket name"
}
variable "save_access_log" {
description = "whether save cloudfront access log to S3"
type = bool
default = false
}
variable "lambda_function_associations" {
description = "CloudFront Lambda function associations. key is CloudFront event type and value is lambda function ARN with version"
type = map(string)
default = {}
}
variable "cors_allowed_origins" {
description = "CORS allowed origins"
type = list(string)
default = []
}