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
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)