You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
a few questions
how can I specify a location (path) on a bucket where I'd like to deploy the artifacts?
As of right now, it appears that S3_BUCKET only takes the bucket name e.g. s3://mybucket
is there a way to combine both actions ( "upload" and "deploy") without invoking the pipe twice?
Thank you for your question!
1) there is an example in the Readme for your case:
script: - pipe: atlassian/aws-code-deploy:1.1.1 variables: AWS_DEFAULT_REGION: 'ap-southeast-2' AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY COMMAND: 'deploy' APPLICATION_NAME: 'lambda-application' DEPLOYMENT_GROUP: 'my-deployment-group' WAIT: 'true' S3_BUCKET: 'my-bucket' VERSION_LABEL: 'lambda-app-1.0.0' BUNDLE_TYPE: 'YAML'
2) the pipe supports `upload` or `deploy` mode in the current implementation.