Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Sign in
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.


  • By Jeremy from TurnKey
  • on 05/26/2022

Hi there, Sorry I haven't responded sooner. I only just noticed this post. Next time you struggle with our servers, I suggest that you contact support (support@turnkeylinux.org - please also provide your AWS ID number). In this case it appears to be a misunderstanding. As the name suggests, `tklbam-python-boto` is specifically for use with TKLBAM. It is named like that in the hope that that might be clear. So if you want to use boto3, then please simply install it: pip install boto3 Having said that, pre-including it might be a good idea!?