File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ resource "harbor_project_webhook" "main" {
66
66
- ` description ` (String) A description of the webhook.
67
67
- ` enabled ` (Boolean) To enable / disable the webhook. Default ` true ` .
68
68
- ` skip_cert_verify ` (Boolean) checks the for validate SSL certificate.
69
- - ` payload_format ` (String) Payload format sent by the webhook. Values are ` Default ` or ` CloudEvents ` . Default to ` Default ` .
69
+ - ` payload_format ` (String) Payload format sent by the webhook. Values are ` Default ` or ` CloudEvents ` .
70
70
71
71
### Read-Only
72
72
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ type WebHookTargets struct {
19
19
AuthHeader string `json:"auth_header"`
20
20
SkipCertVerify bool `json:"skip_cert_verify"`
21
21
Address string `json:"address"`
22
- PayloadFormat string `json:"payload_format"`
22
+ PayloadFormat string `json:"payload_format:omitempty "`
23
23
}
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ func resourceProjectWebhook() *schema.Resource {
59
59
"payload_format" : {
60
60
Type : schema .TypeString ,
61
61
Optional : true ,
62
- Default : "Default" ,
63
62
},
64
63
},
65
64
Create : resourceProjectWebhookCreate ,
You can’t perform that action at this time.
0 commit comments