buildkite / elastic-ci-stack-for-aws

An auto-scaling cluster of build agents running in your own AWS VPC
https://buildkite.com/docs/quickstart/elastic-ci-stack-aws
MIT License
414 stars 265 forks source link

Update aws-cli to recent version in windows image #1304

Open imccoy opened 3 months ago

imccoy commented 3 months ago

Is your feature request related to a problem? Please describe.

I was looking at an issue (specifically, we are seeing sporadic "The request signature we calculated does not match the signature you provided" errors) on our windows stack that doesn't occur on our linux stack, and one of the obvious differences is that aws-cli is pinned to version to 1.18 for the windows one while the linux one is on (I think) something like 2.14.5-1.amzn2023.0.1

Describe the solution you'd like

I saw a comment from 2020 suggesting v6 would get an aws-cli update and a 2022 issue closed when v6's linux image received the aws-cli update. I was hoping for an update on if there were plans to update to the aws-cli version in the windows stack, or an update on why it might make sense to keep holding it back.

moskyb commented 3 months ago

kia ora @imccoy! good spot, this was an oversight on our part when we bumped to v6 - we should've updated the aws cli for windows as well as linux. we'll add a ticket to our backlog to make this upgrade, which will probably have to happen as part of a v7 release due to its breaking nature for windows users.

in the meantime, have have you tried updating the aws cli in a bootstrap script, and seeing if it solves your underlying issues?