Skip to content

Releases: cockroachdb/terraform-provider-cockroach

v1.18.0

20 Mar 10:30

Choose a tag to compare

Update CHANGELOG for v1.18.0 release

This commit updates the CHANGELOG for the v1.18.0 release with release
date 2026-03-20.

v1.17.0

05 Dec 04:36

Choose a tag to compare

Update CHANGELOG for v1.17.0 release

This commit updates the CHANGELOG for the v1.17.0 release with release
date 2025-12-04.

v1.16.0

30 Oct 21:03

Choose a tag to compare

Update 1.16.0 release date in CHANGELOG

This commit updates the release date for version 1.16.0
to `2025-10-30` in the CHANGELOG.

v1.15.2

16 Oct 20:13

Choose a tag to compare

Update SDK to 6.8.0

This commit updates the CC API SDK version used to 6.8.0. With this
update, `TABLE` and `DATABASE` restores that would previously fail due
to a field name capitalization mismatch between SDK and CC API should
now succeed.

v1.15.1

02 Oct 04:32

Choose a tag to compare

Update version to 1.15.1

A fix for an issue in the 1.15.0 tag was merged, so we'll tag the v1.15.1
release.

v1.14.0

03 Sep 16:04

Choose a tag to compare

Update 1.14.0 release date in CHANGELOG

This commit updates the release date for version 1.14.0 to 2025-09-03 in
the CHANGELOG.

v1.13.1

28 Aug 19:44

Choose a tag to compare

Update PCR example. Bump to 1.13.1.

v1.12.2

17 Jun 17:17

Choose a tag to compare

Update CHANGELOG with dns field update

This commit updates the CHANGELOG to reflect the fix added to prevent
the internal_dns and sql_dns fields from being marked as `known after
apply` after the creation of the cluster resource.

v1.12.1

01 May 21:40

Choose a tag to compare

handle external deletion of service account in user role grant resource

Previously, the external deletion of a service account resource managed
in Terraform caused errors on apply if there was a user role grant
resource that referenced the user ID associated with the deleted service
account. This PR fixes this issue by adding a RequireReplace plan
modifier on the UserID attribute of the UserRoleGrant resource.

When the service account was deleted externally, Terraform automatically
created a new service account on apply. However, the existing user role
grant resource in Terraform was still referencing the user ID of the
deleted service account in the state file, leading to a mismatch between
the state and the data returned by the API. This mismatch caused the
apply to fail.

Closes: CLOUDOPS-13734

v1.12.0

25 Apr 17:24

Choose a tag to compare

add AWS external_id support for metric/log export

This commit implements external_id support for both CloudWatch metric export
and log export configurations. External ID is used when assuming AWS IAM
roles and provides additional security for cross-account access.

Changes:

  * Upgrade cockroach-cloud-sdk-go to  v6.1.0
  * Add external_id field to CloudWatch metric export resource
  * Add aws_external_id field to log export resource
  * Update tests for both resources
  * This addresses an issue where fields incorrectly marked as computed led to
    miscalculation of diffs when fields were commented out or removed from the
    terraform config
  * Ensures backward compatibility for existing configurations