Skip to content

Commit dd5b0a6

Browse files
committed
chore: update account id variable
1 parent ff16b9a commit dd5b0a6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module "notifications" {
1212
slack = local.slack
1313
sns_topic_name = var.sns_topic_name
1414
tags = var.tags
15-
accounts_id_to_name = var.accounts_id_to_name
15+
accounts_id_to_name_parameter_arn = var.accounts_id_to_name_parameter_arn
1616
identity_center_start_url = var.identity_center_start_url
1717
identity_center_role = var.identity_center_role
1818
}

variables.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ variable "tags" {
6767
type = map(string)
6868
}
6969

70-
variable "accounts_id_to_name" {
71-
description = "A mapping of account id and account name - used by notification lamdba to map an account ID to a human readable name"
70+
variable "accounts_id_to_name_parameter_arn" {
71+
description = "The ARN of your parameter containing the your account ID to name mapping. This ARN will be attached to lambda execution role as a resource, therefore a valid resource must exist. e.g 'arn:aws:ssm:eu-west-2:0123456778:parameter/myorg/configmaps/accounts_id_to_name_mapping' to enable the lambda retrieve values from ssm."
7272
type = map(string)
7373
default = null
7474
}

0 commit comments

Comments
 (0)