Skip to content

Commit

Permalink
Adding pg permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-j-smith committed Feb 23, 2024
1 parent c3287e4 commit 2aba153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,11 @@ data "aws_iam_policy_document" "irsa" {
effect = "Allow"
actions = [
"rds:CreateDBInstanceReadReplica",
local.db_pg_arn,
]

resources = [
"arn:aws:rds:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:db:*"
"arn:aws:rds:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:db:*",
local.db_pg_arn
]
}
}
Expand Down

0 comments on commit 2aba153

Please sign in to comment.