From e2abc8cccf30c28c1bd81c62b15d39b88748cdeb Mon Sep 17 00:00:00 2001 From: Tom Bamford Date: Thu, 13 Jul 2023 11:46:36 +0100 Subject: [PATCH] azuread_conditional_access_policy: add test comment with usage information --- .../conditional_access_policy_resource_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/services/conditionalaccess/conditional_access_policy_resource_test.go b/internal/services/conditionalaccess/conditional_access_policy_resource_test.go index 298ed89480..82138ccc64 100644 --- a/internal/services/conditionalaccess/conditional_access_policy_resource_test.go +++ b/internal/services/conditionalaccess/conditional_access_policy_resource_test.go @@ -280,6 +280,10 @@ func TestAccConditionalAccessPolicy_clientApplications(t *testing.T) { // - conditional access policies applies either to users/groups or to client applications (workload identities) // - conditional access policies using client applications requires special licensing (Microsoft Entra Workload Identities) + // Due to eventual consistency issues making it difficult to create a service principal on demand for inclusion in this + // test policy, the config for this test requires a pre-existing service principal named "Terraform Acceptance Tests (Single Tenant)" + // which should be linked to a single tenant application in the same tenant. + data := acceptance.BuildTestData(t, "azuread_conditional_access_policy", "test") r := ConditionalAccessPolicyResource{}