Terragrunt: Terragrunt moves stuff around in backend.tf between command runs

Created on 8 Oct 2020  路  3Comments  路  Source: gruntwork-io/terragrunt

Terragrunt makes this sort of change to backend.tf depending on which command is run:
image
I haven't pinned down the exact behavior but it seems unnecessary.

bug help wanted

Most helpful comment

FYI there is a PR with the fix here: https://github.com/gruntwork-io/terragrunt/pull/1165

All 3 comments

Ah, interesting... This is usually caused by looping over a map in Go, where iteration order is randomized. We should probably pull out the keys and sort them to iterate in a stable order. If anyone has time to fix this, a PR is very welcome!

FYI there is a PR with the fix here: https://github.com/gruntwork-io/terragrunt/pull/1165

This will be also solved on the version 0.24.X ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ozbillwang picture ozbillwang  路  3Comments

mmorianos picture mmorianos  路  3Comments

MacFlurry picture MacFlurry  路  4Comments

Tensho picture Tensho  路  3Comments

dmlemos picture dmlemos  路  3Comments