generated from NHSDigital/nhs-notify-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvariables.tf
More file actions
78 lines (63 loc) · 1.55 KB
/
variables.tf
File metadata and controls
78 lines (63 loc) · 1.55 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
##
# Basic Required Variables for tfscaffold Components
##
variable "project" {
type = string
description = "The name of the tfscaffold project"
}
variable "environment" {
type = string
description = "The name of the tfscaffold environment"
}
variable "aws_account_id" {
type = string
description = "The AWS Account ID (numeric)"
}
variable "region" {
type = string
description = "The AWS Region"
}
variable "group" {
type = string
description = "The group variables are being inherited from (often synonmous with account short-name)"
}
##
# tfscaffold variables specific to this component
##
variable "component" {
type = string
description = "The variable encapsulating the name of this component"
default = "api"
}
##
# Variables specific to this component
##
variable "csi" {
type = string
description = "CSI from the parent component"
}
variable "log_retention_in_days" {
type = number
description = "The retention period in days for the Cloudwatch Logs events to be retained, default of 0 is indefinite"
default = 0
}
variable "cognito_config" {
type = object({
USER_POOL_ID : string,
USER_POOL_CLIENT_ID : string
})
description = "Cognito config"
}
variable "enable_backup" {
type = bool
description = "Enable Backups for the DynamoDB table?"
default = true
}
variable "enable_letters" {
type = bool
description = "Enable letters feature flag"
}
variable "kms_key_arn" {
type = string
description = "KMS Key ARN"
}