-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding type to data okta group (#217)
* Adding type to 'data okta_group' for both searching and as a return value Co-authored-by: Bogdan Prodan <bogdan.prodan@okta.com>
- Loading branch information
1 parent
80fd87a
commit 03a43be
Showing
5 changed files
with
54 additions
and
7 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
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
resource okta_group test { | ||
name = "testAcc_replace_with_uuid" | ||
description = "testing, testing" | ||
users = [okta_user.test.id] | ||
} | ||
|
||
resource okta_user test { | ||
first_name = "TestAcc" | ||
last_name = "Jones" | ||
login = "john_replace_with_uuid@ledzeppelin.com" | ||
email = "john_replace_with_uuid@ledzeppelin.com" | ||
} | ||
|
||
# Should fail to find the group since the type is the wrong type | ||
data okta_group test_type { | ||
include_users = true | ||
name = okta_group.test.name | ||
type = "APP_GROUP" | ||
} |
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