Get AWS CloudFormation stack template and parameters.
Project description
Overview
Get AWS CloudFormation stack template and parameters.
Prerequisites
Python >= 3.6
aws-authenticator (https://pypi.org/project/aws-authenticator/) >= 2022.10.1.0
Required Arguments
Output path (to store module artifacts)
AWS authentication method (profile, iam, or sso)
Conditional Arguments
If authenticating with named profiles:
AWSCLI profile name
If authenticating with IAM acccess key credentials:
AWS access key id
AWS secret access key
If authenticating with SSO:
AWS account ID
AWS SSO Permission Set (role) name
AWS SSO login URL
Usage
Installation:
pip3 install aws-cfstack
# or
python3 -m pip install aws-cfstack
In Python3 authenticating with named profiles:
import aws_cfstack
aws_cfstack.get_stack(
'/home/username/Desktop',
'profile',
profile_name='<profile_name>'
)
In BASH authenticating with named profiles:
python [/path/to/]aws_cfstack \
-o <output_path> \
-m profile \
-p <profile_name>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for aws_cfstack-2022.11.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8879d66ed628fa1369eb7210c185fa8a27768d6b6d58edbfb1d02945ccf74221 |
|
MD5 | f0ca4b67a343a0a5d0c8355ed626e53c |
|
BLAKE2b-256 | ef1d442e7a24f4b56fd3f5e7ecd714d664606cae7bdf53e4bc50cb0b24a0a84a |