Skip to content

Commit

Permalink
ci(fix): Logic for disabling temporal api secrets policy
Browse files Browse the repository at this point in the history
  • Loading branch information
topher-lo committed Jan 28, 2025
1 parent 88bd6b4 commit cde36f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployments/aws/ecs/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ resource "aws_iam_role_policy" "api_worker_task_db_access" {
})
}
resource "aws_iam_role_policy_attachment" "api_worker_task_secrets" {
count = var.disable_temporal_autosetup ? 0 : 1
count = var.disable_temporal_autosetup ? 1 : 0
policy_arn = aws_iam_policy.task_secrets_access[0].arn
role = aws_iam_role.api_worker_task.name
}
Expand Down

0 comments on commit cde36f6

Please sign in to comment.