-
Notifications
You must be signed in to change notification settings - Fork 4k
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
(codedeploy): Invalid yum package name causing command failures. #13654
Labels
@aws-cdk/aws-codedeploy
Related to AWS CodeDeploy
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Comments
diegotry
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Mar 18, 2021
diegotry
added a commit
to diegotry/aws-cdk
that referenced
this issue
Mar 18, 2021
Package name for yum is not awscli. This causes the command to have a return code different than 0, which fails the user-data script. This change addresses the issue: aws#13654
mergify bot
pushed a commit
that referenced
this issue
Mar 18, 2021
Package name for yum is not awscli. This causes the command to have a return code different than 0, which fails the user-data script. This change addresses the issue: #13654 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Fixed in #13655. |
|
eladb
pushed a commit
that referenced
this issue
Mar 24, 2021
Package name for yum is not awscli. This causes the command to have a return code different than 0, which fails the user-data script. This change addresses the issue: #13654 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
hollanddd
pushed a commit
to hollanddd/aws-cdk
that referenced
this issue
Aug 26, 2021
Package name for yum is not awscli. This causes the command to have a return code different than 0, which fails the user-data script. This change addresses the issue: aws#13654 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
@aws-cdk/aws-codedeploy
Related to AWS CodeDeploy
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
The userdata script includes the following command:
The problem is that awscli works for apt-get, but it doesn't work for yum. The correct package name is
aws-cli
.The above command returns a code different than 0, which causes the script to fail due to a recent change: see #12764
Previously, the error was ignored and now it is causing failures (which is the right behavior in my opinion, as the package doesn't exist).
Reproduction Steps
What did you expect to happen?
I expect the command to succeed.
What actually happened?
The failure caused my deployments to fail.
Environment
Other
I will submit a PR soon.
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: