Skip to content

Commit 5061948

Browse files
Merge remote-tracking branch 'origin/main' into ELI-785/audit_trail_status_override
2 parents 0ea06b4 + f4fd038 commit 5061948

5 files changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/base-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,11 @@ jobs:
267267
name: "Regression Tests"
268268
if: ${{ needs.metadata.outputs.environment == 'preprod' }}
269269
needs: deploy
270+
permissions:
271+
id-token: write
272+
contents: read
273+
issues: write
274+
pull-requests: write
270275
uses: ./.github/workflows/regression-tests.yml
271276
with:
272277
ENVIRONMENT: "preprod"

.github/workflows/cicd-2-publish.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ jobs:
154154
regression-tests:
155155
name: "Regression Tests"
156156
needs: publish
157+
permissions:
158+
id-token: write
159+
contents: read
160+
issues: write
161+
pull-requests: write
157162
uses: ./.github/workflows/regression-tests.yml
158163
with:
159164
ENVIRONMENT: "dev"

.github/workflows/cicd-3-test-deploy.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,11 @@ jobs:
252252
regression-tests:
253253
name: "Regression Tests"
254254
needs: deploy
255+
permissions:
256+
id-token: write
257+
contents: read
258+
issues: write
259+
pull-requests: write
255260
uses: ./.github/workflows/regression-tests.yml
256261
with:
257262
ENVIRONMENT: "test"

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)