version: 0.2 phases: install: runtime-versions: nodejs: 16 commands: - echo "Installing Node.js version 16 ..." - n $NODE_16_VERSION build: commands: - npm install - npm install aws-cli-js - >- aws cloudformation package --template sam-s3-remediation.yml --s3-bucket $S3_BUCKET --output-template template-export.json artifacts: type: zip files: - template-export.json