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
AUG Leaders

Atlassian Community Events