Documentation ¶
Overview ¶
AWS API and CloudFormation parser.
Installation ¶
Get the package
go get github.com/KablamoOSS/kombustion
Build as docker image
docker build -t kombustion .
Update Base Parsers
go run ./generate/generate.go
Usage ¶
Generate a cloudformation template from: ./configs/test.yaml:
kombustion cf generate --format=yaml test
Upsert a cloudformation template from: ./compiled/test.yaml:
kombustion cf upsert test
Delete a cloudformation stack (stackName: test)
kombustion cf delete test
Print all the events for a stack (stackName: test)
kombustion cf events test
Using Roles and MFA
TOKEN=000000 \ MFA_SERIAL=arn:aws:iam::123456:mfa/stackCreator \ ASSUMED_ROLE=arn:aws:iam::123456:role/stackCreatorRole \ kombustion cf upsert test
Custom Plugins ¶
Kombustion utilizes package plugin (https://godoc.org/plugin). By default kombustion will look for plugins in the ./plugins directory. You can also Specify custom plugins directory:
PLUGINS=/plugins kombustion cf generate test
Click to show internal directories.
Click to hide internal directories.