Skip to content

Commit 36c37fd

Browse files
committed
fix(ci): stop chaining aws roles
We couldn't set duration to 18000 seconds when chaining roles.
1 parent acf3b6c commit 36c37fd

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/actions/nix-build-setup/action.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,15 @@ inputs:
1212
runs:
1313
using: 'composite'
1414
steps:
15-
- name: aws-oidc
16-
uses: aws-actions/[email protected]
17-
with:
18-
aws-region: us-east-2
19-
role-to-assume: arn:aws:iam::279559813984:role/supabase-github-oidc-role # Shared Services
20-
role-session-name: gha-oidc-${{ github.run_id }}
2115
- name: aws-creds
2216
uses: aws-actions/[email protected]
2317
with:
2418
disable-retry: true
2519
aws-region: us-east-2
2620
role-to-assume: arn:aws:iam::436098097459:role/nix-artifacts-deploy-role # supabase-dev
2721
role-session-name: gha-oidc-${{ github.run_id }}
28-
role-chaining: true
29-
role-skip-session-tagging: true
30-
role-duration-seconds: ${{ inputs.aws-role-duration }}
22+
role-duration-seconds: 18000
23+
3124
- name: Write creds files
3225
shell: bash
3326
run: |

0 commit comments

Comments
 (0)