Hi,
Using helm provider I am trying to upgrade the existing chart deployment to a new version, But for some reason the helm provider is considering replace (destroy and create) instead of normal helm upgrade.
I do not see any issues with state file as such, I can see the resource exists in it and also when I do terragrunt plan without modifying the helm chart version it says that No changes. Your infrastructure matches the configuration.
We have not changed any thing, same provider versions, namespace, deployment name etc.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
- destroy
Terraform will perform the following actions:
# helm_release.asec_common will be destroyed
# (because helm_release.asec_common is not in configuration)
- resource "helm_release" "asec_common" {
- atomic = false -> null
- chart = "sm-infra" -> null
...........
...........
# helm_release.sm_infra will be created
+ resource "helm_release" "sm_infra" {
+ atomic = false
+ chart = "sm-infra"
+ version = "40.1011.1119"
................
Any idea why does provider not considering the simple helm upgrade , appreciate if any one can share some info on this.
Terraform version, Kubernetes provider version and Kubernetes version
Terraform configuration
Question
Hi, Using
helm
provider I am trying to upgrade the existing chart deployment to a new version, But for some reason the helm provider is considering replace (destroy and create) instead of normal helm upgrade. I do not see any issues with state file as such, I can see the resource exists in it and also when I doterragrunt plan
without modifying the helm chart version it says thatNo changes. Your infrastructure matches the configuration.
We have not changed any thing, same provider versions, namespace, deployment name etc.resource in tf state
After changing the chart version to 40.1011.xxx
Any idea why does provider not considering the simple helm upgrade , appreciate if any one can share some info on this.
Thanks