Enable SSE for S3 upload

This commit is contained in:
bandesz
2016-12-05 16:53:15 +00:00
parent 18b4ce919b
commit f43ba1fbb9

View File

@@ -80,7 +80,7 @@ build-codedeploy-artifact: ## Build the deploy artifact for CodeDeploy
.PHONY: upload-codedeploy-artifact ## Upload the deploy artifact for CodeDeploy
upload-codedeploy-artifact: check-env-vars
aws s3 cp --region eu-west-1 target/notifications-admin.zip s3://${DNS_NAME}-codedeploy/${CODEDEPLOY_PREFIX}-${DEPLOY_BUILD_NUMBER}.zip
aws s3 cp --region eu-west-1 --sse AES256 target/notifications-admin.zip s3://${DNS_NAME}-codedeploy/${CODEDEPLOY_PREFIX}-${DEPLOY_BUILD_NUMBER}.zip
.PHONY: test
test: venv ## Run tests