Skip to content
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

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

Open
Bharathkumarraju opened this issue Jan 10, 2023 · 2 comments

Comments

@Bharathkumarraju
Copy link

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
Copy link

sync-by-unito bot commented Jan 10, 2023

➤ Automation for Jira commented:

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

@TessilimiTheo
Copy link

Hi, have you found a solution about this issue ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants