aws / aws/aws-toolkit-azure-devops

Task AWSCLI@1 fails on S3 cp command

Open
#542 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
258
Forks
114
PR merge metrics
No merged PRs in 30d

Description

On a pipeline that was running without problems the following command is now returning this error:

![image](https://github.com/aws/aws-toolkit-azure-devops/assets/158319697/79b5597d-5cc0-44ed-a0a5-efd3e976789d)

![image](https://github.com/aws/aws-toolkit-azure-devops/assets/158319697/b57c37f6-beef-44c5-902d-883064214429)

By using S3Upload@1 instead of AWSCLI@1 the problem is solved:

![image](https://github.com/aws/aws-toolkit-azure-devops/assets/158319697/057a3bab-c6b5-4793-86d1-2fa86390d333)

Same credentials, same pipeline and same bucket and file to copy.

Thing is that AWSCLI@1 is used to rm and cp on S3 from several of my pipelines and I don't want to replace it everywhere.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the AWSCLI@1 S3 cp command with the same credentials, bucket, and file, then compare it with the working S3Upload@1 task. Inspect the AWSCLI@1 and S3Upload@1 entry points and the reported error; done means the existing rm and cp pipeline commands work without replacing AWSCLI@1.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, azure
Domain
cli, cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.