Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/northern/aws-cf-yaml
Using YAML for CloudFormation templates
https://github.com/northern/aws-cf-yaml
Last synced: about 16 hours ago
JSON representation
Using YAML for CloudFormation templates
- Host: GitHub
- URL: https://github.com/northern/aws-cf-yaml
- Owner: northern
- Created: 2016-01-08T03:56:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-08T04:14:49.000Z (almost 9 years ago)
- Last Synced: 2023-08-03T16:36:01.648Z (over 1 year ago)
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS CloudFormation YAML
A CloudFormation template in YAML format based on the excellent WordPress template by [widdix](https://github.com/widdix/aws-cf-templates).
## Usage
Before usage, first convert from YAML to JSON which can be done in variety of ways, this is just one example in Python to get you going:
#!/bin/bash
python -c 'import sys, yaml, json; json.dump(yaml.load(sys.stdin), sys.stdout, indent=2)' < $1.yaml > $1.jsonSimply store in an executable shell script and run as:
yaml2json wordpress
Easy..