-
Notifications
You must be signed in to change notification settings - Fork 110
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
Error "invalid input: handler #0: URL is not valid" when updating handler in webhook resource #476
Labels
bug
Something isn't working
Comments
Thanks, we will look into this. |
@ribbybibby I can confirm this issue. Looks like it is related to the link you included. |
I am putting together a test case, and so it looks like you're able to create the first webhook without an issue, but when you update the webhook bearer token then this occurs |
chb0github
pushed a commit
that referenced
this issue
Jun 30, 2022
chb0github
pushed a commit
that referenced
this issue
Jun 30, 2022
chb0github
added a commit
that referenced
this issue
Jul 1, 2022
chb0github
added a commit
that referenced
this issue
Jul 1, 2022
GH-476 - simpler filter fixes the issue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I receive the following error when updating an existing handler block in a
_webhook
resource (likeartifactory_artifact_webhook
):It seems to me like the
PUT
request is sending two handlers: the new configuration and then an empty default configuration.To reproduce this issue you can follow these steps.
Bearer changed
or make some other change to the handler block.Artifactory version:
7.35.2
Provider version:
6.9.1
Terraform version:
v1.1.9
Expected behavior
I wouldn't expect an error.
Additional context
This issue sounds related: https://discuss.hashicorp.com/t/using-typeset-in-provider-always-adds-an-empty-element-on-update/18566
The text was updated successfully, but these errors were encountered: