ably / terraform-provider-ably

Ably's Terraform Provider, enabling you to manage your Ably account programmatically.
https://registry.terraform.io/providers/ably/ably
Apache License 2.0
11 stars 2 forks source link

Getting Error: Float64 Type Validation Error for ably_queue resource #157

Open Bharathkumarraju opened 1 year ago

Bharathkumarraju commented 1 year ago

Hi Team,

We were running the below terraform code it was running well but now we get the below error.

Error: Float64 Type Validation Error. --- Value %!s(*big.Float=0.8) cannot be represented as a 64-bit floating point.

> keys(yamldecode(file("./_files/ably_config.yaml"))["brave"].queues)
[
  "ably-channel-sink",
  "kafka-connect-ably",
]
> yamldecode(file("./_files/ably_config.yaml"))["brave"].queues["ably-channel-sink"].ttl
60
> yamldecode(file("./_files/ably_config.yaml"))["brave"].queues["ably-channel-sink"].max_length
10000
> yamldecode(file("./_files/ably_config.yaml"))["brave"].queues["ably-channel-sink"].region
"us-east-1-a"
> exit
resource "ably_queue" "queue" {
  for_each = toset(keys(local.ably.queues))
  app_id     = data.vault_generic_secret.ably_app_id.data["id"]
  name       = each.key
  ttl        = local.ably.queues[each.key].ttl
  max_length = local.ably.queues[each.key].max_length
  region     = local.ably.queues[each.key].region
}

image

sync-by-unito[bot] commented 1 year ago

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3227

TessilimiTheo commented 5 months ago

Hi, have you found a solution about this issue ?