Skip to content

Commit

Permalink
Set SNS topic env var in build-and-run-model workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeancochrane committed Dec 1, 2023
1 parent 57ef75b commit 0a51d42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-and-run-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ jobs:
# required in order to allow the reusable called workflow to push to
# GitHub Container Registry
packages: write
uses: ccao-data/actions/.github/workflows/build-and-run-batch-job.yaml@main
uses: ccao-data/actions/.github/workflows/build-and-run-batch-job.yaml@jeancochrane/support-container-env-vars-in-batch-jobs
with:
ref: jeancochrane/support-container-env-vars-in-batch-jobs
vcpu: "16.0"
memory: "65536"
role-duration-seconds: 14400 # Worst-case time for a full model run
secrets:
AWS_IAM_ROLE_TO_ASSUME_ARN: ${{ secrets.AWS_IAM_ROLE_TO_ASSUME_ARN }}
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
CONTAINER_ENV_VARS: |
AWS_SNS_ARN_MODEL_STATUS=${{ secrets.AWS_SNS_ARN_MODEL_STATUS }}

0 comments on commit 0a51d42

Please sign in to comment.