Terraform, Provider, Kubernetes and Helm Versions
Terraform version: 1.14.4
Provider version: 3.1.1
Kubernetes version: 1.32
Affected Resource(s)
Terraform Configuration Files
first you create helm release:
resource "helm_release" "app" {
repository = "${path.module}"
name = "echo"
chart = "echo"
namespace = "echo1"
create_namespace = true
set_wo = [ {
name = "foo"
value = "bar"
} ]
set_wo_revision = 1
}
then you update helm release:
resource "helm_release" "app" {
repository = "${path.module}"
name = "echo"
chart = "echo"
namespace = "echo1"
create_namespace = true
set = [{
name = "foo2"
value = "bar2"
}]
set_wo = [ {
name = "foo"
value = "bar"
} ]
set_wo_revision = 1
}
Steps to Reproduce
- create any helm release resource with
set_wo argument and run terraform apply
- Update helm_release resource, but not write only argument and run
terraform apply again
Expected Behavior
I would expect the helm chart after second apply to contain both new set argument and unchanged set_wo argument, since set_wo_revision was not changed
Actual Behavior
the set_wo parameter is no longer applied to helm chart after second apply
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
first you create helm release:
then you update helm release:
resource "helm_release" "app" {
repository = "${path.module}"
name = "echo"
chart = "echo"
namespace = "echo1"
create_namespace = true
set = [{
name = "foo2"
value = "bar2"
}]
set_wo = [ {
name = "foo"
value = "bar"
} ]
set_wo_revision = 1
}
Steps to Reproduce
set_woargument and runterraform applyterraform applyagainExpected Behavior
I would expect the helm chart after second apply to contain both new
setargument and unchangedset_woargument, sinceset_wo_revisionwas not changedActual Behavior
the
set_woparameter is no longer applied to helm chart after second applyCommunity Note