Skip to content

Commit 5310c43

Browse files
Fix SAR pipeline
1 parent c9c4142 commit 5310c43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/reusable_deploy_v3_sar.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ jobs:
182182
echo "Creating canary stack"
183183
echo "Stack name: $TEST_STACK_NAME"
184184
aws serverlessrepo create-cloud-formation-change-set \
185-
--application-id arn:aws:serverlessrepo:${{ env.AWS_REGION }}:${{ steps.aws-credentials-sar-role.outputs.aws-account-id }}:applications/${{ env.SAR_NAME }} \
185+
--application-id arn:aws:serverlessrepo:${{ env.AWS_REGION }}:${{ secrets.AWS_SAR_V3_ACCOUNTID }}:applications/${{ env.SAR_NAME }} \
186186
--stack-name "${TEST_STACK_NAME/serverlessrepo-/}" \
187187
--capabilities CAPABILITY_NAMED_IAM
188188
@@ -207,5 +207,5 @@ jobs:
207207
sleep 15
208208
echo "Make SAR app public"
209209
aws serverlessrepo put-application-policy \
210-
--application-id arn:aws:serverlessrepo:${{ env.AWS_REGION }}:${{ steps.aws-credentials-sar-role.outputs.aws-account-id }}:applications/${{ env.SAR_NAME }} \
210+
--application-id arn:aws:serverlessrepo:${{ env.AWS_REGION }}:${{ secrets.AWS_SAR_V3_ACCOUNTID }}:applications/${{ env.SAR_NAME }} \
211211
--statements Principals='*',Actions=Deploy

.github/workflows/run-e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ permissions:
4141

4242
jobs:
4343
run:
44-
runs-on: aws-powertools_ubuntu-latest_8-core
44+
runs-on: ubuntu-latest
4545
permissions:
4646
id-token: write # needed to request JWT with GitHub's OIDC Token endpoint. docs: https://bit.ly/3MNgQO9
4747
contents: read # checkout code

0 commit comments

Comments
 (0)