836 Commits

Author SHA1 Message Date
Khosrow Moossavi
f55fd6cc5b fix: Fix type conversion for numbers (#204)
* Fix type conversion for numbers

* add tests

* add more tests
2020-02-24 10:18:02 -05:00
dependabot-preview[bot]
27b95c4adf build(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.6 (#201)
* build(deps): bump github.com/spf13/cobra from 0.0.5 to 0.0.6

Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/0.0.5...v0.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* update vendors

Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-02-20 10:44:03 -05:00
dependabot-preview[bot]
523e76eefe build(deps): bump github.com/stretchr/testify from 1.5.0 to 1.5.1 (#200)
* build(deps): bump github.com/stretchr/testify from 1.5.0 to 1.5.1

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* update vendors

Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-02-20 10:26:21 -05:00
Khosrow Moossavi
9d82e17884 Update format docs 2020-02-19 18:28:02 -05:00
Khosrow Moossavi
743d4f3ebc refactor: Add Default value types for better marshalling (#196)
* Add Default value types for better marshalling

* fix output-values tests
2020-02-19 15:37:48 -05:00
Khosrow Moossavi
38e18970ed refactor: Introduce Format interface and expose to public pkg (#195)
* Introduce format interface and expose to public pkg

* fix issues after merge

* don't panic

* Rename TFString back to String
2020-02-19 14:07:10 -05:00
dependabot-preview[bot]
3da3769a58 build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.0 (#199)
* build(deps): bump github.com/stretchr/testify from 1.4.0 to 1.5.0

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.4.0...v1.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update vendors

Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-02-19 11:51:15 -05:00
Khosrow Moossavi
4ebc40b5a2 Update Changelog 2020-02-19 11:47:50 -05:00
Khosrow Moossavi
11589cd916 Update list of authors 2020-02-19 11:47:47 -05:00
Gretchen Shelby-Dormer
31cdef0f67 feat: Extract and render output values from Terraform (#191)
* Allow users to pass '--output-values'

Pass empty string to CreateModule.outputValuePath

* Fix bug causing 'pretty' tests to fail

* Link formats documentation in README (#181)

Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>

* docs: Auto generate formats document from examples (#192)

* Auto generate formats document from examples

* fix lint issues

* refactor: Add tfconf.Options to load Module with (#193)

* Update Changelog

* Allow users to pass '--output-values'

Read the outputValuesPath from an env variable

Use an env var with a path for '--output-values'

Update Changelog

Use an env var with a path for '--output-values'

Update Changelog

properly write output values for evrythng but yaml

* Fix failing json+yaml tests

* Remove unneeded code block from output.go

* Remove unused import statement from output.go

* Fix some noob mistakes

* Create two flags to use for output value injection

* Fix bug vanilla commands+build test to fail

* Modify all tests and add new for outputvalues

* Modify to include many output types

* Optimize imports to appease checkfmt

* Create loadOutputValues function

* Fix linter issue

* Code review fixes. Hopefully the final commit!

* appease linter

* Not allow sensitive output values to be injected

* Remove trailing slash from tests

* Remove default values from `--output-values-from`

Co-authored-by: Martyn Ranyard <iMartyn@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-02-19 11:46:43 -05:00
Khosrow Moossavi
b86f6715f9 Update Changelog 2020-02-11 15:13:15 -05:00
Khosrow Moossavi
d4a0663909 refactor: Add tfconf.Options to load Module with (#193) 2020-02-11 14:56:02 -05:00
Khosrow Moossavi
54ab7f9bbb docs: Auto generate formats document from examples (#192)
* Auto generate formats document from examples

* fix lint issues
2020-02-10 20:53:57 -05:00
Martyn Ranyard
dafa2e84f7 Link formats documentation in README (#181)
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-02-10 13:57:22 -05:00
Khosrow Moossavi
90fd2a322f feat: Render formatted results with go templates (#177) 2020-02-05 13:23:42 -05:00
Khosrow Moossavi
42ad476a37 feat: Add support for YAML renderer (#189) 2020-02-03 20:13:10 -05:00
Khosrow Moossavi
cd6e9d48e8 Bump homebrew formula to v0.8.2 2020-02-03 17:33:48 -05:00
Khosrow Moossavi
7704eaf974 Bump version to v0.9.0-alpha 2020-02-03 13:33:33 -05:00
Khosrow Moossavi
e9812facbb Update Changelog v0.8.2 2020-02-03 13:33:27 -05:00
Khosrow Moossavi
3fff66d4ea Release version v0.8.2 2020-02-03 13:33:24 -05:00
Khosrow Moossavi
c80bc144e1 Add TestSettings for cleaner required Settings in tests (#188) 2020-02-01 14:48:10 -05:00
Khosrow Moossavi
bf07706947 fix: Do not escape markdown table inside module header (#186) 2020-02-01 14:21:54 -05:00
Khosrow Moossavi
0f6b1e0e82 fix: Add double space only at the end of paragraph lines (#185) 2020-01-30 20:25:13 -05:00
Khosrow Moossavi
43f69d337f fix: Preserve asterisk list in header and fix escaping (#179) 2020-01-30 18:47:32 -05:00
Khosrow Moossavi
bf38a75fe3 fix: Add newline between code block and trailing lines (#184) 2020-01-30 18:09:45 -05:00
Khosrow Moossavi
84ceb57d66 Bump version to v0.8.2-alpha 2020-01-29 19:00:17 -05:00
Khosrow Moossavi
5f7690792a Bump homebrew formula to v0.8.1 2020-01-22 11:48:36 -05:00
Khosrow Moossavi
d0dd6ee246 Bump homebrew formula to v0.8.0 2020-01-22 11:47:58 -05:00
Khosrow Moossavi
132a6c9e88 Bump version to v0.9.0-alpha 2020-01-21 10:48:35 -05:00
Khosrow Moossavi
e7ad477d0a Update Changelog v0.8.1 2020-01-21 10:48:29 -05:00
Khosrow Moossavi
a214ad2586 Release version v0.8.1 2020-01-21 10:48:26 -05:00
Khosrow Moossavi
143e47dbef Fix release scripts (#175) 2020-01-20 17:20:36 -05:00
Khosrow Moossavi
b604bce0c7 fix: Show native map and list as default value in JSON (#174) 2020-01-20 16:04:12 -05:00
Khosrow Moossavi
50cecbf64a Bump version to v0.8.1-alpha 2020-01-20 14:23:25 -05:00
Khosrow Moossavi
77680e7992 Bump version to v0.9.0-alpha 2020-01-17 14:48:51 -05:00
Khosrow Moossavi
c7178b19df Update Changelog v0.8.0 2020-01-17 14:46:26 -05:00
Khosrow Moossavi
6a8689d625 Release version v0.8.0 2020-01-17 14:44:26 -05:00
Khosrow Moossavi
d0ec592ccb Update Changelog 2020-01-17 13:47:19 -05:00
Khosrow Moossavi
6ff46a26b1 fix: Do not escape any characters of a URL (#170) 2020-01-17 13:45:48 -05:00
Khosrow Moossavi
0227bb9d8d docs: Initial commit of usage documentation (#162)
* Initial commit of usage documentation

* update json document
2020-01-17 12:49:15 -05:00
Khosrow Moossavi
ccf2bcd3da fix: Add double space at the end of multi-lines paragraph (#169) 2020-01-17 12:40:46 -05:00
Khosrow Moossavi
a5e91258d6 Update Changelog 2020-01-16 17:35:54 -05:00
Khosrow Moossavi
e56a8b8abd Update Changelog 2020-01-16 17:09:42 -05:00
Khosrow Moossavi
1d33e9d03c fix: Show empty JSON properties, as 'null' for all types (#166)
* Show empty JSON properties, as 'null' for all types

* fix lint issue
v0.8.0-rc.3
2020-01-16 16:53:52 -05:00
Khosrow Moossavi
888bf9e1d1 fix: Do not wrap multiline blocks in table with <code> (#164) 2020-01-16 15:05:04 -05:00
Khosrow Moossavi
cbe4a00843 Update dependencies 2020-01-16 14:21:20 -05:00
Khosrow Moossavi
1dd45537d3 docs: Deprecate accepting files as commands param (#163)
BREAKING CHANGE: - With Terraform 0.12 ability to generate
output from file has been deprecated in favor of from folder
which contains one or more `.tf` files.
2020-01-15 18:57:33 -05:00
Khosrow Moossavi
61fc16c101 fix: Show all JSON properties, empty or null (#160)
* Show all JSON properties, empty or null

* fix lint issue
2020-01-14 14:54:15 -05:00
Khosrow Moossavi
d52122db3d Update list of authors v0.8.0-rc.2 2020-01-12 15:32:26 -05:00
Khosrow Moossavi
29e06673a0 Update Changelog 2020-01-12 15:29:49 -05:00