0

I am trying to add automatic snapshot functionality to my lightsail instance. I have installed and updated the awscli through pip.

Everything checks out fine, but there is no option available for lightsail in the cli. I followed this tutorial from joe0

After executing the command to get instance snapshots, I get this: Awscli image

Note: No lightsail option exists.

Any ideas how to fix this? Thanks for your time!

MJH
  • 1

2 Answers2

1

You need a newer version of the AWS CLI. Version 1.11.13 does not include lightsail. It appears it was added in 1.11.23. The latest version in pip is 1.15.29. Try running pip install awscli --upgrade again and make sure you have the latest version.

Brandon Miller
  • 4,695
  • 1
  • 20
  • 27
  • Did it twice. It is stuck at the same version. Any idea how to force the update? Thanks! – MJH May 31 '18 at 00:52
  • Try some of the other suggestions here https://stackoverflow.com/questions/36969391/how-to-upgrade-aws-cli-to-the-latest-version – Brandon Miller May 31 '18 at 00:54
  • I uninstalled and reinstalled awscli. That did the trick! Thanks, Brandon! – MJH May 31 '18 at 01:06
0

In my case, I uninstalled and reinstalled awscli. Worked like a charm. Thanks for pointing me in the right direction Brandon Miller.

MJH
  • 1