Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Deleted user April 14, 2020

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
atlassian, atlassian community, job interviews, interview tips, career advice, interview preparation, job search, interview experiences, hiring process, atlassian careers, community discussion, interview best practices

Interview Tips & Pet Peeves ✍️

Join the discussion on interview best practices and common pitfalls. Share your experiences and learn from others in the Atlassian Community.

Share you experiences!
AUG Leaders

Atlassian Community Events