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

Is it possilbe to run aws cli v2 from shippable? #5175

Open
tkumark opened this issue Nov 18, 2020 · 1 comment
Open

Is it possilbe to run aws cli v2 from shippable? #5175

tkumark opened this issue Nov 18, 2020 · 1 comment

Comments

@tkumark
Copy link

tkumark commented Nov 18, 2020

Is it possible to run aws cli v2 as a job in shippable? If so how would I go about doing that?

@a-murphy
Copy link

The easiest option may be to build your own Docker image with the version of the CLI you would like installed and specify that image in the task's runtime section (http://docs.shippable.com/platform/workflow/job/runsh/#yml-definition). Installation directions for the AWS CLI v2 that should work in a Dockerfile are here. It appears that an AWS Keys integration should still work with version 2, but if you prefer you can use a Key-value Pair integration and any of the CLI configuration methods in your scripts.

Alternatively, you could install the AWS CLI v2 in your script and use a different name for the v2 command as described in the informational box near the top of that page.

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