https://github.com/toshke/hl-component-cfhlmacros
Cfhighlander supporting macro functionality
https://github.com/toshke/hl-component-cfhlmacros
Last synced: about 1 month ago
JSON representation
Cfhighlander supporting macro functionality
- Host: GitHub
- URL: https://github.com/toshke/hl-component-cfhlmacros
- Owner: toshke
- Created: 2019-05-30T23:49:45.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-31T10:39:36.000Z (almost 6 years ago)
- Last Synced: 2025-02-16T08:15:26.908Z (3 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
TL;DR
Extend CloudFormation templates produced by [cfhighlander](https://github.com/theonestack/cfhighlander.git)
1. Compile the tempate and publish to s3
```
$ docker run --rm -it -v $PWD:/src -w /src \
-v $HOME/.aws:/home/cfhighlander/.aws theonestack/cfhighlander bash$ cfpublish github:toshke/cfhl-component-cfhlmacros
```
2. Create a CloudFormation stack using Console url from the output
```
...
Use following url to launch CloudFormation stackhttps://console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?filter=active&templateURL=https://123456789012.us-east-1.cfhighlander.templates.s3.amazonaws.com/published-templates/cfhlmacros/latest/cfhlmacros.compiled.yaml&stackName=cfhlmacros
...
```3. Use `Cfhighlander_Networking` macro like following in your template, to read [vpc component subnets](https://github.com/theonestack/hl-component-vpc)