Skip to main content

CloudFormation printer and inspector

Project description

# cfn-inspect: pretty print and inspect CloudFormation templates

Simple pretty printer for CloudFormation templates, in future it will also provide some validation and deep inspection.

Support json templates only for now.


# Installation

```$ pip install cfn-inspect```

# Usage

```
$ cfn-inspect rds.json --verbose

cfn-inspect v0.1
Inspecting template: templates/rds.json
Description: RDS-MySQL
Parameters
AllocatedStorage (Number)
DbMasterPassword (String)
DbName (String)
ExistingDbSnapshot (String)
NetworkStack (String)
Production (String)
Resources
DbMysql (AWS::RDS::DBInstance)
SecurityGroupClientMysql (AWS::EC2::SecurityGroup)
SecurityGroupDbMysql (AWS::EC2::SecurityGroup)
Outputs
ClientSG
DbHost
Exported as {'Fn::Sub': '${AWS::StackName}-DbHost'}
DbMasterUser
Exported as {'Fn::Sub': '${AWS::StackName}-DbMasterUser'}
DbMysql
Exported as {'Fn::Sub': '${AWS::StackName}-DbMysql'}
DbName
Exported as {'Fn::Sub': '${AWS::StackName}-DbName'}
DbPort
Exported as {'Fn::Sub': '${AWS::StackName}-DbPort'}
```

# Author
Dariusz Dwornikowski

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

cfn-inspect-0.2.2.tar.gz (2.9 kB view hashes)

Uploaded Source

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