Skip to content

Commit

Permalink
πŸ› Fixing Glue Policy Size (#4015)
Browse files Browse the repository at this point in the history
Shortening the policy.
  • Loading branch information
julialawrence authored Apr 10, 2024
1 parent 94c0a2e commit 16ca040
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,11 @@ data "aws_iam_policy_document" "glue_ireland" {
data.aws_iam_role.glue_policy_role[role_arn].arn
]],
[
data.aws_iam_role.aws_sso_modernisation_platform_data_eng.arn
data.aws_iam_role.aws_sso_modernisation_platform_data_eng.arn,
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:root"
]
])
}
condition {
test = "StringNotEquals"
variable = "aws:PrincipalAccount"
values = [
data.aws_caller_identity.current.account_id
]
}
}
}
}
Expand Down

0 comments on commit 16ca040

Please sign in to comment.