Skip to main content

This is Wrapper tool for aws cloudformation create stack.

Project description

cfn-exec

This is Wrapper tool for aws cloudformation create stack.

Installation

  1. Open AWS Cloudshell or any terminal configured with aws cli.
  2. Install cfn-exec
pip3 install cfnexec
  1. Create stack with CFn file or url and parameter file or url
cfn-exec -n $your_stack_name -i $your_cfn_url -p $your_cfn_parameter_url 

note: If you are using the nested call function of Cloudformation, you need to make the called file accessible in advance.

cli options

TBD

parameter file format

Support "Cloudformation official format" or "Simple format" Cloudformation official format

[
  {
    "ParameterKey": "ParameterKeyName1",
    "ParameterValue": "ParameterValue1"
  },
  {
    "ParameterKey": "ParameterKeyName2",
    "ParameterValue": "ParameterValue2"
  },
  ...
],
---
- ParameterKey: ParameterKeyName1
  ParameterValue: ParameterValue1
- ParameterKey: ParameterKeyName2
  ParameterValue: ParameterValue2
  ...

Simple format

{
  "ParameterKeyName1": "ParameterValue1",
  "ParameterKeyName2": "ParameterValue2",
  ...
}
---
ParameterKeyName1: ParameterValue1
ParameterKeyName2: ParameterValue2
...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cfnexec-0.4.3.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

cfnexec-0.4.3-py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page