generated from champ-oss/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
82 lines (69 loc) · 2.31 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
variable "protect" {
description = "Enables deletion protection on eligible resources"
type = bool
default = false
}
variable "tags" {
description = "Map of tags to assign to resources"
type = map(string)
default = {}
}
variable "git" {
description = "Name of the Git repo"
type = string
default = "terraform-aws-cloudfront"
}
variable "zone_id" {
description = "https://www.terraform.io/docs/providers/aws/r/route53_record.html#zone_id"
type = string
default = ""
}
variable "domain" {
description = "Route53 Domain"
type = string
}
variable "dns_name" {
description = "DNS name for API service"
type = string
default = "terraform-aws-cdn"
}
variable "enable_waf" {
description = "enable waf in production"
type = bool
default = false
}
variable "addresses" {
description = "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/wafv2_ip_set#addresses"
type = list(string)
default = []
}
variable "allowed_methods" {
description = "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#allowed_methods"
type = list(string)
default = ["GET", "HEAD", "OPTIONS", "PUT", "POST", "PATCH", "DELETE"]
}
variable "cached_methods" {
type = list(string)
default = ["GET", "HEAD", "OPTIONS"]
description = "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#cached_methods"
}
variable "viewer_protocol_policy" {
type = string
default = "redirect-to-https"
description = "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#viewer_protocol_policy"
}
variable "default_root_object" {
description = "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#default_root_object"
type = string
default = "website/index.html"
}
variable "minimum_protocol_version" {
description = "https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#minimum_protocol_version"
type = string
default = "TLSv1.2_2018"
}
variable "name" {
description = "name var"
type = string
default = "cloudfront"
}