I have a simple pipelines definition that uploads all files in the repo (its a repo of images) to S3 upon merge. Here is the definition:
------ indentation is off below.... ---------
image: atlassian/pipelines-awscli
pipelines:
branches:
develop:
- step:
name: Deploy develop branch to S3 bucket idp-ui-cdn-dev script:
- export AWS_SECRET_ACCESS_KEY=$S3APIUSER_ACCESSS_SECRET_KEY
- export AWS_ACCESS_KEY_ID=$S3APIUSER_ACCESS_KEY_ID
- aws s3 sync --delete . s3://my-s3-bucket-for-images
------
The pipeline kicks off just fine and syncs a bunch (100s) of files to S3 then reports 'failed' and stops. It appears to stop at the same file each time.
Any insights would be helpful.
How do I trouble shoot/debug this?
Thanks