diff --git a/.github/workflows/destroy.yml b/.github/workflows/destroy.yml index a42aca4c8..400fe2896 100644 --- a/.github/workflows/destroy.yml +++ b/.github/workflows/destroy.yml @@ -16,9 +16,6 @@ permissions: contents: read actions: read -env: - SERVERLESS_LICENSE_KEY: ${{ secrets.SERVERLESS_LICENSE_KEY }} - jobs: destroy: # Protected branches should be designated as such in the GitHub UI. diff --git a/services/output.sh b/services/output.sh index 93fe819d4..7d03f4810 100755 --- a/services/output.sh +++ b/services/output.sh @@ -19,5 +19,5 @@ if [ $output = "url" ]; then fi cd $service -serverless info --stage $stage --json | jq --arg output $output '.outputs[] | select(.OutputKey == $output) | .OutputValue' +serverless info --stage $stage --json | jq --raw-output --arg output $output '.outputs[] | select(.OutputKey == $output) | .OutputValue' cd .. diff --git a/services/uploads/serverless.yml b/services/uploads/serverless.yml index 99e293142..4360b0c23 100644 --- a/services/uploads/serverless.yml +++ b/services/uploads/serverless.yml @@ -65,7 +65,10 @@ custom: # This script is run locally when running 'serverless deploy' package:initialize: | set -e + cd services/uploads curl -L --output lambda_layer.zip https://github.com/CMSgov/lambda-clamav-layer/releases/download/0.7/lambda_layer.zip + # cp lambda_layer.zip services/uploads/lambda_layer.zip + # curl -L --output services/uploads/lambda_layer.zip https://github.com/CMSgov/lambda-clamav-layer/releases/download/0.7/lambda_layer.zip deploy:finalize: | rm lambda_layer.zip aws lambda invoke --region ${self:provider.region} --function-name ${self:service}-${self:custom.stage}-avDownloadDefinitions --invocation-type Event response.json