Skip to content

Commit 065ab5d

Browse files
authored
Consistent with codebase pattern: Other SSM parameter reads in (#46)
data.tf and notifications.tf already use the same provider = aws.config_secrets pattern
1 parent d0b24cb commit 065ab5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/provider-github.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,17 @@ data "aws_ssm_parameter" "github_api_key" {
5151
count = !var.github_app_enabled ? 1 : 0
5252
name = var.ssm_github_api_key
5353
with_decryption = true
54+
55+
provider = aws.config_secrets
5456
}
5557

5658
# SSM Parameter for GitHub App Authentication
5759
data "aws_ssm_parameter" "github_app_private_key" {
5860
count = local.create_github_webhook && var.github_app_enabled ? 1 : 0
5961
name = var.ssm_github_app_private_key
6062
with_decryption = true
63+
64+
provider = aws.config_secrets
6165
}
6266

6367
# We will only need the github provider if we are creating the GitHub webhook with github_repository_webhook.

0 commit comments

Comments
 (0)