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 debb553 + 3ced6e2 commit 5702b5dCopy full SHA for 5702b5d
lambda.tf
@@ -23,7 +23,7 @@ resource "aws_lambda_invocation" "external_id" {
23
function_name = module.lambda.lambda_function_name
24
input = jsonencode({
25
ResourceProperties = {
26
- Secret = aws_secretsmanager_secret.aqua_cspm_secret.id
+ Secret = local.secret_name
27
},
28
LogicalResourceId = "ExternalIDInvoke"
29
})
@@ -37,7 +37,7 @@ resource "aws_lambda_invocation" "onboarding" {
37
38
39
40
- Secret = aws_secretsmanager_secret.aqua_cspm_secret.id,
+ Secret = local.secret_name,
41
ExtId = local.external_id,
42
Group = var.aqua_group_name,
43
RoleArn = aws_iam_role.aqua_cspm.arn,
0 commit comments