This is a major release focused on keeping secret values out of Terraform state, server-side password generation, smoother upgrades, and security updates. Review the breaking changes below before upgrading.
⚠ Breaking changes
- Minimum Terraform version is now 1.11 (previously 0.13). The new write-only password attribute requires Terraform 1.11 or later. Update
required_versionto>= 1.11.0before upgrading. - Passwords are no longer stored in Terraform state. Manage password values with the new
password_value/password_wo_versionattributes (see Headline features). tss_resource_secret.fieldsattributesitemid,fieldid,slug, andfielddescriptionare now computed (read-only). Configurations that set any of these will now fail at plan time. Remove them from your configuration.
✨ Headline features
- Write-only password value. The new
password_valueattribute, paired with thepassword_wo_versionrotation trigger, lets you set and rotate passwords without ever writing them toterraform.tfstate. - Server-side password generation. The new
generate(bool) attribute requests a password generated by the secret template's password policy, so a value never has to leave Secret Server. (gh #110) - Automatic state upgrade, v3 → v4. Existing v3 state is upgraded automatically on first apply. Upgrading from v2 is supported as a documented manual migration. (gh #106)
- Environment-variable authentication now works. The provider correctly falls back to
TSS_SERVER_URL,TSS_USERNAME,TSS_PASSWORD,TSS_TOKEN, andTSS_DOMAINwhen those are set. (gh #108)
🔒 Security & infrastructure
- gRPC updated v1.75.1 → v1.79.3 (addresses CVE-2026-33186).
- Go toolchain updated 1.25.1 → 1.26.2 (addresses multiple GO-2026 standard-library CVEs).
- Added a
.snykpolicy for the msgpack advisory (CVE-2026-2454). - Added a new CI workflow.
🐞 Fixes
- Fixed an "inconsistent result after apply" error caused by a block-count mismatch in
flattenSecretwhen a secret used a partial set of fields. - Marked
itemvalueas sensitive so it is redacted in plan and apply output. - Cleaned up
go vetfindings inprovider.go.
Full changelog: v3.1.1...v4.0.0