Skip to content

Commit ae39c9e

Browse files
authored
Merge pull request #627 from NHSDigital/bug/missing-iam-deploy-step
[ELI] - adding step to test workflow
2 parents 446e52f + 399db27 commit ae39c9e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ jobs:
6666
with:
6767
terraform_version: ${{ needs.metadata.outputs.terraform_version }}
6868

69+
- name: "Configure AWS Credentials (IAM Bootstrap Role)"
70+
uses: aws-actions/configure-aws-credentials@v6
71+
with:
72+
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/service-roles/github-actions-iam-bootstrap-role
73+
aws-region: eu-west-2
74+
75+
- name: "Deploy IAM roles (iams-developer-roles stack)"
76+
working-directory: ./infrastructure
77+
run: |
78+
make terraform env=test stack=iams-developer-roles tf-command=apply workspace=default
79+
6980
- name: "Configure AWS Credentials"
7081
uses: aws-actions/configure-aws-credentials@v6
7182
with:

0 commit comments

Comments
 (0)