Skip to content

Conversation

@sorccu
Copy link
Member

@sorccu sorccu commented Oct 30, 2025

This PR adds a new checkly_dns_monitor resource type which is used to manage DNS monitors.

This PR also unifies the alert_settings attribute behind a shared helper, as it was getting unwieldy and there were minor differences in the documented behavior and defaults. The new schema produced by the helper is compatible with earlier behavior, with the exception that some of the older resource types did not validate their documented values. However, since the accepted values were documented, I think it's reasonable to now validate them. The new behavior is consistent for all resource types.

Needs checkly/checkly-go-sdk#145.

Affected Components

  • Resources
  • Test
  • Docs
  • Tooling
  • Other

Pre-Requisites

  • Terraform code is formatted with terraform fmt
  • Go code is formatted with go fmt
  • plan & apply command of demo/main.tf file do not produce diffs

Notes for the Reviewer

Resolves #[issue-number]

New Dependency Submission

All changes are backwards compatible, with the exception that some of the
older resources lacked validation for their values. However, the accepted
values were documented.
@sorccu sorccu requested a review from a team as a code owner October 30, 2025 07:58
@github-actions
Copy link

github-actions bot commented Oct 30, 2025

Terraform Format and Style 🖌success

Format Output

@sorccu sorccu changed the title Simo/sim 153 tf add dns monitor support feat: add DNS monitor support Oct 30, 2025
@sorccu sorccu force-pushed the simo/sim-153-tf-add-dns-monitor-support branch from 30e9778 to f601ae1 Compare October 30, 2025 08:13
…port

Makes it clearer that port is part of the name server address.
Currently we're not. Test is expected to fail.
@sorccu sorccu merged commit 30a2509 into main Nov 4, 2025
9 of 11 checks passed
@sorccu sorccu deleted the simo/sim-153-tf-add-dns-monitor-support branch November 4, 2025 08:27
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 this pull request may close these issues.

2 participants