We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d18779a + b8ec245 commit 2e01182Copy full SHA for 2e01182
1 file changed
terraform/lambda/main.tf
@@ -72,7 +72,7 @@ resource "aws_iam_role_policy" "lambda_additional_permissions" {
72
Action = [
73
"secretsmanager:GetSecretValue"
74
]
75
- Resource = "arn:aws:secretsmanager:eu-west-2:${var.aws_account_id}:secret:${var.domain}-${var.service_subdomain}/secrets*"
+ Resource = data.terraform_remote_state.secrets.outputs.secret_arn
76
},
77
{
78
Effect = "Allow"
0 commit comments