-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathvariables.tf
More file actions
83 lines (71 loc) · 2.53 KB
/
variables.tf
File metadata and controls
83 lines (71 loc) · 2.53 KB
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
83
variable "bucket_name" {
description = "Name of the S3 bucket that stores the iii.dev website build output"
type = string
default = "iii-website-prod-us-east-1"
}
variable "apex_domain" {
description = "Apex domain for the marketing site"
type = string
default = "iii.dev"
}
variable "www_domain" {
description = "www subdomain (301s to apex via CloudFront Function)"
type = string
default = "www.iii.dev"
}
variable "preview_domain" {
description = "Preview subdomain used for the 24h staging window before apex cutover. Remove after cutover stabilizes."
type = string
default = "iii-preview.iii.dev"
}
variable "docs_domain" {
description = "Docs subdomain that /docs/* is 301'd to"
type = string
default = "docs.iii.dev"
}
variable "search_api_origin" {
description = "Custom origin hostname that /api/search* is proxied to (temporarily, until docs migration)"
type = string
default = "iii-docs.vercel.app"
}
variable "alarm_email" {
description = "Email address that receives SNS notifications for production alarms"
type = string
}
variable "price_class" {
description = "CloudFront price class"
type = string
default = "PriceClass_All"
}
variable "github_repo" {
description = "GitHub repo allowed to assume the deploy role via OIDC"
type = string
default = "iii-hq/iii"
}
variable "github_environment" {
# Must match the env name in GitHub repo settings EXACTLY — OIDC sub claim is case-sensitive.
description = "GitHub environment scoping the deploy role."
type = string
default = "iii-website-prod"
}
variable "csp_report_only" {
description = "Send CSP as report-only instead of enforcing."
type = bool
default = true
}
variable "manage_apex_records" {
# Phase 4 cutover is complete (see #1470). Records were imported into state
# and Terraform now owns them. Flag retained as an escape hatch for emergency
# rollback — set to false to release ownership without destroying the records
# (use `terraform state rm` after flipping).
description = "Whether Terraform manages the iii.dev apex A/AAAA Route53 records."
type = bool
default = true
}
variable "manage_www_records" {
# Phase 4 cutover complete; same situation as manage_apex_records. Decoupled
# from apex so the two can be released independently if ever needed.
description = "Whether Terraform manages the www.iii.dev A/AAAA Route53 records."
type = bool
default = true
}