├── .circleci └── config.yml ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── custom.md │ └── feature_request.md └── workflows │ ├── greetings.yml │ └── stale.yml ├── .gitignore ├── LICENSE ├── README.md ├── bin └── create_new_release.sh ├── cmd └── clarity │ ├── clarity_test.go │ └── generate.feature ├── go.mod ├── go.sum ├── makefile └── pkg └── matchers ├── terraform.go ├── terraform_test.go └── testdata ├── multitf ├── 1.tf └── 2.tf ├── multitf_newline ├── 1.tf └── 2.tf ├── outputs └── sample_out.tf └── sample.tf /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/custom.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/.github/ISSUE_TEMPLATE/custom.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/greetings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/.github/workflows/greetings.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/README.md -------------------------------------------------------------------------------- /bin/create_new_release.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/bin/create_new_release.sh -------------------------------------------------------------------------------- /cmd/clarity/clarity_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/cmd/clarity/clarity_test.go -------------------------------------------------------------------------------- /cmd/clarity/generate.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/cmd/clarity/generate.feature -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/go.sum -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/makefile -------------------------------------------------------------------------------- /pkg/matchers/terraform.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/pkg/matchers/terraform.go -------------------------------------------------------------------------------- /pkg/matchers/terraform_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/pkg/matchers/terraform_test.go -------------------------------------------------------------------------------- /pkg/matchers/testdata/multitf/1.tf: -------------------------------------------------------------------------------- 1 | resource "aws" "blah" { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /pkg/matchers/testdata/multitf/2.tf: -------------------------------------------------------------------------------- 1 | resource "aws" "bar" { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /pkg/matchers/testdata/multitf_newline/1.tf: -------------------------------------------------------------------------------- 1 | resource "aws" "blah" { 2 | 3 | } -------------------------------------------------------------------------------- /pkg/matchers/testdata/multitf_newline/2.tf: -------------------------------------------------------------------------------- 1 | resource "aws" "bar" { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /pkg/matchers/testdata/outputs/sample_out.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/pkg/matchers/testdata/outputs/sample_out.tf -------------------------------------------------------------------------------- /pkg/matchers/testdata/sample.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xchapter7x/clarity/HEAD/pkg/matchers/testdata/sample.tf --------------------------------------------------------------------------------