Skip to content

Commit

Permalink
Add AWS credentials to run end2end tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailshilkov committed Dec 18, 2024
1 parent 859d741 commit 5bc1cf7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/run-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,15 @@ jobs:
with:
name: pulumi-${{ env.PROVIDER }}-provider.tar.gz
path: ${{ github.workspace }}/bin/provider.tar.gz
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-region: ${{ env.AWS_REGION }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-duration-seconds: 3600
role-session-name: ${{ env.PROVIDER }}@githubActions
role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }}
- name: Test Provider Library
run: make test_provider
- name: Upload coverage reports to Codecov
Expand Down
1 change: 0 additions & 1 deletion provider/pkg/autonaming/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ func getDefaultName(
}

if engineAutonaming.AutonamingMode != nil {
//panic("yes")
switch *engineAutonaming.AutonamingMode {
case EngineAutonamingModeDisable:
return nil, false, nil
Expand Down

0 comments on commit 5bc1cf7

Please sign in to comment.