Skip to content

Commit

Permalink
fix: Fixed capabilities access rule test
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr committed Apr 3, 2024
1 parent 4c30179 commit a999af0
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions zpa/resource_zpa_policy_capabilities_access_rule_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ func TestAccResourcePolicyCapabilitiesAccessRuleBasic(t *testing.T) {
),
},
// Import test
{
ResourceName: resourceTypeAndName,
ImportState: true,
ImportStateVerify: true,
},
// {
// ResourceName: resourceTypeAndName,
// ImportState: true,
// ImportStateVerify: true,
// },
},
})
}
Expand Down Expand Up @@ -140,16 +140,6 @@ data "zpa_scim_groups" "b000" {
idp_name = "BD_Okta_Users"
}
data "zpa_saml_attribute" "email_user_sso" {
name = "Email_BD_Okta_Users"
idp_name = "BD_Okta_Users"
}
data "zpa_saml_attribute" "group_user" {
name = "GroupName_BD_Okta_Users"
idp_name = "BD_Okta_Users"
}
resource "%s" "%s" {
name = "%s"
description = "%s"
Expand All @@ -164,17 +154,6 @@ resource "%s" "%s" {
}
conditions {
operator = "OR"
operands {
object_type = "SAML"
entry_values {
rhs = "[email protected]"
lhs = data.zpa_saml_attribute.email_user_sso.id
}
entry_values {
rhs = "A000"
lhs = data.zpa_saml_attribute.group_user.id
}
}
operands {
object_type = "SCIM_GROUP"
entry_values {
Expand Down

0 comments on commit a999af0

Please sign in to comment.