bora
bora copied to clipboard
A Ruby command line tool and rake tasks for working with cloudformation stacks and cfndsl
Resolve certificate ARN's from AWS Certificate Manager via a domain name.
The cfndsl has moved away to it's own organisation/owner in github. This PR links to the new URL.
It seems that the diff command is not honouring `noEcho: true` for omitting sensitive information. (tested on latest version to date)
Should fix #38.
``` timtest: template_file: templates/global/alb.rb on_failure: DO_NOTHING tags: CostCentre: EDS capabilities: [CAPABILITY_IAM] stacks: qa: tags: Account: NONPROD Environment: QA params: Environment: QA AlbSchema: internal targetgroups: XXXXX: healthcheck_path: '/healthcheck.html' listenerrules: - priority:...
```` $ rake example-qa:status --cfn-stack-name=example-qa-6 invalid option: --cfn-stack-name=example-qa-6 $ rake example-qa:status[cfn-stack-name=example-qa-6] Stack does not exist $ bora status example-qa --cfn-stack-name "example-qa-6" example-qa-6 - CREATE_COMPLETE ````
My use case was to use `ENV['var']` in the `bora.yml` so I made this small PR for it.
Should have some proper end-to-end tests, as the specs don't catch everything. Using [awsspec](https://github.com/k1LoW/awspec) would provide a good way to test things. I'm imagining a bunch of specs that set...
The code presently assumes JSON. There's probably a number of places things are broken with YAML templates. Bora should support these.
CloudFormation [custom resources](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html) are really powerful, but not often used because it's a fair bit of messing around to get them set up and working. Bora could allow you to...