Skip to content

Commit 8471887

Browse files
committed
test oidc
1 parent 58d4f71 commit 8471887

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/pr-deploy-to-int.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,18 @@ env:
1414
TF_CLI_ARGS_apply: --auto-approve
1515

1616
jobs:
17-
pr-build:
18-
name: pr-build
17+
test-oidc:
1918
runs-on: ubuntu-latest
2019
permissions:
2120
id-token: write
2221
contents: read
23-
concurrency:
24-
group: ${{ github.ref }}-build
2522
steps:
26-
- name: Configure AWS Credentials
23+
- name: Debug OIDC
2724
uses: aws-actions/configure-aws-credentials@v4
2825
with:
2926
aws-region: eu-west-2
3027
role-to-assume: arn:aws:iam::084828561157:role/auto-ops
3128
role-session-name: github-actions
3229

33-
- name: Checkout
34-
uses: actions/checkout@v4
35-
with:
36-
fetch-depth: 1
30+
- name: Whoami
31+
run: aws sts get-caller-identity

0 commit comments

Comments
 (0)