Skip to content
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

Tweak needed to run build job successfully #5

Open
joyrexus opened this issue May 5, 2021 · 1 comment
Open

Tweak needed to run build job successfully #5

joyrexus opened this issue May 5, 2021 · 1 comment

Comments

@joyrexus
Copy link

joyrexus commented May 5, 2021

It looks like the builds are failing when trying to install the AWS CLI because a pre-existing CLI is already in place:

Found preexisting AWS CLI installation: /usr/local/aws-cli/v2/current. Please rerun install script with --update flag.

You might just need to tweak this line from the workflow file to ...

sudo ./aws/install || sudo ./aws/install --update

... or ...

sudo ./aws/install || echo "Found preexisting AWS CLI installation" 

... to ensure the CLI gets installed and doesn't fail if it pre-exists.

@s4nt14go
Copy link

s4nt14go commented May 5, 2021

The error says Found preexisting AWS CLI installation, so I think if you comment that step install AWS CLI altogether you can get rid of it:
s4nt14go/appsyncmasterclass-backend@49597e1

@joyrexus joyrexus changed the title Tweak needed for build job to run successfully Tweak needed to run build job successfully May 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants