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

Feature: add filtering support for twingate resources datasource #443

Conversation

vmanilo
Copy link
Contributor

@vmanilo vmanilo commented Dec 18, 2023

Resolves #434 #356

Tests passes: https://github.com/vmanilo/terraform-provider-twingate/actions/runs/7306475547

Changes

  • added optional attributes to resources datasource

@vmanilo vmanilo requested review from a team, ekampf, liorr and romankor as code owners December 18, 2023 19:27
Copy link
Member

@twingate-blee twingate-blee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bertekintw bertekintw merged commit cad0a46 into Twingate:main Feb 20, 2024
8 checks passed
bertekintw added a commit that referenced this pull request Feb 20, 2024
…445)

* added new attributes for resources datasource

* added optional name attributes for resources datasource

* added feature branch

* fix test

* remove feature branch

* enable tests

* remove feature branch

* added filtering by name for service_accounts datasource

* remove feature branch

* refactore

* updated docs

* updated docs

* update resources datasource: allow to list all resources

* fix docs

---------

Co-authored-by: bertekintw <[email protected]>
bertekintw added a commit that referenced this pull request Feb 20, 2024
…icies data source (#457)

* added new attributes for resources datasource

* added optional name attributes for resources datasource

* added feature branch

* fix test

* remove feature branch

* enable tests

* remove feature branch

* refactore

* updated docs

* update resources datasource: allow to list all resources

* added filter options for security_policy datasource

* enable test

* revert ci changes

* fix docs

* fixed docs

---------

Co-authored-by: bertekintw <[email protected]>
bertekintw added a commit that referenced this pull request Feb 20, 2024
…source (#458)

* added new attributes for resources datasource

* added optional name attributes for resources datasource

* added feature branch

* fix test

* remove feature branch

* enable tests

* remove feature branch

* refactore

* updated docs

* update resources datasource: allow to list all resources

* wip

* fix docs

* added optional filters for twingate_remote_networks datasource

* enable test

* enable test

* revert sweeper changes

* run only datasource tests

* fix users basic test

* revert test.sh

* fix users test

* revert ci.yml

* added example for remote_networks datasource

---------

Co-authored-by: bertekintw <[email protected]>
bertekintw added a commit that referenced this pull request Feb 20, 2024
…ource (#463)

* added new attributes for resources datasource

* added optional name attributes for resources datasource

* added feature branch

* fix test

* remove feature branch

* enable tests

* remove feature branch

* refactore

* updated docs

* update resources datasource: allow to list all resources

* fix docs

* added optional filters for connectors

* enable tests

* fix test

* revert ci.yml

* fix docs

* fix linter

---------

Co-authored-by: bertekintw <[email protected]>
bertekintw pushed a commit that referenced this pull request Feb 20, 2024
…urce (#456)

* added new attributes for resources datasource

* added optional name attributes for resources datasource

* added feature branch

* fix test

* remove feature branch

* enable tests

* remove feature branch

* refactore

* added optional filters to users datasource

* updated docs

* wip: adding acc tests

* update resources datasource: allow to list all resources

* added tests for email filter

* wip: adding user tests

* added acctests for users datasource

* enable tests

* fix test

* fix test

* fix test

* revert ci changes

* fix docs

* fix linter issue
bertekintw added a commit that referenced this pull request Feb 20, 2024
…ource (#462)

* added new attributes for resources datasource

* added optional name attributes for resources datasource

* added feature branch

* fix test

* remove feature branch

* enable tests

* remove feature branch

* refactore

* updated docs

* update resources datasource: allow to list all resources

* fix docs

* wip

* added group tests

* enable test

* fix query test

* revert ci.yml

* fix docs

---------

Co-authored-by: bertekintw <[email protected]>
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.

Add support for filtering for twingate_resources data source
3 participants