Skip to content

Diff does not show in terraform plan #61

Description

@yashbhutwala

Diff in tf plan is not the same as diff via the helmfile cli:

Terraform v0.14.11
Configuring remote state backend...
Initializing Terraform configuration...
local_file.kubeconfig: Refreshing state... [id=61cbd7e426fc6807211cc7557f8ab62504c8f440]
helmfile_release_set.nginx: Refreshing state... [id=c31p18vgb56ccqb6m9og]
helm_release.example: Refreshing state... [id=ingress-nginx]

An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
  + create
  ~ update in-place

Terraform will perform the following actions:

  # helmfile_release_set.nginx will be updated in-place
  ~ resource "helmfile_release_set" "nginx" {
      ~ content           = <<-EOT
            
            repositories:
            - name: ingress-nginx
              url: https://kubernetes.github.io/ingress-nginx
            
            releases:
            - name: helmfile-ingress-nginx
              namespace: default
              chart: ingress-nginx/ingress-nginx
          -   version: "3.19.0"
          +   version: "3.33.0"
            
        EOT
        id                = "c31p18vgb56ccqb6m9og"
        # (9 unchanged attributes hidden)
    }

  # local_file.kubeconfig will be created
  + resource "local_file" "kubeconfig" {
      + content              = (sensitive)
      + directory_permission = "0777"
      + file_permission      = "0777"
      + filename             = "/terraform/kubeconfig"
      + id                   = (known after apply)
    }

Plan: 1 to add, 1 to change, 0 to destroy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions