From 47838b6a5e58c620c8c3a656c18e2cd8b361c213 Mon Sep 17 00:00:00 2001 From: Johan Lyheden Date: Tue, 22 Feb 2022 15:16:59 +0100 Subject: [PATCH] Add all-builds to schema validation --- pkg/xray/resource_xray_watch.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/xray/resource_xray_watch.go b/pkg/xray/resource_xray_watch.go index 8a6b8fe6..0a15ffd5 100644 --- a/pkg/xray/resource_xray_watch.go +++ b/pkg/xray/resource_xray_watch.go @@ -44,8 +44,8 @@ func resourceXrayWatch() *schema.Resource { "type": { Type: schema.TypeString, Required: true, - Description: "Type of resource to be watched. Options: `all-repos`, `repository`, `build`, `project`, `all-projects`.", - ValidateDiagFunc: inList("all-repos", "repository", "build", "project", "all-projects"), + Description: "Type of resource to be watched. Options: `all-repos`, `repository`, `all-builds`, `build`, `project`, `all-projects`.", + ValidateDiagFunc: inList("all-repos", "repository", "all-builds", "build", "project", "all-projects"), }, "bin_mgr_id": { Type: schema.TypeString,