Repository navigation
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:accountIdorCHECKLY_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 andgithub.com/pulumi/pulumi/sdk/v3v3.276.0 or later.
Breaking changes
TriggerCheckandTriggerCheckGroupare removed. Delete them while still on v2.x, or remove them from the stack withpulumi state delete <urn>.- Nested
alertSettingsvalues are objects instead of lists, with singular names:runBasedEscalation,timeBasedEscalation,parallelRunFailureThresholdandreminders.alertSettings.sslCertificatesis gone. environmentVariablesonCheckandCheckGroupis a list of{ key, value, locked, secret }objects, replacing both theenvironmentVariablelist and theenvironmentVariablesmap.- No group or snippet is
undefined, not0.groupId,setupSnippetIdandteardownSnippetIdset to0fail the preview. - Removed properties:
Check.sslCheck;shouldFailon browser and multi-step checks and onGrpcMonitor,SslMonitorandTracerouteMonitor; andretryStrategy.onlyOnonDnsMonitor,GrpcMonitor,IcmpMonitor,SslMonitor,TcpCheck,TcpMonitorandTracerouteMonitor. apiCheckDefaults.urlis required whenapiCheckDefaultsis 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
useGlobalAlertSettingsfollowsalertSettingswhen it isn't set, as in the Checkly CLI. Resources that set neither switch to the account level alert settings; setuseGlobalAlertSettings: falseto keep their own.- Lower default response time limits on
SslMonitor,TcpMonitor,TcpCheckandTracerouteMonitor. AlertChannel.autoSubscribedefaults tofalse.- 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,BrowserCheckandMultistepCheck, one per check type, replaceCheck.MaintenanceWindownow 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