Import boto.ec2 in sns to allow boto profiles to be used

This commit is contained in:
Joe Ray 2015-04-01 17:17:52 +01:00 committed by Matt Clay
parent c3ce2eb169
commit a91c8caee0

View file

@ -105,6 +105,7 @@ from ansible.module_utils.ec2 import *
try: try:
import boto import boto
import boto.ec2
import boto.sns import boto.sns
except ImportError: except ImportError:
print "failed=True msg='boto required for this module'" print "failed=True msg='boto required for this module'"