alpine-docker / terragrunt

Auto-trigger docker build for terragrunt when new terraform version released
Apache License 2.0
35 stars 24 forks source link

Default switched to OpenTofu for latest tag #34

Closed Shocktrooper closed 1 month ago

Shocktrooper commented 1 month ago

Crosspost from https://github.com/gruntwork-io/terragrunt/issues/3168

ozbillwang commented 1 month ago

Crosspost from https://github.com/gruntwork-io/terragrunt/issues/3168

not realize this issue, i recommend to add a new line in your codes by set TERRAFORM_TFPATH

thanks for the report, i will update the README

Shocktrooper commented 1 month ago

So while this is a solution if anyone uses this across a lot of projects like my company does this change has to potentially be made across thousands of projects which is a lot of work. For backwards compatibility sake it would be better to leave the functionality as it was for the latest tag

ozbillwang commented 1 month ago

I rolled back the change. Removed Opentofu from the image, the latest images (latest, 1.8.4)

Shocktrooper commented 1 month ago

Just wanted to mention in case you add the tofu binary in the future is that once a state manipulation happens with tofu it corrupts the state if switching back to terraform. No commands can reverse this and the state file/state lock need to be edited manually in order for anything to work again