From 9ecaa97fe612ea3c95360d8862d2ec9b766fadd6 Mon Sep 17 00:00:00 2001 From: Pengyuan Zhao Date: Tue, 9 Jan 2024 10:41:17 -0500 Subject: [PATCH] fix: update error message in TestPolicyExceptionInvalidConstraint --- integration/resource_lacework_policy_exception_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/resource_lacework_policy_exception_test.go b/integration/resource_lacework_policy_exception_test.go index 99fa5141c..1f94fbfc6 100644 --- a/integration/resource_lacework_policy_exception_test.go +++ b/integration/resource_lacework_policy_exception_test.go @@ -68,5 +68,5 @@ func TestPolicyExceptionInvalidConstraint(t *testing.T) { defer terraform.Destroy(t, terraformOptions) _, err := terraform.InitAndApplyE(t, terraformOptions) - assert.ErrorContains(t, err, "[400] fieldKey: invalid is not applicable to policy lacework-global-39. Valid fieldKey are [accountIds, resourceNames, resourceTags]") + assert.ErrorContains(t, err, "[400] fieldKey: invalid is not applicable to policy lacework-global-39. Valid fieldKey are [accountIds, arns, resourceNames, resourceTags]") }