-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
45 lines (40 loc) · 877 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
36
37
38
39
40
41
42
43
44
45
variable "aws_region" {
type = string
default = "us-east-1"
}
variable "domain_name" {
type = string
default = "forthope.me"
description = "Name of the domain"
}
variable "tags" {
type = any
default = {
managedBy = "Terraform"
}
}
variable "allow_origins" {
description = "List of origins for the API gateway"
default = []
type = list(any)
}
locals {
content_types = {
".css" : "text/css",
".html" : "text/html",
".ico" : "image/vnd.microsoft.icon"
".jpeg" : "image/jpeg"
".jpg" : "image/jpeg"
".js" : "text/javascript"
".mp4" : "video/mp4"
".png" : "image/png"
".svg" : "image/svg+xml"
".wasm" : "application/wasm"
".zip" : "application/zip"
}
}
variable "bucket_versioning" {
type = string
default = "Disabled"
description = "Versioning for S3 bucket"
}