feat: add support for URL monitors [sc-24803] #315
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds support for a new resource type:
checkly_url_monitor- URL monitor.I've taken care to add a bit more documentation and validation this time, since the pending TF provider overhaul is likely still months away.
Additionally,
checkly_heartbeathas been renamed tocheckly_heartbeat_monitor, andcheckly_tcp_checktocheckly_tcp_monitor. The old resource types are still available, and have not been deprecated. If we deprecate them, users will start seeing warnings every time they deploy their resources. In the Plugin SDK however there is no convenient way to move a resource to a new type, so the steps to rename a resource are a bit convoluted:With the framework, a single "moved" block would do the job (well, we'd have to have extra code for it in the provider though).
So, for now, their descriptions will say that they've been renamed, but there's no outright deprecation.
Of course, if you don't care about keeping historical data, you can just recreate the resources by renaming them.
Affected Components
Pre-Requisites
terraform fmtgo fmtplan&applycommand ofdemo/main.tffile do not produce diffsNotes for the Reviewer
New Dependency Submission