Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration test to ensure that the plugin works with the tflint we're using #8

Closed
wants to merge 1 commit into from

Conversation

lonegunmanb
Copy link
Member

No description provided.

@lonegunmanb lonegunmanb requested a review from matt-FFFFFF March 12, 2024 06:09
@matt-FFFFFF
Copy link
Member

Could we investigate this integration test structure and adapt? @lonegunmanb

https://github.com/terraform-linters/tflint-ruleset-aws/tree/v0.30.0/integration

matt-FFFFFF added a commit that referenced this pull request Mar 25, 2024
@matt-FFFFFF
Copy link
Member

@lonegunmanb please consider #10

I have implemented the same integration test framework as the aws provider.

Can we close this now?

matt-FFFFFF added a commit that referenced this pull request Mar 28, 2024
* feat: implement waf check framework and include starter

* chore: go minimum 1.22

* chore: rename func

* fix: incorrect resource type

* style: refactor names for readability

* docs: add code comments

* test: add test for optional()

* feat: add generic simple rule

* chore: gitignore

* feat: generic simple value tests

* feat: add more roles

* refactor code

* improve set compare

* simplify toPtr function

* feat: add integration test framework

Supersedes #8

* build: go deps

* fix: build error

* test: exclude integration tests from unit

* ci: fix e2e build output on windows

* feat: add null value check

* docs: comments

* refactor: move common funcs into module_content

* refactor: use github.com/deckarep/golang-set/v2

* refactor: simplify simplerule to support nested blocks

* chore: go mod tidy

* feat: add app gateway sku nested block rule

* refactor list_value

* refactor null_value

* refactor null_value

* refactor, move interfaces rule registry code into interfaces package

* keep refactor

* fix: unknown rule now evaluates correctly

* chore: go get upgrade

* Waf-refactor-2 (#12)

* spike: wdyt

* feat: use new backend

* refactor: list

* commit for now

* use gostub to inject mock fs

* chore: go mod tidy

* chore: gitignore

* fix: update interfaces and add tags

* feat: add tags to interface spec

* feat: update rules ready for release

* feat: add link to vnet gw

* fix: add null/unknown checks

* fix: interfaces

* fix: integration tests

---------

Co-authored-by: zjhe <lonegunmanb@hotmail.com>
@matt-FFFFFF
Copy link
Member

Closing as implemented in #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants