Sign in Agent Mode
Categories
Your Saved List Become a Channel Partner Sell in AWS Marketplace Amazon Web Services Home Help

boto 2 doesn't support ec2_create module had to uninstall and install standard

  • By NO_EC2_for_you?
  • on 01/20/2019

It doesn't come with boto3 and boto2 has problems. Needs an update. Especially if you are going to charge.

When using the following package: tklbam-python-boto for boto2 which comes with the AMI the ec2 module with the create action failed with the following error
AttributeError: 'module' object has no attribute 'ProfileNotFoundError'

Had to replace it with:

python-boto

I know this is supposed to be optimized for security etc but if the most obvious module doesn't work because the instance_profile_name input is set (see ansible docs for details) then what's the point.