Skip to content

Commit

Permalink
remove app client from rbac decls
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerthome committed Oct 8, 2024
1 parent 53980c4 commit ad28bcf
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions terraform-incubator/home-unite-us/dev/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,12 @@ resource "aws_iam_policy" "homeuniteus_manage_ecr" {
"mobiletargeting:GetApps",
"acm:ListCertificates"
],
Resource = [
aws_cognito_user_pool.homeuniteus.arn,
aws_cognito_user_pool_client.homeuniteus.arn
]
Resource = aws_cognito_user_pool.homeuniteus.arn
},
{
Effect = "Allow",
Action = "iam:CreateServiceLinkedRole",
Resource = [
aws_cognito_user_pool.homeuniteus.arn,
aws_cognito_user_pool_client.homeuniteus.arn
],
Resource = aws_cognito_user_pool.homeuniteus.arn,
Condition = {
StringEquals = {
"iam:AWSServiceName" = [
Expand Down

0 comments on commit ad28bcf

Please sign in to comment.