Skip to content

Commit

Permalink
Fix describeExecution permission
Browse files Browse the repository at this point in the history
  • Loading branch information
ha7315 committed Nov 3, 2024
1 parent f71af01 commit 06160eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion modules/postgres-etl/extract/extract_iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,16 @@ resource "aws_iam_policy" "eks_paas_jenkins_trigger_sfn" {
{
Effect = "Allow",
Action = [
"states:DescribeExecution",
"states:StartExecution",
],
Resource = aws_sfn_state_machine.rds_to_s3.arn
},
{
Effect = "Allow",
Action = [
"states:DescribeExecution",
],
Resource = "arn:aws:states:${var.aws_region}:${var.aws_account_id}:execution:postgres-etl-rds-to-s3:*"
}
]
})
Expand Down

0 comments on commit 06160eb

Please sign in to comment.