sl1pm4t / k2tf

Kubernetes YAML to Terraform HCL converter
Mozilla Public License 2.0
1.17k stars 108 forks source link

Order is not deterministic #61

Closed markusheiden closed 2 years ago

markusheiden commented 4 years ago

The order of "cpu" and "memory" in the following snippet is non-deterministic when generated from the same yaml.

container {
  resources {
    limits {
      cpu    = "250m"
      memory = "50Mi"
    }
  }
}
sl1pm4t commented 2 years ago

Hi @markusheiden - I'm not able to reproduce this problem. I suspect it did exist at one point but has been fixed by an upstream change in HashiCorp libraries. I'm going to close, but if you can reproduce let me know.