-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating an Source with "verification" set results in 422 API response #60
Comments
I've confirmed that the Source API endpoint appears to work as expected:
And the Connection API endpoint:
|
@alexluong within the following, how are we supposed to know the
Note: I've tested and you can create or update a Source with just the |
@leggetter you're supposed to use the source you created like so resource "hookdeck_source" "my_authenticated_source" {
name = "my_authenticated_source"
}
resource "hookdeck_source_verification" "my_authenticated_source" {
source_id = hookdeck_source.my_authenticated_source.id
verification = {
json = jsonencode({
type = "BASIC_AUTH"
configs = {
username = "some-username"
password = "blah-blah-blah"
}
})
}
} |
@alexluong - Ok, thanks 👍 |
Fixed in #63 |
Using this definition:
Running
terraform apply
results in the error shown below:The text was updated successfully, but these errors were encountered: