MJH
MJH

Reputation: 1

How do I get Lightsail options on AWSCLI?

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!

Upvotes: 0

Views: 467

Answers (2)

MJH
MJH

Reputation: 1

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

Upvotes: 0

Brandon Miller
Brandon Miller

Reputation: 5065

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.

Upvotes: 1

Related Questions