File "./secgroups.py", line 11, in <module>
conn = ec2.connect_to_region(region,profile_name=account)
File "/usr/lib/python2.7/site-packages/boto/ec2/__init__.py", line 66, in connect_to_region
return region.connect(**kw_params)
File "/usr/lib/python2.7/site-packages/boto/regioninfo.py", line 187, in connect
return self.connection_cls(region=self, **kw_params)
File "/usr/lib/python2.7/site-packages/boto/ec2/connection.py", line 103, in init
profile_name=profile_name)
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1100, in init
provider=provider)
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 555, in init
profile_name)
File "/usr/lib/python2.7/site-packages/boto/provider.py", line 201, in init
self.get_credentials(access_key, secret_key, security_token, profile_name)
File "/usr/lib/python2.7/site-packages/boto/provider.py", line 297, in get_credentials
profile_name)
boto.provider.ProfileNotFoundError: Profile "2721355455" not found!
Это не номер акаунта, а название профиля
Обсуждают сегодня