Skip to content

Commit

Permalink
fix validation for access control policy, add ["CLUSTER", "VPC", "CON…
Browse files Browse the repository at this point in the history
…NECTIVITY_TYPE"] as accepted values for context_filter_list.scope_filter_expression_list.left_hand_side attribute
  • Loading branch information
Haroon-Dweikat-Ntx committed Sep 30, 2024
1 parent 502c1ea commit e3db55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nutanix/resource_nutanix_access_control_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e3db55b

Please sign in to comment.