Skip to content

Commit

Permalink
FIX AWS modules
Browse files Browse the repository at this point in the history
  • Loading branch information
eytannnaim committed Aug 30, 2023
1 parent d09c835 commit 6eb8d6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/aws/sonar-base-instance/iam_role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ locals {
"${local.password_secret_aws_arn}"
],
[
for val in aws_secretsmanager_secret.access_token : val.arn
for val in aws_secretsmanager_secret.access_tokens : val.arn
]
)
}
Expand Down
2 changes: 1 addition & 1 deletion modules/aws/sonar-base-instance/secret.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,6 @@ resource "aws_secretsmanager_secret" "access_tokens" {

resource "aws_secretsmanager_secret_version" "token_ver" {
count = length(local.access_tokens)
secret_id = aws_secretsmanager_secret.access_token[count.index].id
secret_id = aws_secretsmanager_secret.access_tokens[count.index].id
secret_string = random_uuid.access_tokens[count.index].result
}

0 comments on commit 6eb8d6c

Please sign in to comment.