forked from Twingate/terraform-provider-twingate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[After Twingate#443] Feature: add filtering for service accounts data…
…source (Twingate#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]>
- Loading branch information
1 parent
cad0a46
commit 6d55782
Showing
6 changed files
with
293 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
examples/data-sources/twingate_service_accounts/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
data "twingate_service_accounts" "foo" { | ||
name = "<your service account's name>" | ||
# name_regexp = "<regular expression of service account name>" | ||
# name_contains = "<a string in the service account name>" | ||
# name_exclude = "<your service account's name to exclude>" | ||
# name_prefix = "<prefix of service account name>" | ||
# name_suffix = "<suffix of service account name>" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.