Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukaszkorecki/hcl-playground
https://github.com/lukaszkorecki/hcl-playground
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lukaszkorecki/hcl-playground
- Owner: lukaszkorecki
- Created: 2020-03-07T20:27:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-25T17:59:19.000Z (almost 4 years ago)
- Last Synced: 2024-10-24T02:55:52.740Z (2 months ago)
- Language: HCL
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HCL playground
Steps:
```shell
terraform apply && terraform output out_yaml | ruby -ryaml -rpp -e 'pp YAML.load(ARGF.read)'
```output should be:
```ruby
{"env"=>
[{"name"=>"PG_HOST", "value"=>"some.host.internal"},
{"name"=>"PORT", "value"=>1234},
{"name"=>"SOME_SECRET", "value"=>"pineapples are 1337"}]}
```Read more about this project here: https://korecki.me/blog/2020/3/7/quickly-testing-hcl-expressions