-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c6d605
commit b6e5f74
Showing
11 changed files
with
2,257 additions
and
210 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
1,062 changes: 931 additions & 131 deletions
1,062
docs/resources/authorize_policy_management_rule.md
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -123,7 +123,7 @@ func TestAccTrustFrameworkAttribute_Full(t *testing.T) { | |
resource.TestCheckResourceAttr(resourceFullName, "default_value", "test"), | ||
resource.TestCheckResourceAttr(resourceFullName, "processor.name", fmt.Sprintf("%s Test processor", name)), | ||
resource.TestCheckResourceAttr(resourceFullName, "resolvers.#", "1"), | ||
// resource.TestCheckResourceAttr(resourceFullName, "managed_entity", "1"), | ||
resource.TestCheckNoResourceAttr(resourceFullName, "managed_entity"), | ||
resource.TestMatchResourceAttr(resourceFullName, "repetition_source.id", verify.P1ResourceIDRegexpFullString), | ||
resource.TestCheckResourceAttr(resourceFullName, "type", "ATTRIBUTE"), | ||
resource.TestCheckResourceAttr(resourceFullName, "value_type.type", "STRING"), | ||
|
@@ -140,7 +140,7 @@ func TestAccTrustFrameworkAttribute_Full(t *testing.T) { | |
resource.TestCheckNoResourceAttr(resourceFullName, "default_value"), | ||
resource.TestCheckNoResourceAttr(resourceFullName, "processor"), | ||
resource.TestCheckResourceAttr(resourceFullName, "resolvers.#", "0"), | ||
// resource.TestCheckResourceAttr(resourceFullName, "managed_entity", "1"), | ||
resource.TestCheckNoResourceAttr(resourceFullName, "managed_entity"), | ||
resource.TestCheckNoResourceAttr(resourceFullName, "repetition_source"), | ||
resource.TestCheckResourceAttr(resourceFullName, "type", "ATTRIBUTE"), | ||
resource.TestCheckResourceAttr(resourceFullName, "value_type.type", "STRING"), | ||
|
@@ -2358,18 +2358,14 @@ func testAccTrustFrameworkAttributeConfig_Resolver_User_Full(resourceName, name | |
return fmt.Sprintf(` | ||
%[1]s | ||
resource "pingone_population" "%[2]s" { | ||
environment_id = data.pingone_environment.general_test.id | ||
name = "%[3]s" | ||
} | ||
resource "pingone_user" "%[2]s" { | ||
resource "pingone_authorize_trust_framework_attribute" "%[2]s-user" { | ||
environment_id = data.pingone_environment.general_test.id | ||
name = "%[3]s-user" | ||
description = "Test attribute" | ||
username = "%[3]s" | ||
email = "%[3][email protected]" | ||
population_id = pingone_population.%[2]s.id | ||
value_type = { | ||
type = "STRING" | ||
} | ||
} | ||
resource "pingone_authorize_trust_framework_attribute" "%[2]s" { | ||
|
@@ -2384,7 +2380,7 @@ resource "pingone_authorize_trust_framework_attribute" "%[2]s" { | |
type = "USER" | ||
query = { | ||
type = "USER_ID" | ||
user_id = pingone_user.%[2]s.id | ||
user_id = pingone_authorize_trust_framework_attribute.%[2]s-user.id | ||
} | ||
condition = { | ||
|
@@ -2451,18 +2447,14 @@ func testAccTrustFrameworkAttributeConfig_Resolver_User_Min(resourceName, name s | |
return fmt.Sprintf(` | ||
%[1]s | ||
resource "pingone_population" "%[2]s" { | ||
environment_id = data.pingone_environment.general_test.id | ||
name = "%[3]s" | ||
} | ||
resource "pingone_user" "%[2]s" { | ||
resource "pingone_authorize_trust_framework_attribute" "%[2]s-user" { | ||
environment_id = data.pingone_environment.general_test.id | ||
name = "%[3]s-user" | ||
description = "Test attribute" | ||
username = "%[3]s" | ||
email = "%[3][email protected]" | ||
population_id = pingone_population.%[2]s.id | ||
value_type = { | ||
type = "STRING" | ||
} | ||
} | ||
resource "pingone_authorize_trust_framework_attribute" "%[2]s" { | ||
|
@@ -2475,7 +2467,7 @@ resource "pingone_authorize_trust_framework_attribute" "%[2]s" { | |
type = "USER" | ||
query = { | ||
type = "USER_ID" | ||
user_id = pingone_user.%[2]s.id | ||
user_id = pingone_authorize_trust_framework_attribute.%[2]s-user.id | ||
} | ||
} | ||
] | ||
|
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
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