From 6ea0f6c1fef4bd43676e1164320d62f8c3972e99 Mon Sep 17 00:00:00 2001 From: stack72 Date: Thu, 4 May 2017 19:59:32 +0300 Subject: [PATCH] provider/gitlab: Adding default values to gitlab_project_hook resource --- builtin/providers/gitlab/resource_gitlab_project_hook.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/builtin/providers/gitlab/resource_gitlab_project_hook.go b/builtin/providers/gitlab/resource_gitlab_project_hook.go index 9a82aef51..aa3d9a9ce 100644 --- a/builtin/providers/gitlab/resource_gitlab_project_hook.go +++ b/builtin/providers/gitlab/resource_gitlab_project_hook.go @@ -38,30 +38,37 @@ func resourceGitlabProjectHook() *schema.Resource { "issues_events": { Type: schema.TypeBool, Optional: true, + Default: false, }, "merge_requests_events": { Type: schema.TypeBool, Optional: true, + Default: false, }, "tag_push_events": { Type: schema.TypeBool, Optional: true, + Default: false, }, "note_events": { Type: schema.TypeBool, Optional: true, + Default: false, }, "build_events": { Type: schema.TypeBool, Optional: true, + Default: false, }, "pipeline_events": { Type: schema.TypeBool, Optional: true, + Default: false, }, "wiki_page_events": { Type: schema.TypeBool, Optional: true, + Default: false, }, "enable_ssl_verification": { Type: schema.TypeBool,