dependabot[bot]
d6e8352c79
build: bump github.com/zclconf/go-cty from 1.6.0 to 1.6.1 ( #321 )
...
* build: bump github.com/zclconf/go-cty from 1.6.0 to 1.6.1
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.6.0...v1.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
* go mod tidy
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-09-04 10:47:45 -04:00
dependabot-preview[bot]
e9cd8aa774
build(deps): bump github.com/zclconf/go-cty from 1.5.1 to 1.6.0 ( #316 )
...
* build(deps): bump github.com/zclconf/go-cty from 1.5.1 to 1.6.0
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* go mod tidy
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-09-01 14:55:55 -04:00
dependabot-preview[bot]
c531384455
build(deps): bump github.com/imdario/mergo from 0.3.10 to 0.3.11 ( #306 )
...
* build(deps): bump github.com/imdario/mergo from 0.3.10 to 0.3.11
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo ) from 0.3.10 to 0.3.11.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v0.3.10...v0.3.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* go mod tidy
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-08-12 19:51:44 -04:00
dependabot-preview[bot]
bf8da72301
build(deps): bump github.com/imdario/mergo from 0.3.9 to 0.3.10 ( #295 )
...
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo ) from 0.3.9 to 0.3.10.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v0.3.9...v0.3.10 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-20 10:19:15 -04:00
dependabot-preview[bot]
04375a6c6a
build(deps): bump github.com/go-test/deep from 1.0.6 to 1.0.7 ( #290 )
...
* build(deps): bump github.com/go-test/deep from 1.0.6 to 1.0.7
Bumps [github.com/go-test/deep](https://github.com/go-test/deep ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/go-test/deep/releases )
- [Changelog](https://github.com/go-test/deep/blob/master/CHANGES.md )
- [Commits](https://github.com/go-test/deep/compare/v1.0.6...v1.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* tidy
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-07-13 12:45:18 -04:00
dependabot-preview[bot]
9357d775f1
build(deps): bump github.com/zclconf/go-cty from 1.5.0 to 1.5.1 ( #280 )
...
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.5.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-27 15:42:25 -04:00
dependabot-preview[bot]
2720f2c35b
build(deps): bump github.com/zclconf/go-cty from 1.4.2 to 1.5.0 ( #277 )
...
* build(deps): bump github.com/zclconf/go-cty from 1.4.2 to 1.5.0
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.4.2...v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* mod tidy
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-06-12 13:21:50 -04:00
dependabot-preview[bot]
cd912b1d3f
build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1 ( #274 )
...
* build(deps): bump github.com/stretchr/testify from 1.6.0 to 1.6.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.0...v1.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* tidy vendor
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-06-05 13:19:47 -04:00
dependabot-preview[bot]
8f2e271754
build(deps): bump github.com/hashicorp/hcl/v2 from 2.5.1 to 2.6.0 ( #273 )
...
* build(deps): bump github.com/hashicorp/hcl/v2 from 2.5.1 to 2.6.0
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/hashicorp/hcl/releases )
- [Changelog](https://github.com/hashicorp/hcl/blob/v2.6.0/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/hcl/compare/v2.5.1...v2.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* tidy vendor
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-06-05 13:14:58 -04:00
dependabot-preview[bot]
cd09faf4c4
build(deps): bump github.com/zclconf/go-cty from 1.4.1 to 1.4.2 ( #271 )
...
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.4.1...v1.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-02 19:38:41 -04:00
dependabot-preview[bot]
36be49175a
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 ( #268 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-30 18:56:17 -04:00
Khosrow Moossavi
04a9ef49eb
refactor: Refactor cli implemention and configuration ( #266 )
...
* Refactor cli implemention and configuration
* cleanup
2020-05-20 22:21:19 -04:00
dependabot-preview[bot]
027e6dfac6
build(deps): bump github.com/zclconf/go-cty from 1.4.0 to 1.4.1 ( #263 )
...
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.4.0...v1.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-19 12:09:25 -04:00
Khosrow Moossavi
b397b7d46b
feat: Add support for TOML renderer ( #197 )
...
* Add support for TOML renderer
* Add kind:formatter to toml command
* update docs
* adjust tests after merge
* fix after merge
* adjust tests after merge
* update docs
* remove vendor leftovers
* update doc
* update tests
2020-05-14 12:41:21 -04:00
dependabot-preview[bot]
6ed89d2769
build(deps): bump github.com/hashicorp/hcl/v2 from 2.5.0 to 2.5.1 ( #262 )
...
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/hashicorp/hcl/releases )
- [Changelog](https://github.com/hashicorp/hcl/blob/v2.5.1/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/hcl/compare/v2.5.0...v2.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-14 10:06:17 -04:00
dependabot-preview[bot]
342db66d96
build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 3.0.0 ( #260 )
...
* build(deps): bump gopkg.in/yaml.v2 from 2.2.8 to 2.3.0
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml ) from 2.2.8 to 2.3.0.
- [Release notes](https://github.com/go-yaml/yaml/releases )
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.8...v2.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* bump gopkg.in/yaml to v3
* set indentation to 2
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-05-13 18:53:01 -04:00
Khosrow Moossavi
8d9c54f1df
build(deps): bump github.com/spf13/cobra from 0.0.7 to 1.0.0 ( #261 )
2020-05-13 11:45:59 -04:00
dependabot-preview[bot]
6034c1034b
build(deps): bump github.com/hashicorp/hcl/v2 from 2.4.0 to 2.5.0 ( #254 )
...
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/hashicorp/hcl/releases )
- [Changelog](https://github.com/hashicorp/hcl/blob/v2.5.0/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/hcl/compare/v2.4.0...v2.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-07 10:29:35 -04:00
Khosrow Moossavi
f944987c90
Remove vendor folder from repo ( #249 )
...
* remove vendor folder
* appease staticcheck
* rename to verify
* fix test coverage job
2020-05-02 19:20:43 -04:00
dependabot-preview[bot]
5aaf499280
build(deps): bump github.com/go-test/deep from 1.0.5 to 1.0.6 ( #250 )
...
* build(deps): bump github.com/go-test/deep from 1.0.5 to 1.0.6
Bumps [github.com/go-test/deep](https://github.com/go-test/deep ) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/go-test/deep/releases )
- [Changelog](https://github.com/go-test/deep/blob/master/CHANGES.md )
- [Commits](https://github.com/go-test/deep/compare/v1.0.5...v1.0.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* update vendor
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-04-22 14:09:20 -04:00
dependabot-preview[bot]
29d3c523db
build(deps): bump mvdan.cc/xurls/v2 from 2.1.0 to 2.2.0 ( #248 )
...
* build(deps): bump mvdan.cc/xurls/v2 from 2.1.0 to 2.2.0
Bumps [mvdan.cc/xurls/v2](https://github.com/mvdan/xurls ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/mvdan/xurls/releases )
- [Commits](https://github.com/mvdan/xurls/compare/v2.1.0...v2.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* update vendors
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-04-17 12:56:25 -04:00
dependabot-preview[bot]
7b68f3cf0e
build(deps): bump github.com/hashicorp/hcl/v2 from 2.3.0 to 2.4.0 ( #247 )
...
* build(deps): bump github.com/hashicorp/hcl/v2 from 2.3.0 to 2.4.0
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/hashicorp/hcl/releases )
- [Changelog](https://github.com/hashicorp/hcl/blob/v2.4.0/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/hcl/compare/v2.3.0...v2.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* update vendors
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-04-14 11:21:22 -04:00
dependabot-preview[bot]
f060a2df4d
build(deps): bump github.com/zclconf/go-cty from 1.3.1 to 1.4.0 ( #239 )
...
* build(deps): bump github.com/zclconf/go-cty from 1.3.1 to 1.4.0
Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/zclconf/go-cty/releases )
- [Changelog](https://github.com/zclconf/go-cty/blob/master/CHANGELOG.md )
- [Commits](https://github.com/zclconf/go-cty/compare/v1.3.1...v1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* update vendors
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-04-08 14:49:14 -04:00
Khosrow Moossavi
a3e0a56ce6
fix: Mark variables not required if default set to null ( #221 )
...
* Mark variables not required if default set to null
* Move github.com/hashicorp/terraform-config-inspect to internal/tfconfig
Internally we depend on terraform-config-inspect, but at the moment
they state that they consider the project is feature-complete and
they do not accept any enhancement pull requests, as such we've
decided to bring over the project as internal package here rather than
being a vendor dependency and apply the fix from @jstewmon from
https://github.com/hashicorp/terraform-config-inspect/pull/24 directly
here.
Since the terraform-config-inspect is considered to be feature-complete
we don't expect to have any more changes on the package, and if there
was a change on upstream we're going to bring it down in the
corresponding package.
* Add notice to the new package
* add license of terraform-config-inspect code
* fix tests after merging master
* fix test after merge master
* show 'required' attribute in JSON, XML, YAML
* update docs
2020-03-30 16:16:55 -04:00
dependabot-preview[bot]
58119a3b46
build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7 ( #228 )
...
* build(deps): bump github.com/spf13/cobra from 0.0.6 to 0.0.7
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* udpate vendor
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-03-30 11:51:28 -04:00
Khosrow Moossavi
9043f268ad
feat: Add support for tfvars hcl and json commands ( #226 )
...
* Add support for tfvars hcl and json commands
* fix docs generation header issue
* align padding of hcl tfvars items
* add more tests
* update docs
* wording
2020-03-27 15:02:09 -04:00
dependabot-preview[bot]
4e447c752d
build(deps): bump github.com/imdario/mergo from 0.3.8 to 0.3.9 ( #225 )
...
* build(deps): bump github.com/imdario/mergo from 0.3.8 to 0.3.9
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo ) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v0.3.8...v0.3.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
* update vendors
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2020-03-25 11:43:31 -04:00
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
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
42ad476a37
feat: Add support for YAML renderer ( #189 )
2020-02-03 20:13:10 -05:00
Khosrow Moossavi
c80bc144e1
Add TestSettings for cleaner required Settings in tests ( #188 )
2020-02-01 14:48:10 -05:00
Khosrow Moossavi
6ff46a26b1
fix: Do not escape any characters of a URL ( #170 )
2020-01-17 13:45:48 -05:00
Thomas Alton
b8da8c5020
feat: Support Terraform 0.12.x configuration ( #113 )
...
* Support 0.12 configuration
* Move code out of GOPATH for CircleCI
* cleanup
* Rename 'variables' back to 'input' just for now
* Normalizing 'print.s.Settings' usage
* Normalize settings continued
* Remove '--providers' functionality for now
* Adjust 'commands' based on moarta's changes
* Adjust 'pkg/doc' based on moarta's changes
* Adjust 'pkg/print/json' based on moarta's changes
* Fix json tests
* don't trim whitespaces from .tf files
* Adjust 'pkg/print/pretty' based on moarta's changes
* Fix pretty tests
* don't trim whitespaces from .golden files
* Show 'n/a' for empty description for 'pretty'
* Show 'any' if type of input variable is missing
* Adjust 'pkg/print/markdown/document' based on moarta's changes
* Fix document tests
* move back vendor files
* Adjust 'pkg/print/markdown/table' based on moarta's changes
* fix lint issue
* Fix table tests
* figure out input type based on default value if tpye not explicitly defined
* don't escape ( ) [ ] { }, as they don't cause any issue
Authored-by: Thomas Alton <thomas.alton@gmail.com >
Co-authored-by: Khosrow Moossavi <khos2ow@gmail.com >
2019-12-20 15:07:29 -05:00
Khosrow Moossavi
5faf591544
Use Cobra CLI instead of docopt ( #116 )
2019-07-05 16:16:11 +02:00
Khosrow Moossavi
f32b321fc0
Replace dep with Go Modules ( #100 )
2019-01-23 11:55:54 +01:00