-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Fail to deploy on Github Actions #6014
Comments
We're facing the exact same issue |
this might be related (date/time aligns) to the release of a new github actions standard ubuntu runner that updated aws library versions: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md |
We have tried a Mac OS X runner instead, however it's the same result. Also, we have seen failures before the image change. Are you able to address it with another image? |
it seems that you can't define 24.04.1 as a release for the github hosted standard runner. i'm currently trying to override the newer versions of aws cli and sam cli by the old ones within the workflow. this is a workaround to unblock our teams. but it seems that you need to adopt to the updated versions as there's no going back. and overriding it is not so efficent. |
this did not help, unfortunately. also downgrading to 22.04 https://github.com/actions/runner-images/blob/ubuntu24/20250223.1/images/ubuntu/Ubuntu2204-Readme.md which does not seem to have all these library updates, did not help. |
Are you able to replicate it on our local machine with any aws-cli, aws-cdk, aws-cdk-lib, cdk combination? |
no, deployment from local (macOS) to AWS seems to work as far as I know |
the only solution for us so far is using docker to build and deploy in the github action.
(i removed specifics from our setup) |
@felixwuerthcs thanks for sharing. We were able to mitigate using the Docker image approach. This issue kick-starts our migration away from AWS Copilot CLI, also considering alternatives. |
Description:
Starting on Monday 23th February, we are unable to use Copilot v1.34.0 in our Github Actions. When ever we run any
copilot svc deploy...
command, it fails with the following error:The same output happens when using
copilot svc package...
. We haven't change any dependency or infrastructure. Dependencies are pinned to be:A later cdk version doesn't work either.
Any advice or hint is highly appreciated.
Update:
It works without the CDK overrides.
Details:
Linux + Mac
Copilot v1.34.0
Observed result:
Expected result:
No errors.
Debugging:
Different Github infra, later cdk version
The text was updated successfully, but these errors were encountered: