https://github.com/kilna/cloudformation-helm-demo
https://github.com/kilna/cloudformation-helm-demo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kilna/cloudformation-helm-demo
- Owner: kilna
- Created: 2019-04-09T01:06:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-04-09T06:08:16.000Z (over 6 years ago)
- Last Synced: 2025-07-15T11:19:24.096Z (3 months ago)
- Language: Shell
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cloudformation-helm-demo
Demo project to show a worflow for generation and application of AWS
Cloudformation using Helm as the templating backend.## Prerequisites
* AWS account
* Properly configured AWS CLI
* A working OpenSSH environment
* [yq](https://github.com/kislyuk/yq)
* An AWS EC2 key as referenced in `values/demo.yaml` and saved as `.pem` in the root of this project## Usage
### Help
```
$ bin/deploy --help
USAGE: bin/deploy [--profile=PROFILE] [--action=ACTION]PROFILE must match a YAML file in values/ - defaults to "demo"
ACTION is a cloudformation action - valid values are "create" and "delete"
default id "create"--help : shows this message
--debug : enables trace logging
```### Deployment
```
$ bin/deploy --profile=demo
```### Deletion
```
$ bin/deploy --action=delete --profile=demo
```### Notes / Caveats
* Generates a valid template BUT
* Provided example code did not include "AWSRegionArch2AMI" Mapping, so lookup of ImageId fails
* I only learned Cloudformation this evening
* CF's defaulting syntax is used to set values. From what I can tell this should be done as a separate parameters file or explicit args to the AWS CLI.