-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
78 lines (66 loc) · 2 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
# see https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudfront_distribution#custom-error-response-arguments
variable "custom_error_responses" {
type = list(object({
error_caching_min_ttl = optional(number)
error_code = number
response_code = optional(number)
response_page_path = optional(string)
}))
description = "List of Custom Error Response Element Objects for the distribution."
default = [
{
error_code = 404
response_code = 404
response_page_path = "/404.html"
}
]
}
variable "domain" {
type = string
description = "Website Domain."
default = "workloads.io"
}
variable "github_owner" {
type = string
description = "This is the target GitHub Organization."
default = "workloads"
}
variable "github_token" {
type = string
description = "This is the GitHub Token."
sensitive = true
}
variable "hugo_deploy_toml_target_branch" {
type = string
description = "The name of the Git Branch to write the Hugo Deployment configuration to."
default = "switches-to-hugo" #"main"
}
variable "hugo_deploy_toml_target_file" {
type = string
description = "The name of the file to write the Hugo Deployment configuration to."
default = "hugo-deploy.toml"
}
variable "hugo_deploy_toml_target_repository" {
type = string
description = "The name of the repository to write the Hugo Deployment configuration file to."
default = "website"
}
variable "management_region_aws" {
type = string
description = "AWS-specific `Management` Region Identifier."
}
variable "preview_subdomain" {
type = string
description = "Preview Website Subdomain."
default = "preview"
}
variable "subdomain" {
type = string
description = "Website Subdomain."
default = "www"
}
variable "tfe_team_token_viewers" {
type = string
description = "HCP Terraform `viewers` Team Token."
sensitive = true
}