AWS CLI tools on MacOS VMs

Any chance of getting the AWS CLI tools pre-installed on MacOS images?

As our build process gets more complex, we find ourselves interacting more & more with various AWS services. Right now, to install the AWS CLI tools on the pre-installed Python using pip, it takes ~45 seconds per build. It would be nice to not have to reinstall them every time.

As an alternative, is there an easy way to cache a pip install with CircleCI caching?

I use the circleci/aws-cli orb on the macos executor. It typically installs in about 10 seconds. Here’s a snippet from one of my configs:

version: 2.1
orbs:
  slack: circleci/slack@3.4.2
  aws-cli: circleci/aws-cli@1.1.0

executors:
  macos-build:
    macos:
      xcode: 11.5.0
1 Like

Thanks! I haven’t looked much at orbs yet. That’s probably the best solution (and I’m guessing that’s what the Circle folks would recommend, anyway.)

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.