Releases: coder/terraform-provider-coderd
Release list
v0.0.21
What's Changed
-
Fix
coderd_ai_providerproducing a cryptic error when Bedrockrole_arnis set against an older server — On Coder servers older than v2.35.0 the server silently dropsrole_arn, which surfaced asProvider produced inconsistent result after apply … inconsistent values for sensitive attribute. Apply now fails with a clear, actionable message telling you to upgrade Coder or removerole_arn. Fixes #387. (#389) -
Fix spurious post-apply inconsistency on
coderd_ai_providerBedrock 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
versionsoptional oncoderd_template— Templates can now be managed without declaringversions. (#383) -
Expose the server-generated Bedrock
external_idoncoderd_ai_provider— Computed STS external ID forrole_arnassume-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
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_providerresource — Configures an AI Provider for use with Coder's AI Gateway & Coder Agents. (#368) -
Add experimental
coderd_agents_modelresource — 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_modelresource — Selects whichcoderd_agents_modelis the deployment-wide default chat model for Coder Agents. (#378) -
Add Bedrock
role_arntocoderd_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
What's Changed
- Fix
coderd_templatefailing whentf_varsorprovisioner_tagsare not known at plan time — Values supplied through input variables, var-files, modules, or computed expressions previously failed validation withValue 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
What's Changed
- Fix template updates when using sensitive variables or computed version names —
coderd_templatenow handles updates more reliably whentf_varsinclude 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
v0.0.16
What's Changed
- Add configurable HTTP headers to provider — New optional
headersattribute on the provider block to inject custom HTTP headers into all Coder API requests. Also reads from theCODER_HEADERenvironment 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
What's Changed
- Refresh cached entitlements after license create/delete (#306)
- Fix panic in
waitForJobwhen log streaming fails — if the template version log-follow API returned an error, the provider would panic due to a nilcloser. (#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
What's Changed
- Add
workspace_sharingattribute tocoderd_organizationresource — @geokat (#295, #301) - Add
cors_behaviorsupport 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
What's Changed
- feat: add
use_classic_parameter_flowtocoderd_templateresource by @ethanndickson in #251 - feat: add
coderd_organization_group_syncresource by @ethanndickson in #248- With this addition, the
group_syncblock on thecoderd_organizationresource has been deprecated, and will be removed in a later version of the provider.
- With this addition, the
- 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
rolestonullon thecoderd_userresource will no longer have the provider manage (read or update) the user's roles.
- To support managing OIDC users via the provider when role sync is enabled, setting
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
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