-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathvariables.tf
More file actions
116 lines (94 loc) · 3.34 KB
/
variables.tf
File metadata and controls
116 lines (94 loc) · 3.34 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
variable "aws_region" {
type = string
default = "eu-west-2"
description = "The AWS region to deploy the module into. Only accept eu-west-2."
validation {
condition = var.aws_region == "eu-west-2"
error_message = "AWS Region must be set to eu-west-2."
}
}
variable "ddb_delta_stream_arn" {
type = string
description = "The ARN of the Delta Dynamo DB Stream which the feature consumes from."
}
variable "dynamo_kms_encryption_key_arn" {
type = string
description = "The ARN of the KMS encryption key used on data in Dynamo DB."
}
variable "enable_lambda_alarm" {
type = bool
description = "Switch to enable an error alarm for the MNS Publisher Lambda function."
}
variable "immunisation_account_id" {
type = string
description = "Immunisation AWS Account ID."
}
variable "is_temp" {
type = bool
description = "Flag to state if this is a temporary environment. E.g. PR environment. Used for deletion logic."
}
variable "lambda_kms_encryption_key_arn" {
type = string
description = "The ARN of the KMS encryption key used to encrypt Lambda function environment variables."
}
variable "mns_publisher_resource_name_prefix" {
type = string
description = "The prefix for the name of resources within the mns_publisher feature."
}
variable "private_subnet_ids" {
type = list(string)
}
variable "security_group_id" {
type = string
}
variable "shared_dir_sha" {
type = string
description = "The SHA of the shared Lambda code directory. Used for determining if a change occurred there so the Lambda function needs rebuilding."
}
variable "splunk_firehose_stream_name" {
type = string
description = "The name of the Splunk delivery stream."
}
variable "short_prefix" {
type = string
description = "The short prefix used for the Lambda function. Constructed and defined by the calling module, but is typically imms-internal-qa, imms-int-green etc."
}
variable "system_alarm_sns_topic_arn" {
type = string
description = "The ARN of the SNS Topic used for raising alerts to Slack for CW alarms."
}
variable "resource_scope" {
type = string
description = <<EOT
The effective deployment scope used for resource naming and isolation.
This resolves to either the base environment (e.g., dev, pre-prod, prod) or a
sub-environment (e.g., int-blue/int-green) when sub-environment scoping is enabled.
EOT
}
variable "imms_base_path" {
type = string
description = "Base path for the Immunisation FHIR API. Used to construct environment-specific routes (e.g. PR preview paths or default R4 path)."
}
variable "mns_environment" {
type = string
}
variable "pds_environment" {
type = string
}
variable "account_id" {
type = string
description = "AWS account ID used for IAM policy templating (e.g., Secrets Manager ARNs)."
}
variable "secrets_manager_policy_path" {
type = string
description = "Path to the IAM policy JSON template for Secrets Manager access (e.g., ./policies/secret_manager.json)."
}
variable "mns_test_notification_name_prefix" {
type = string
description = "The prefix for the name of resources for testing mns notification"
}
variable "enable_mns_test_queue" {
description = "Enable test SQS queue for MNS notifications (dev only)"
type = bool
default = false
}