-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Howdy!
I work at a company that uses Hookdeck, and we're working on upgrading to 2.2.0, and we have a connection has a retry rule with no other rules.
Here's what our connection resource looks like:
resource "hookdeck_connection" "webhooks_connection" {
depends_on = [hookdeck_destination.webhooks_destination]
name = "${var.app_name}-${var.app_env}-connection"
source_id = var.webhook_source_id
destination_id = hookdeck_destination.webhooks_destination.id
rules = [
{
retry_rule = {
count = 6
interval = 60000 # 1 minute in milliseconds
strategy = "exponential"
response_status_codes = ["500-599"]
}
}
]
}And here's the error we're getting:
Error: Value Conversion Error
with hookdeck_connection.webhooks_connection,
on app.tf line 1008, in resource "hookdeck_connection" "webhooks_connection":
1008: rules = [
1009: {
1010: retry_rule = {
1011: count = 6
1012: interval = 60000 # 1 minute in milliseconds
1013: strategy = "exponential"
1014: response_status_codes = ["500-599"]
1015: }
1016: }
1017: ]
An unexpected error was encountered trying to convert tftypes.Value into
connection.rule. This is always an error in the provider. Please report the
following to the provider developer:
mismatch between struct and object: Struct defines fields not found in
object: deduplicate_rule.Not sure if we're doing anything wrong after checking it over and consulting the resource docs and this example, and Terraform is trying to pin it on the provider developer, which is harsh. Looking for some help figuring it out if possible.
Metadata
Metadata
Assignees
Labels
No labels