Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do we add eTag for the aws-code-deploy step?

Hi,

 

I am trying to setup a bitbucket pipeline where the only step i require is the aws codedeploy step. 

I have another process that will generate and push the code deploy revision to S3 bucket.

 

The problem I am facing now is that there is no way to specify the eTag for the generated artifact. 

 

I tried adding the full path of the file (including the eTag) to "VERSION_LABEL" parameter of the aws-code-deploy step but it doesn't work.

Looking at the debug log, the actual AWS CLI call generated on pipeline is this 

aws deploy get-application-revision --application-name <APP NAME>> --revision revisionType=S3,s3Location={bucket=<<BUCKET_NAME>>,bundleType=zip,key=<<FILENAME>>?eTag=XXXXXXX} --debug

 

However, looking at the AWS CLI command line, the eTag should be specified as a key-value.

 

Apart from running the deploy step manually, is there anyway for me to include eTag in atlassian/aws-code-deploy-0.2.10?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,849 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you