INFO: Uploading application1.zip to S3.
aws s3 cp application1.zip s3://$S3_BUCKET/my-app-1.0.0
INFO: Registering a revision for the artifact.
aws deploy register-application-revision --application-name $APPLICATION_NAME --revision revisionType=S3,s3Location={bucket=$S3_BUCKET,key=my-app-1.0.0,bundleType=zip}
✖ Failed to register application revision.