generated from burib/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
77 lines (63 loc) · 1.78 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
# Variables
variable "domain_name" {
type = string
description = "Domain name for the website"
}
variable "wildcard_certificate_arn" {
type = string
description = "ARN of the ACM certificate to use for CloudFront"
}
variable "route53_zone_id" {
type = string
description = "Route53 zone ID for DNS records"
}
variable "redirect_www_to_https" {
type = bool
description = "Whether to redirect www to https non-www domain"
default = true
}
variable "tags" {
type = map(string)
description = "Tags to apply to resources"
default = {}
}
variable "price_class" {
type = string
description = "CloudFront price class: PriceClass_All, PriceClass_200, PriceClass_100"
default = "PriceClass_All"
}
variable "cloudfront_minimum_protocol_version" {
type = string
description = "Minimum TLS version for CloudFront"
default = "TLSv1.2_2021"
}
variable "environment" {
type = string
description = "Environment name (e.g., prod, dev)"
}
variable "cognito_client_id" {
type = string
description = "Cognito User Pool Client ID"
}
variable "cognito_domain" {
type = string
description = "Cognito domain name"
}
variable "cognito_token_issuer_endpoint" {
description = "Cognito token issuer endpoint. https://cognito-idp.__COGNITO_REGION__.amazonaws.com/__COGNITO_USER_POOL_ID__"
type = string
}
variable "auth_urls" {
type = map(string)
description = "Map of authentication URLs"
}
variable "force_destroy_s3_bucket" {
type = bool
description = "Whether to force destroy the S3 bucket"
default = false
}
variable "protected_paths" {
type = list(string)
description = "List of paths to protect with authentication"
default = ["/dashboard/*"]
}