provider/gitlab: Adding default values to gitlab_project_hook resource

This commit is contained in:
stack72 2017-05-04 19:59:32 +03:00
parent 93b838fb14
commit 6ea0f6c1fe
No known key found for this signature in database
GPG Key ID: 8619A619B085CB16
1 changed files with 7 additions and 0 deletions

View File

@ -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,