Skip to content

Commit

Permalink
feat: Add missing source verifications (#16)
Browse files Browse the repository at this point in the history
* chore: Update hookdeck go sdk version

* feat: Add more source verifications

* chore: Tidy module

* docs: Generate
  • Loading branch information
alexluong committed Jan 29, 2024
1 parent f0abcfd commit 7bacc66
Show file tree
Hide file tree
Showing 20 changed files with 570 additions and 39 deletions.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ resource "hookdeck_connection" "connection" {

### Optional

- `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)
- `api_base` (String) Hookdeck API Base URL. Alternatively, can be configured using the `HOOKDECK_API_BASE` environment variable. (default: https://api.hookdeck.com)
- `api_key` (String, Sensitive) Hookdeck API Key. Alternatively, can be configured using the `HOOKDECK_API_BASE` environment variable.
108 changes: 108 additions & 0 deletions docs/resources/source_verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,36 @@ Optional:
- `api_key` (Attributes) (see [below for nested schema](#nestedatt--verification--api_key))
- `aws_sns` (Attributes) (see [below for nested schema](#nestedatt--verification--aws_sns))
- `basic_auth` (Attributes) (see [below for nested schema](#nestedatt--verification--basic_auth))
- `cloudsignal` (Attributes) (see [below for nested schema](#nestedatt--verification--cloudsignal))
- `commercelayer` (Attributes) (see [below for nested schema](#nestedatt--verification--commercelayer))
- `courier` (Attributes) (see [below for nested schema](#nestedatt--verification--courier))
- `favro` (Attributes) (see [below for nested schema](#nestedatt--verification--favro))
- `github` (Attributes) (see [below for nested schema](#nestedatt--verification--github))
- `gitlab` (Attributes) (see [below for nested schema](#nestedatt--verification--gitlab))
- `hmac` (Attributes) (see [below for nested schema](#nestedatt--verification--hmac))
- `mailgun` (Attributes) (see [below for nested schema](#nestedatt--verification--mailgun))
- `nmi` (Attributes) (see [below for nested schema](#nestedatt--verification--nmi))
- `oura` (Attributes) (see [below for nested schema](#nestedatt--verification--oura))
- `persona` (Attributes) (see [below for nested schema](#nestedatt--verification--persona))
- `pipedrive` (Attributes) (see [below for nested schema](#nestedatt--verification--pipedrive))
- `postmark` (Attributes) (see [below for nested schema](#nestedatt--verification--postmark))
- `property_finder` (Attributes) (see [below for nested schema](#nestedatt--verification--property_finder))
- `recharge` (Attributes) (see [below for nested schema](#nestedatt--verification--recharge))
- `repay` (Attributes) (see [below for nested schema](#nestedatt--verification--repay))
- `sanity` (Attributes) (see [below for nested schema](#nestedatt--verification--sanity))
- `sendgrid` (Attributes) (see [below for nested schema](#nestedatt--verification--sendgrid))
- `shopify` (Attributes) (see [below for nested schema](#nestedatt--verification--shopify))
- `solidgate` (Attributes) (see [below for nested schema](#nestedatt--verification--solidgate))
- `square` (Attributes) (see [below for nested schema](#nestedatt--verification--square))
- `stripe` (Attributes) (see [below for nested schema](#nestedatt--verification--stripe))
- `svix` (Attributes) (see [below for nested schema](#nestedatt--verification--svix))
- `synctera` (Attributes) (see [below for nested schema](#nestedatt--verification--synctera))
- `threedeye` (Attributes) (see [below for nested schema](#nestedatt--verification--threedeye))
- `trello` (Attributes) (see [below for nested schema](#nestedatt--verification--trello))
- `twitch` (Attributes) (see [below for nested schema](#nestedatt--verification--twitch))
- `twitter` (Attributes) (see [below for nested schema](#nestedatt--verification--twitter))
- `typeform` (Attributes) (see [below for nested schema](#nestedatt--verification--typeform))
- `wix` (Attributes) (see [below for nested schema](#nestedatt--verification--wix))
- `woocommerce` (Attributes) (see [below for nested schema](#nestedatt--verification--woocommerce))
- `workos` (Attributes) (see [below for nested schema](#nestedatt--verification--workos))
- `xero` (Attributes) (see [below for nested schema](#nestedatt--verification--xero))
Expand Down Expand Up @@ -102,6 +114,14 @@ Required:
- `password` (String, Sensitive)


<a id="nestedatt--verification--cloudsignal"></a>
### Nested Schema for `verification.cloudsignal`

Required:

- `api_key` (String, Sensitive)


<a id="nestedatt--verification--commercelayer"></a>
### Nested Schema for `verification.commercelayer`

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


<a id="nestedatt--verification--courier"></a>
### Nested Schema for `verification.courier`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--favro"></a>
### Nested Schema for `verification.favro`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--github"></a>
### Nested Schema for `verification.github`

Expand Down Expand Up @@ -145,6 +181,14 @@ Required:
- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--nmi"></a>
### Nested Schema for `verification.nmi`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--oura"></a>
### Nested Schema for `verification.oura`

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


<a id="nestedatt--verification--persona"></a>
### Nested Schema for `verification.persona`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--pipedrive"></a>
### Nested Schema for `verification.pipedrive`

Expand Down Expand Up @@ -186,6 +238,22 @@ Required:
- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--repay"></a>
### Nested Schema for `verification.repay`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--sanity"></a>
### Nested Schema for `verification.sanity`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--sendgrid"></a>
### Nested Schema for `verification.sendgrid`

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


<a id="nestedatt--verification--solidgate"></a>
### Nested Schema for `verification.solidgate`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--square"></a>
### Nested Schema for `verification.square`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--stripe"></a>
### Nested Schema for `verification.stripe`

Expand Down Expand Up @@ -234,6 +318,22 @@ Required:
- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--trello"></a>
### Nested Schema for `verification.trello`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--twitch"></a>
### Nested Schema for `verification.twitch`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--twitter"></a>
### Nested Schema for `verification.twitter`

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


<a id="nestedatt--verification--wix"></a>
### Nested Schema for `verification.wix`

Required:

- `webhook_secret_key` (String, Sensitive)


<a id="nestedatt--verification--woocommerce"></a>
### Nested Schema for `verification.woocommerce`

Expand Down
26 changes: 13 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/hashicorp/terraform-plugin-framework v1.5.0
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hookdeck/hookdeck-go-sdk v0.0.34
github.com/hookdeck/hookdeck-go-sdk v0.0.36
)

require (
Expand All @@ -19,13 +19,13 @@ require (
github.com/armon/go-radix v1.0.0 // indirect
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/google/uuid v1.4.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-hclog v1.6.2 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.6.0 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
Expand All @@ -40,26 +40,26 @@ require (
github.com/huandu/xstrings v1.3.2 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mitchellh/cli v1.1.5 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/oklog/run v1.0.0 // indirect
github.com/oklog/run v1.1.0 // indirect
github.com/posener/complete v1.2.3 // indirect
github.com/russross/blackfriday v1.6.0 // indirect
github.com/shopspring/decimal v1.3.1 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/zclconf/go-cty v1.13.2 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/crypto v0.18.0 // indirect
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
golang.org/x/mod v0.11.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect
google.golang.org/grpc v1.60.0 // indirect
google.golang.org/protobuf v1.31.0 // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240125205218-1f4bbc51befe // indirect
google.golang.org/grpc v1.61.0 // indirect
google.golang.org/protobuf v1.32.0 // indirect
)
Loading

0 comments on commit 7bacc66

Please sign in to comment.