Skip to content

Releases: coder/terraform-provider-coderd

v0.0.21

Choose a tag to compare

@ethanndickson ethanndickson released this 13 Jul 11:46
42f21d5

What's Changed

  • Fix coderd_ai_provider producing a cryptic error when Bedrock role_arn is set against an older server — On Coder servers older than v2.35.0 the server silently drops role_arn, which surfaced as Provider produced inconsistent result after apply … inconsistent values for sensitive attribute. Apply now fails with a clear, actionable message telling you to upgrade Coder or remove role_arn. Fixes #387. (#389)

  • Fix spurious post-apply inconsistency on coderd_ai_provider Bedrock settings — Empty Bedrock settings strings returned by the server are now mapped back to null, so omitting an optional field no longer trips the plan/state consistency check. (#384)

  • Make versions optional on coderd_template — Templates can now be managed without declaring versions. (#383)

  • Expose the server-generated Bedrock external_id on coderd_ai_provider — Computed STS external ID for role_arn assume-role trust policies. Populates only on Coder v2.36.0 or later; null on older servers. (#382)

Full Changelog: v0.0.20...v0.0.21

v0.0.20

Choose a tag to compare

@ethanndickson ethanndickson released this 01 Jul 07:04
c97bd6c

What's Changed

New experimental resources for Coder AI Gateway & Agents

Warning

These resources are experimental. Changes are expected, and they are not recommended for production use.

  • Add experimental coderd_ai_provider resource — Configures an AI Provider for use with Coder's AI Gateway & Coder Agents. (#368)

  • Add experimental coderd_agents_model resource — Configures an admin-managed chat model for Coder Agents, binding a model identifier to a configured AI provider along with context, compression, and optional JSON tuning settings. (#371)

  • Add experimental coderd_default_agents_model resource — Selects which coderd_agents_model is the deployment-wide default chat model for Coder Agents. (#378)

  • Add Bedrock role_arn to coderd_ai_provider — ARN of an AWS IAM role to assume via STS before calling Bedrock. Requires Coder v2.35.0 or later. (#372)

Full Changelog: v0.0.19...v0.0.20

v0.0.19

Choose a tag to compare

@ethanndickson ethanndickson released this 11 Jun 13:21
f7e8076

What's Changed

  • Fix coderd_template failing when tf_vars or provisioner_tags are not known at plan time — Values supplied through input variables, var-files, modules, or computed expressions previously failed validation with Value Conversion Error: Received unknown value. These attributes now handle unknown values correctly, and the fix is covered by an end-to-end regression test. Fixes #305. (#362, #363)

Full Changelog: v0.0.18...v0.0.19

v0.0.18

Choose a tag to compare

@ethanndickson ethanndickson released this 10 Jun 05:55
38cc6df

What's Changed

  • Fix template updates when using sensitive variables or computed version namescoderd_template now handles updates more reliably when tf_vars include sensitive values and when a version name is derived from another Terraform resource. (#347)

Full Changelog: v0.0.17...v0.0.18

v0.0.17

Choose a tag to compare

@ethanndickson ethanndickson released this 09 Jun 16:29
ab08af2

What's Changed

  • Add organization option for workspace port sharing (#336)
  • Handle deleted users without org memberships (#361)
  • Add service account support to coderd_user (#357)

v0.0.16

Choose a tag to compare

@ethanndickson ethanndickson released this 10 Mar 08:40
d8d89d0

What's Changed

  • Add configurable HTTP headers to provider — New optional headers attribute on the provider block to inject custom HTTP headers into all Coder API requests. Also reads from the CODER_HEADER environment variable, like the Coder CLI.

Example

provider "coderd" {
  url   = "https://coder.example.com"
  token = var.coder_token

  headers = {
    "X-Coder-Bypass-Ratelimit" = "true"
  }
}

v0.0.15

Choose a tag to compare

@ethanndickson ethanndickson released this 06 Mar 14:06
6697442

What's Changed

  • Refresh cached entitlements after license create/delete (#306)
  • Fix panic in waitForJob when log streaming fails — if the template version log-follow API returned an error, the provider would panic due to a nil closer. (#308)

Dependencies

Package / Action From To
github.com/coder/coder/v2 2.30.0 2.31.2
github.com/hashicorp/terraform-plugin-framework 1.17.0 1.18.0
github.com/hashicorp/terraform-plugin-go 0.29.0 0.30.0
github.com/cloudflare/circl 1.6.1 1.6.3
go.opentelemetry.io/otel/sdk 1.39.0 1.40.0
actions/setup-go 6.2.0 6.3.0
hashicorp/setup-terraform 3.1.2 4.0.0
goreleaser/goreleaser-action 6.4.0 7.0.0
crazy-max/ghaction-import-gpg 6.3.0 7.0.0

Release v0.0.14 was skipped due to an issue in the release process.

v0.0.13

Choose a tag to compare

@ethanndickson ethanndickson released this 06 Feb 02:13
6925902

What's Changed

  • Add workspace_sharing attribute to coderd_organization resource@geokat (#295, #301)
  • Add cors_behavior support to template resource — @blinkagent[bot] (#294)

Dependencies

Package / Action From To
github.com/coder/coder/v2 2.25.1 2.29.2
github.com/hashicorp/terraform-plugin-framework 1.16.1 1.17.0
github.com/hashicorp/terraform-plugin-framework-validators 0.18.0 0.19.0
github.com/hashicorp/terraform-plugin-testing 1.13.2 1.14.0
github.com/hashicorp/terraform-plugin-go 0.28.0 0.29.0
github.com/hashicorp/terraform-plugin-log 0.9.0 0.10.0
github.com/hashicorp/terraform-plugin-docs 0.22.0 0.24.0
github.com/stretchr/testify 1.10.0 1.11.1
github.com/go-viper/mapstructure/v2 2.3.0 2.4.0
github.com/docker/docker 28.3.3 28.5.2
golang.org/x/crypto 0.43.0 0.45.0
actions/checkout 4.3.0 6.0.2
actions/setup-go 5.5.0 6.2.0
goreleaser/goreleaser-action 6.3.0 6.4.0

v0.0.12

Choose a tag to compare

@ethanndickson ethanndickson released this 19 Aug 00:41
99877ea

What's Changed

  • feat: add use_classic_parameter_flow to coderd_template resource by @ethanndickson in #251
  • feat: add coderd_organization_group_sync resource by @ethanndickson in #248
    • With this addition, the group_sync block on the coderd_organization resource has been deprecated, and will be removed in a later version of the provider.
  • fix: support unmanaged roles on user resource by @ethanndickson in #250
    • To support managing OIDC users via the provider when role sync is enabled, setting roles to null on the coderd_user resource will no longer have the provider manage (read or update) the user's roles.

Dependencies

  • chore(deps): bump github.com/hashicorp/terraform-plugin-testing from 1.13.1 to 1.13.2 by @dependabot[bot] in #232
  • chore(deps): bump github.com/coder/coder/v2 from 2.23.0 to 2.23.1 by @dependabot[bot] in #231
  • chore(deps): bump github.com/docker/docker from 28.1.1+incompatible to 28.2.2+incompatible by @dependabot[bot] in #227
  • chore(deps): bump github.com/go-chi/chi/v5 from 5.1.0 to 5.2.2 by @dependabot[bot] in #233
  • chore(deps): bump github.com/docker/docker from 28.2.2+incompatible to 28.3.0+incompatible by @dependabot[bot] in #235
  • chore(deps): bump github.com/coder/coder/v2 from 2.23.1 to 2.24.1 by @dependabot[bot] in #236
  • chore(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.21.0 to 0.22.0 by @dependabot[bot] in #238
  • chore(deps): bump github.com/docker/docker from 28.3.0+incompatible to 28.3.1+incompatible by @dependabot[bot] in #237
  • chore(deps): bump github.com/docker/docker from 28.3.1+incompatible to 28.3.2+incompatible by @dependabot[bot] in #239
  • chore(deps): bump actions/checkout from 4.2.2 to 4.3.0 by @dependabot[bot] in #246
  • chore(deps): bump github.com/docker/go-connections from 0.5.0 to 0.6.0 by @dependabot[bot] in #245
  • chore(deps): bump github.com/coder/coder/v2 from 2.24.1 to 2.25.1 by @dependabot[bot] in #244
  • chore(deps): bump github.com/hashicorp/terraform-plugin-framework from 1.15.0 to 1.15.1 by @dependabot[bot] in #242
  • chore(deps): bump github.com/docker/docker from 28.3.2+incompatible to 28.3.3+incompatible by @dependabot[bot] in #241

Full Changelog: v0.0.11...v0.0.12

v0.0.11

Choose a tag to compare

@ethanndickson ethanndickson released this 04 Jun 06:13
48208b6

What's Changed

  • chore(deps): bump golang.org/x/net from 0.34.0 to 0.36.0 by @dependabot in #195
  • chore(deps): bump github.com/coder/coder/v2 from 2.19.0 to 2.20.0 by @dependabot in #194
  • chore(deps): bump actions/setup-go from 5.3.0 to 5.4.0 by @dependabot in #198
  • chore(deps): bump github.com/coder/coder/v2 from 2.20.0 to 2.20.2 by @dependabot in #200
  • chore(deps): bump github.com/hashicorp/terraform-plugin-testing from 1.11.0 to 1.12.0 by @dependabot in #201
  • chore(deps): bump github.com/docker/docker from 28.0.1+incompatible to 28.0.4+incompatible by @dependabot in #206
  • chore(deps): bump crazy-max/ghaction-import-gpg from 6.2.0 to 6.3.0 by @dependabot in #205
  • chore(deps): bump goreleaser/goreleaser-action from 6.2.1 to 6.3.0 by @dependabot in #204
  • chore: bump coder to v2.21.0 by @ethanndickson in #210
  • fix: handle user deletion config drift by @ethanndickson in #209
  • chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 by @dependabot in #211
  • chore(deps): bump github.com/docker/docker from 28.0.4+incompatible to 28.1.1+incompatible by @dependabot in #213
  • chore(deps): bump actions/setup-go from 5.4.0 to 5.5.0 by @dependabot in #218
  • chore(deps): bump github.com/coder/coder/v2 from 2.21.0 to 2.21.3 by @dependabot in #217
  • chore(deps): bump github.com/hashicorp/terraform-plugin-go from 0.26.0 to 0.27.0 by @dependabot in #223
  • chore(deps): bump github.com/hashicorp/terraform-plugin-testing from 1.12.0 to 1.13.0 by @dependabot in #221
  • chore(deps): bump github.com/hashicorp/terraform-plugin-framework from 1.14.1 to 1.15.0 by @dependabot in #219
  • chore(deps): bump github.com/hashicorp/terraform-plugin-framework-validators from 0.17.0 to 0.18.0 by @dependabot in #220
  • chore(deps): bump github.com/hashicorp/terraform-plugin-go from 0.27.0 to 0.28.0 by @dependabot in #224
  • chore(deps): bump github.com/hashicorp/terraform-plugin-testing from 1.13.0 to 1.13.1 by @dependabot in #226
  • chore: bump coder to v2.23.0 by @ethanndickson in #228

Full Changelog: v0.0.10...v0.0.11