Skip to content

Commit 7bacc66

Browse files
authored
feat: Add missing source verifications (#16)
* chore: Update hookdeck go sdk version * feat: Add more source verifications * chore: Tidy module * docs: Generate
1 parent f0abcfd commit 7bacc66

20 files changed

+570
-39
lines changed

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ resource "hookdeck_connection" "connection" {
4646

4747
### Optional
4848

49-
- `api_base` (String) Hookdeck API Base URL. Alternatively, can be configured using the `HOOKDECK_API_BASE` environment variable. (default: https://api.hookdeck.com/2023-07-01)
49+
- `api_base` (String) Hookdeck API Base URL. Alternatively, can be configured using the `HOOKDECK_API_BASE` environment variable. (default: https://api.hookdeck.com)
5050
- `api_key` (String, Sensitive) Hookdeck API Key. Alternatively, can be configured using the `HOOKDECK_API_BASE` environment variable.

docs/resources/source_verification.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,36 @@ Optional:
4141
- `api_key` (Attributes) (see [below for nested schema](#nestedatt--verification--api_key))
4242
- `aws_sns` (Attributes) (see [below for nested schema](#nestedatt--verification--aws_sns))
4343
- `basic_auth` (Attributes) (see [below for nested schema](#nestedatt--verification--basic_auth))
44+
- `cloudsignal` (Attributes) (see [below for nested schema](#nestedatt--verification--cloudsignal))
4445
- `commercelayer` (Attributes) (see [below for nested schema](#nestedatt--verification--commercelayer))
46+
- `courier` (Attributes) (see [below for nested schema](#nestedatt--verification--courier))
47+
- `favro` (Attributes) (see [below for nested schema](#nestedatt--verification--favro))
4548
- `github` (Attributes) (see [below for nested schema](#nestedatt--verification--github))
4649
- `gitlab` (Attributes) (see [below for nested schema](#nestedatt--verification--gitlab))
4750
- `hmac` (Attributes) (see [below for nested schema](#nestedatt--verification--hmac))
4851
- `mailgun` (Attributes) (see [below for nested schema](#nestedatt--verification--mailgun))
52+
- `nmi` (Attributes) (see [below for nested schema](#nestedatt--verification--nmi))
4953
- `oura` (Attributes) (see [below for nested schema](#nestedatt--verification--oura))
54+
- `persona` (Attributes) (see [below for nested schema](#nestedatt--verification--persona))
5055
- `pipedrive` (Attributes) (see [below for nested schema](#nestedatt--verification--pipedrive))
5156
- `postmark` (Attributes) (see [below for nested schema](#nestedatt--verification--postmark))
5257
- `property_finder` (Attributes) (see [below for nested schema](#nestedatt--verification--property_finder))
5358
- `recharge` (Attributes) (see [below for nested schema](#nestedatt--verification--recharge))
59+
- `repay` (Attributes) (see [below for nested schema](#nestedatt--verification--repay))
60+
- `sanity` (Attributes) (see [below for nested schema](#nestedatt--verification--sanity))
5461
- `sendgrid` (Attributes) (see [below for nested schema](#nestedatt--verification--sendgrid))
5562
- `shopify` (Attributes) (see [below for nested schema](#nestedatt--verification--shopify))
63+
- `solidgate` (Attributes) (see [below for nested schema](#nestedatt--verification--solidgate))
64+
- `square` (Attributes) (see [below for nested schema](#nestedatt--verification--square))
5665
- `stripe` (Attributes) (see [below for nested schema](#nestedatt--verification--stripe))
5766
- `svix` (Attributes) (see [below for nested schema](#nestedatt--verification--svix))
5867
- `synctera` (Attributes) (see [below for nested schema](#nestedatt--verification--synctera))
5968
- `threedeye` (Attributes) (see [below for nested schema](#nestedatt--verification--threedeye))
69+
- `trello` (Attributes) (see [below for nested schema](#nestedatt--verification--trello))
70+
- `twitch` (Attributes) (see [below for nested schema](#nestedatt--verification--twitch))
6071
- `twitter` (Attributes) (see [below for nested schema](#nestedatt--verification--twitter))
6172
- `typeform` (Attributes) (see [below for nested schema](#nestedatt--verification--typeform))
73+
- `wix` (Attributes) (see [below for nested schema](#nestedatt--verification--wix))
6274
- `woocommerce` (Attributes) (see [below for nested schema](#nestedatt--verification--woocommerce))
6375
- `workos` (Attributes) (see [below for nested schema](#nestedatt--verification--workos))
6476
- `xero` (Attributes) (see [below for nested schema](#nestedatt--verification--xero))
@@ -102,6 +114,14 @@ Required:
102114
- `password` (String, Sensitive)
103115

104116

117+
<a id="nestedatt--verification--cloudsignal"></a>
118+
### Nested Schema for `verification.cloudsignal`
119+
120+
Required:
121+
122+
- `api_key` (String, Sensitive)
123+
124+
105125
<a id="nestedatt--verification--commercelayer"></a>
106126
### Nested Schema for `verification.commercelayer`
107127

@@ -110,6 +130,22 @@ Required:
110130
- `webhook_secret_key` (String, Sensitive)
111131

112132

133+
<a id="nestedatt--verification--courier"></a>
134+
### Nested Schema for `verification.courier`
135+
136+
Required:
137+
138+
- `webhook_secret_key` (String, Sensitive)
139+
140+
141+
<a id="nestedatt--verification--favro"></a>
142+
### Nested Schema for `verification.favro`
143+
144+
Required:
145+
146+
- `webhook_secret_key` (String, Sensitive)
147+
148+
113149
<a id="nestedatt--verification--github"></a>
114150
### Nested Schema for `verification.github`
115151

@@ -145,6 +181,14 @@ Required:
145181
- `webhook_secret_key` (String, Sensitive)
146182

147183

184+
<a id="nestedatt--verification--nmi"></a>
185+
### Nested Schema for `verification.nmi`
186+
187+
Required:
188+
189+
- `webhook_secret_key` (String, Sensitive)
190+
191+
148192
<a id="nestedatt--verification--oura"></a>
149193
### Nested Schema for `verification.oura`
150194

@@ -153,6 +197,14 @@ Required:
153197
- `webhook_secret_key` (String, Sensitive)
154198

155199

200+
<a id="nestedatt--verification--persona"></a>
201+
### Nested Schema for `verification.persona`
202+
203+
Required:
204+
205+
- `webhook_secret_key` (String, Sensitive)
206+
207+
156208
<a id="nestedatt--verification--pipedrive"></a>
157209
### Nested Schema for `verification.pipedrive`
158210

@@ -186,6 +238,22 @@ Required:
186238
- `webhook_secret_key` (String, Sensitive)
187239

188240

241+
<a id="nestedatt--verification--repay"></a>
242+
### Nested Schema for `verification.repay`
243+
244+
Required:
245+
246+
- `webhook_secret_key` (String, Sensitive)
247+
248+
249+
<a id="nestedatt--verification--sanity"></a>
250+
### Nested Schema for `verification.sanity`
251+
252+
Required:
253+
254+
- `webhook_secret_key` (String, Sensitive)
255+
256+
189257
<a id="nestedatt--verification--sendgrid"></a>
190258
### Nested Schema for `verification.sendgrid`
191259

@@ -202,6 +270,22 @@ Required:
202270
- `webhook_secret_key` (String, Sensitive)
203271

204272

273+
<a id="nestedatt--verification--solidgate"></a>
274+
### Nested Schema for `verification.solidgate`
275+
276+
Required:
277+
278+
- `webhook_secret_key` (String, Sensitive)
279+
280+
281+
<a id="nestedatt--verification--square"></a>
282+
### Nested Schema for `verification.square`
283+
284+
Required:
285+
286+
- `webhook_secret_key` (String, Sensitive)
287+
288+
205289
<a id="nestedatt--verification--stripe"></a>
206290
### Nested Schema for `verification.stripe`
207291

@@ -234,6 +318,22 @@ Required:
234318
- `webhook_secret_key` (String, Sensitive)
235319

236320

321+
<a id="nestedatt--verification--trello"></a>
322+
### Nested Schema for `verification.trello`
323+
324+
Required:
325+
326+
- `webhook_secret_key` (String, Sensitive)
327+
328+
329+
<a id="nestedatt--verification--twitch"></a>
330+
### Nested Schema for `verification.twitch`
331+
332+
Required:
333+
334+
- `webhook_secret_key` (String, Sensitive)
335+
336+
237337
<a id="nestedatt--verification--twitter"></a>
238338
### Nested Schema for `verification.twitter`
239339

@@ -250,6 +350,14 @@ Required:
250350
- `webhook_secret_key` (String, Sensitive)
251351

252352

353+
<a id="nestedatt--verification--wix"></a>
354+
### Nested Schema for `verification.wix`
355+
356+
Required:
357+
358+
- `webhook_secret_key` (String, Sensitive)
359+
360+
253361
<a id="nestedatt--verification--woocommerce"></a>
254362
### Nested Schema for `verification.woocommerce`
255363

go.mod

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/hashicorp/terraform-plugin-framework v1.5.0
88
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0
99
github.com/hashicorp/terraform-plugin-log v0.9.0
10-
github.com/hookdeck/hookdeck-go-sdk v0.0.34
10+
github.com/hookdeck/hookdeck-go-sdk v0.0.36
1111
)
1212

1313
require (
@@ -19,13 +19,13 @@ require (
1919
github.com/armon/go-radix v1.0.0 // indirect
2020
github.com/bgentry/speakeasy v0.1.0 // indirect
2121
github.com/cloudflare/circl v1.3.3 // indirect
22-
github.com/fatih/color v1.13.0 // indirect
22+
github.com/fatih/color v1.16.0 // indirect
2323
github.com/golang/protobuf v1.5.3 // indirect
24-
github.com/google/uuid v1.3.1 // indirect
24+
github.com/google/uuid v1.4.0 // indirect
2525
github.com/hashicorp/errwrap v1.1.0 // indirect
2626
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
2727
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
28-
github.com/hashicorp/go-hclog v1.5.0 // indirect
28+
github.com/hashicorp/go-hclog v1.6.2 // indirect
2929
github.com/hashicorp/go-multierror v1.1.1 // indirect
3030
github.com/hashicorp/go-plugin v1.6.0 // indirect
3131
github.com/hashicorp/go-uuid v1.0.3 // indirect
@@ -40,26 +40,26 @@ require (
4040
github.com/huandu/xstrings v1.3.2 // indirect
4141
github.com/imdario/mergo v0.3.13 // indirect
4242
github.com/mattn/go-colorable v0.1.13 // indirect
43-
github.com/mattn/go-isatty v0.0.16 // indirect
43+
github.com/mattn/go-isatty v0.0.20 // indirect
4444
github.com/mitchellh/cli v1.1.5 // indirect
4545
github.com/mitchellh/copystructure v1.2.0 // indirect
4646
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
4747
github.com/mitchellh/reflectwalk v1.0.2 // indirect
48-
github.com/oklog/run v1.0.0 // indirect
48+
github.com/oklog/run v1.1.0 // indirect
4949
github.com/posener/complete v1.2.3 // indirect
5050
github.com/russross/blackfriday v1.6.0 // indirect
5151
github.com/shopspring/decimal v1.3.1 // indirect
5252
github.com/spf13/cast v1.5.0 // indirect
5353
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
5454
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
5555
github.com/zclconf/go-cty v1.13.2 // indirect
56-
golang.org/x/crypto v0.14.0 // indirect
56+
golang.org/x/crypto v0.18.0 // indirect
5757
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
5858
golang.org/x/mod v0.11.0 // indirect
59-
golang.org/x/net v0.17.0 // indirect
60-
golang.org/x/sys v0.13.0 // indirect
61-
golang.org/x/text v0.13.0 // indirect
62-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect
63-
google.golang.org/grpc v1.60.0 // indirect
64-
google.golang.org/protobuf v1.31.0 // indirect
59+
golang.org/x/net v0.20.0 // indirect
60+
golang.org/x/sys v0.16.0 // indirect
61+
golang.org/x/text v0.14.0 // indirect
62+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe // indirect
63+
google.golang.org/grpc v1.61.0 // indirect
64+
google.golang.org/protobuf v1.32.0 // indirect
6565
)

0 commit comments

Comments
 (0)