Skip to content

Commit 72fe360

Browse files
committed
making sure create role perm is given for the new resource
1 parent 7951554 commit 72fe360

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

infrastructure/stacks/iams-developer-roles/github_actions_iam_bootstrap_policies.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ data "aws_iam_policy_document" "iam_bootstrap_iam_management" {
5454
resources = [
5555
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/service-roles/github-actions-api-deployment-role",
5656
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/service-roles/github-actions-iam-bootstrap-role",
57+
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/service-roles/Eligibility-API-E2E-Regression-Tests",
5758
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/${var.project_name}-terraform-developer-role",
5859
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/terraform-developer-role",
5960
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:policy/${upper(var.project_name)}-*",

infrastructure/stacks/iams-developer-roles/iams_permissions_boundary.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ data "aws_iam_policy_document" "iam_bootstrap_permissions_boundary" {
352352
resources = [
353353
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/service-roles/github-actions-api-deployment-role",
354354
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/service-roles/github-actions-iam-bootstrap-role",
355+
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/service-roles/Eligibility-API-E2E-Regression-Tests",
355356
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/${var.project_name}-terraform-developer-role",
356357
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:role/terraform-developer-role",
357358
"arn:aws:iam::${data.aws_caller_identity.current.account_id}:policy/${upper(var.project_name)}-*",

0 commit comments

Comments
 (0)