3.4.0 (Oct 16, 2026)
BREAKING CHANGES:
resource/kubernetes_role_v1: Setting bothmetadata.nameandmetadata.generate_nameis now rejected during plan, includinggenerate_name = "". Earlier versions allowed it, but the Kubernetes API ignoresgenerate_namewhenevernameis set. To keep the existing Role, removegenerate_nameif it is empty (""); otherwise removenameand keepgenerate_name. Making the other change replaces the Role. [GH-2964]resource/kubernetes_role_v1:nullis no longer accepted as a value inmetadata.labelsormetadata.annotations. Earlier versions accepted it and silently dropped the entry. [GH-2964]
BUG FIXES:
- provider: Bump
google.golang.org/grpcto v1.83.2 andgithub.com/moby/spdystreamto v0.5.1 to resolve GO-2026-6348, GO-2026-6443, and CVE-2026-35469. [GH-2986]
NOTES:
resource/kubernetes_role_v1: Import IDs require a non-empty namespace and name. [GH-2964]resource/kubernetes_role_v1: Migrated from SDKv2 to the Plugin Framework, preserving configuration syntax and resource identity, including upgrades from versions before identity support.movedblocks from the deprecatedkubernetes_roleresource are supported with Terraform 1.8 or later. Explicit empty metadata maps may require a one-time in-place update. Roles imported with an earlier provider version may show a one-time in-place update setting emptylabelsandannotationsto null, and aterraform plan -refresh=falseimmediately after upgrading may show a one-time in-place update addingresource_names = []; neither replaces the Role. Identity imports default an omitted namespace todefault. See the Plugin Framework upgrade guide for details. [GH-2964]