From e3db55b9a8d74e23b06e51c2041505efb5d17efe Mon Sep 17 00:00:00 2001 From: Haroon-Dweikat-Ntx Date: Mon, 30 Sep 2024 11:53:21 +0300 Subject: [PATCH] fix validation for access control policy, add ["CLUSTER", "VPC", "CONNECTIVITY_TYPE"] as accepted values for context_filter_list.scope_filter_expression_list.left_hand_side attribute --- nutanix/resource_nutanix_access_control_policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nutanix/resource_nutanix_access_control_policy.go b/nutanix/resource_nutanix_access_control_policy.go index 4ca662735..adada23b2 100644 --- a/nutanix/resource_nutanix_access_control_policy.go +++ b/nutanix/resource_nutanix_access_control_policy.go @@ -160,7 +160,7 @@ func resourceNutanixAccessControlPolicy() *schema.Resource { "left_hand_side": { Type: schema.TypeString, Required: true, - ValidateFunc: validation.StringInSlice([]string{"CATEGORY", "PROJECT"}, false), + ValidateFunc: validation.StringInSlice([]string{"CATEGORY", "PROJECT", "CLUSTER", "VPC", "CONNECTIVITY_TYPE"}, false), }, "operator": { Type: schema.TypeString,