Terraform, Provider, Kubernetes and Helm Versions
Terraform version: 1.12.2
Provider version: 3.0.2
Kubernetes version: 1.33.0
Affected Resource(s)
Terraform Configuration Files
resource "helm_release" "repro" {
name = "issue-repro"
chart = "${path.module}/repro-chart"
namespace = "default"
}
Debug Output
https://gist.github.com/nint8835/8873a73e875a53bab478c2eb5987b20f
Panic Output
N/A
Steps to Reproduce
A complete ready-to-go simple repro example can be found here: https://github.com/nint8835/helm-issue-repro
- Create & apply a
helm_release referencing a local helm chart
- Update the
version value on the chart
- Apply again
Expected Behavior
The release be upgraded without issue
Actual Behavior
The apply fails due to an inconsistent result error, however the upgrade will complete successfully. On subsequent apply, Terraform will correctly recognize the updated state
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to helm_release.repro, provider "provider[\"registry.terraform.io/hashicorp/helm\"]"
│ produced an unexpected new value: .metadata.revision: was cty.NumberIntVal(3), but now cty.NumberIntVal(4).
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to helm_release.repro, provider "provider[\"registry.terraform.io/hashicorp/helm\"]"
│ produced an unexpected new value: .metadata.version: was cty.StringVal("0.1.0"), but now
│ cty.StringVal("0.1.1").
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
╷
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to helm_release.repro, provider "provider[\"registry.terraform.io/hashicorp/helm\"]"
│ produced an unexpected new value: .metadata.last_deployed: was cty.NumberIntVal(1.751334292e+09), but now
│ cty.NumberIntVal(1.751334361e+09).
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
Applies doing things like changing values do not cause this error, it is specifically updating the version in the local chart
Important Factoids
N/A
References
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform, Provider, Kubernetes and Helm Versions
Affected Resource(s)
Terraform Configuration Files
Debug Output
https://gist.github.com/nint8835/8873a73e875a53bab478c2eb5987b20f
Panic Output
N/A
Steps to Reproduce
A complete ready-to-go simple repro example can be found here: https://github.com/nint8835/helm-issue-repro
helm_releasereferencing a local helm chartversionvalue on the chartExpected Behavior
The release be upgraded without issue
Actual Behavior
The apply fails due to an inconsistent result error, however the upgrade will complete successfully. On subsequent apply, Terraform will correctly recognize the updated state
Applies doing things like changing values do not cause this error, it is specifically updating the version in the local chart
Important Factoids
N/A
References
Community Note