Norman
Norman
When running with debug logging I see ```log 16:59:56.571 STDERR [../B] tofu: Error loading state: Unsupported state file format: This state file is encrypted and can not be read without...
Indeed! When using a `remote_state {}` block in my example I can reproduce the issue. So my guess is remote state is accessed before the `generate` blocks are executed? And...
Hi @denis256, thanks for the suggestions. * `--terragrunt-disable-bucket-update` does not help unfortunately. * I [tried](https://github.com/ZeitOnline/terragrunt-3495/pull/2) using `run_cmd` with a script to generate the config, but this does not work either....
I [tried using](https://github.com/ZeitOnline/terragrunt-3495/pull/1) a `before_hook` instead of the `generate`, yielding the same result
I looked further into the issue. Here is a complete debug output: ```sh ❯ terragrunt plan --terragrunt-log-level debug --terragrunt-debug 12:36:57.653 DEBUG Terragrunt Version: 0.68.3 12:36:57.657 INFO Terragrunt Cache server is...
Digging deeper into the code it seems to me, that `generate` blocks should maybe be added to [config_partial](https://github.com/gruntwork-io/terragrunt/blob/09e981367f63984925c5ff8b80533c3a8b02cfbf/config/config_partial.go#L26), so they can be handled the same as [`remoteStateTGConfig`](https://github.com/gruntwork-io/terragrunt/blob/09e981367f63984925c5ff8b80533c3a8b02cfbf/config/dependency.go#L757) for dependencies. Since...
Thanks, @yhakbar for having a look at this and giving your opinion. I agree with you that it makes sense, to have all state related config in one place. Using...
I will give it a try, but have to tell to you right away, my experiences with Go are very limited. Nevertheless, let me see if I can get a...
@yhakbar one more design question. Would you like to have the encryption config as a block inside the `remote_state` block and completely defined, like the `config` block is now. Making...
@yhakbar I just opened a PR with the most basic implementation of this feature. Could you take a look and give me feedback, if this is going in a direction...