Skip to content

v3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Nov 14:16
· 1 commit to main since this release
f87f284

Version 3 bridges version 2 of the Checkly Terraform provider, which moved to the Terraform Plugin Framework. It is a major release: programs need changes, and the first pulumi up can update some resources in place. Existing stacks keep working; no resource has to be imported or recreated.

Before upgrading, read Upgrading to v3. It has the upgrade procedure, every change to your program, and the changes to expect on the first pulumi up.

Important

Don't run pulumi refresh --run-program before your first pulumi up on v3. It fails on the inputs that v2.x stored, with objectEncoder failed on property "alert_settings". Run pulumi up first; after that, both kinds of refresh work.

Requirements

  • An account ID for every API key, through checkly:accountId or CHECKLY_ACCOUNT_ID.
  • Go: the import path is github.com/checkly/pulumi-checkly/sdk/v3/go/checkly, and the SDK needs Go 1.26.6 or later and github.com/pulumi/pulumi/sdk/v3 v3.276.0 or later.

Breaking changes

  • TriggerCheck and TriggerCheckGroup are removed. Delete them while still on v2.x, or remove them from the stack with pulumi state delete <urn>.
  • Nested alertSettings values are objects instead of lists, with singular names: runBasedEscalation, timeBasedEscalation, parallelRunFailureThreshold and reminders. alertSettings.sslCertificates is gone.
  • environmentVariables on Check and CheckGroup is a list of { key, value, locked, secret } objects, replacing both the environmentVariable list and the environmentVariables map.
  • No group or snippet is undefined, not 0. groupId, setupSnippetId and teardownSnippetId set to 0 fail the preview.
  • Removed properties: Check.sslCheck; shouldFail on browser and multi-step checks and on GrpcMonitor, SslMonitor and TracerouteMonitor; and retryStrategy.onlyOn on DnsMonitor, GrpcMonitor, IcmpMonitor, SslMonitor, TcpCheck, TcpMonitor and TracerouteMonitor.
  • apiCheckDefaults.url is required when apiCheckDefaults is set on a check group.
  • More outputs are secrets, including environment variable values, basic auth passwords, heartbeat ping tokens and alert channel credentials.
  • More values are validated in the preview instead of failing at update or being changed by the API.

Expected changes on the first pulumi up

  • useGlobalAlertSettings follows alertSettings when it isn't set, as in the Checkly CLI. Resources that set neither switch to the account level alert settings; set useGlobalAlertSettings: false to keep their own.
  • Lower default response time limits on SslMonitor, TcpMonitor, TcpCheck and TracerouteMonitor.
  • AlertChannel.autoSubscribe defaults to false.
  • Values set in the web app that v2.x couldn't clear, such as a check's tags, are cleared unless your program sets them.

New resources

  • ApiCheck, BrowserCheck and MultistepCheck, one per check type, replace Check.
  • MaintenanceWindow now manages the non-deprecated upstream resource. Your code keeps working unchanged.

Deprecated

Check, CheckGroup (use CheckGroupV2), HeartbeatCheck (use HeartbeatMonitor), TcpCheck (use TcpMonitor), StatusPage and StatusPageService (use the v3 status page resources). Except for the status pages, a Pulumi alias moves a resource to its replacement without recreating it; see Moving to the replacement resources.

Under the hood

  • Built with pulumi-terraform-bridge v3.143.0 and Pulumi v3.276.0.
  • State that v2.x stored is converted to the v3 shape on every operation, so resources can be updated, replaced and deleted right after upgrading.
  • Generated documentation describes upstream behaviour in Pulumi terms.

What's Changed

  • feat!: bridge terraform-provider-checkly v2 for pulumi-checkly v3 [ship] by @sorccu in #144
  • ci: publish to npm and NuGet with trusted publishing [ship] by @sorccu in #145
  • ci: stop using the NPM_TOKEN secret [ship] by @sorccu in #146

Full Changelog: v2.14.0...v3.0.0