Skip to content

Commit

Permalink
Adding SSO role for notification admins (#400)
Browse files Browse the repository at this point in the history
* Adding SSO role for notification admins

* Adding a wildcard character
  • Loading branch information
sylviamclaughlin authored Jul 16, 2024
1 parent cf2fa46 commit a934391
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion terraform/notification.canada.ca-role.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ resource "aws_iam_role" "notify_prod_dns_manager" {
{
Effect = "Allow",
Principal = {
AWS = "arn:aws:iam::296255494825:role/notification-terraform-apply"
AWS = [
"arn:aws:iam::296255494825:role/notification-terraform-apply",
"arn:aws:iam::296255494825:role/aws-reserved/sso.amazonaws.com/ca-central-1/AWSReservedSSO_AWSAdministratorAccess_*"
]
},
Action = "sts:AssumeRole"
}
Expand Down

0 comments on commit a934391

Please sign in to comment.