Closed bcdady closed 4 months ago
/terratest
I see this error in the test
error while running command: exit status 1; ╷ │ Error: error creating standalone healthcheck: health checks disabled for zone: validation failed (1002) │ │ with module.zone.cloudflare_healthcheck.default["eg-ue2-test-cf-zone-71222-TCP-bastion-71222.test-automation.app"], │ on ../../healthcheck.tf line 22, in resource "cloudflare_healthcheck" "default": │ 22: resource "cloudflare_healthcheck" "default" { │ ╵ ╷ │ Error: error creating standalone healthcheck: health checks disabled for zone: validation failed (1002) │ │ with module.zone.cloudflare_healthcheck.default["eg-ue2-test-cf-zone-71222-HTTPS-api-71222.test-automation.app"], │ on ../../healthcheck.tf line 22, in resource "cloudflare_healthcheck" "default": │ 22: resource "cloudflare_healthcheck" "default" { │ ╵}
This may be because the cloudflare api token may not have zone level healthcheck permissions enabled.
cc @aknysh @Nuru
@bcdady @nitrocode we have downgraded our CloudFlare subscription, and it does not support health checks for zones ("health checks disabled for zone"), so we can't test it anymore.
I'm going to release a major version of the module (since it contains breaking changes). Any issues that you or other users encounter, we'll fix in follow up PRs.
Thank you
Thank you!
Thanks @aknysh.
Would it help to also disable the testing of health checks in the example so the tests can pass in follow up PRs?
Remove deprecated filter and firewall resources
what
Support for the following resources, which are deprecated, are removed from this module.
why
Cloudflare converted existing firewall rules into WAF custom rules
Removing the functionality from this module, related to the deprecated resources, addresses multiple issues, including indirectly supporting #40 and #20
references