File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/cloud.cpython-310.pyc
o
�N�g�8 � @ s� d Z ddlZddlm mZ dd� Zdd� Zddd �Zd
d� Z ddd
�Z
ddd�Zddd�Zddd�Z
ddd�Zddd�Zddd�ZdS )z�
Using states instead of maps to deploy clouds
=============================================
.. versionadded:: 2014.1.0
Use this minion to spin up a cloud instance:
.. code-block:: yaml
my-ec2-instance:
cloud.profile:
my-ec2-config
� Nc C s dt v rdS dS )z@
Only load if the cloud module is available in __salt__
�
cloud.profileT)Fz cloud module could not be loaded)�__salt__� r r �E/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/cloud.py�__virtual__ s r c C s: | i d dd�}t �| d�rd|d<