%PDF- %PDF-
| Direktori : /proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/salt/modules/ |
| Current File : //proc/thread-self/root/proc/self/root/lib/python2.7/site-packages/salt/modules/boto_cfn.pyc |
�
���^c @@ s� d Z d d l m Z m Z m Z d d l Z d d l m Z d d l Z e j
e � Z yK d d l
Z
d d l Z
d d l m Z e j
d � j e j � e Z Wn e k
r� e Z n Xd � Z d � Z d d d d d � Z d d d d d
� Z d d d d d d d d d d d d d d d d � Z d d d d e d d d d d d d d d d d d d � Z d d d d d
� Z d d d d d � Z d d d d d d d � Z d S( uX
Connection module for Amazon Cloud Formation
.. versionadded:: 2015.5.0
:configuration: This module accepts explicit AWS credentials but can also utilize
IAM roles assigned to the instance through Instance Profiles. Dynamic
credentials are then automatically obtained from AWS API and no further
configuration is necessary. More Information available at:
.. code-block:: text
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
If IAM roles are not used you need to specify them either in a pillar or
in the minion's config file:
.. code-block:: yaml
cfn.keyid: GKTADJGHEIQSXMKKRBJ08H
cfn.key: askdjghsdfjkghWupUjasdflkdfklgjsdfjajkghs
A region may also be specified in the configuration:
.. code-block:: yaml
cfn.region: us-east-1
:depends: boto
i ( t absolute_importt print_functiont unicode_literalsN( t six( t BotoServerErroru botoc C@ s t j j j d t � S( u,
Only load if boto libraries exist.
t check_boto3( t saltt utilst versionst check_boto_reqst False( ( ( s9 /usr/lib/python2.7/site-packages/salt/modules/boto_cfn.pyt __virtual__; s c C@ s* t r&