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

Inconsistent code/documentation: "Heartbeat must be greater than 0" while docs say "min: 0" #175

Closed
sgametrio opened this issue Oct 21, 2022 · 0 comments · Fixed by #176
Closed

Comments

@sgametrio
Copy link
Contributor

Terraform version

Terraform v1.3.2
on darwin_arm64
+ provider registry.terraform.io/cloudamqp/cloudamqp v1.19.3

Affected resources

resource "cloudamqp_rabbitmq_configuration" "rmq" {
  ...
  heartbeat          = 0
  log_exchange_level = "error"
}

When running terraform validate I get the following output:

Error: "heartbeat" must be greater than 0, got: 0

  with cloudamqp_rabbitmq_configuration.rmq

But according to the documentation we can set 0 as a minimum value (to disable heartbeat). Official documentation says we can set it to 0 too.

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

Successfully merging a pull request may close this issue.

1 participant