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

feat: support for waiting for checks to reach a state #115

Open
lispyclouds opened this issue Feb 8, 2022 · 1 comment
Open

feat: support for waiting for checks to reach a state #115

lispyclouds opened this issue Feb 8, 2022 · 1 comment
Labels
type: feature request New feature or request

Comments

@lispyclouds
Copy link

Hello!

Thanks a lot for the provider! We are very happy users of this!

One of the ways we use this is to provision some checks in a disaster recovery drills and have a script that loops until the checks are passing to make sure our recovery worked. We currently call that from a local_provisioner and we were wondering if its a useful feature to be added to the official provider? Something like:

resoruce "checkly_wait_for_check" "recovery_check_1" {
  id       = checkly_check.api_service.id
  retries  = 10
  interval = 5 # seconds

  expected_state = {
    hasFailures = false
  }
}

If this is something that you think is worth adding to the provider, we are happy to raise a PR for this! 😄

@ianaya89
Copy link

@lispyclouds sorry for the delay, I totally missed this issue. Let me evaluate this with the team and get back to you soon.
Thanks!

PS: Glad you like the provider :D

@ianaya89 ianaya89 changed the title [Feature] Support for waiting for checks to reach a state request: support for waiting for checks to reach a state Jun 13, 2022
@ianaya89 ianaya89 added the type: feature request New feature or request label Jun 13, 2022
@ianaya89 ianaya89 changed the title request: support for waiting for checks to reach a state feat: support for waiting for checks to reach a state Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants