Skip to content

Commit 12b6691

Browse files
authored
SSM parameter data sources (#47)
1 parent 065ab5d commit 12b6691

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/notifications.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ data "aws_ssm_parameters_by_path" "argocd_notifications" {
22
for_each = local.notifications_notifiers_ssm_path
33
path = each.value
44
with_decryption = true
5+
6+
provider = aws.config_secrets
57
}
68

79
data "aws_ssm_parameter" "slack_notifications" {
@@ -16,6 +18,8 @@ data "aws_ssm_parameter" "github_notifications_app_private_key" {
1618
count = local.github_notifications_enabled && var.github_notifications_app_enabled ? 1 : 0
1719
name = var.ssm_github_notifications_app_private_key
1820
with_decryption = true
21+
22+
provider = aws.config_secrets
1923
}
2024

2125
module "notifications_templates" {

0 commit comments

Comments
 (0)