Skip to content

Opentofu dynamic providers with for_each break automated project generation due to parsing error #2573

@languitar

Description

@languitar

When using terragrunt with generate_projects, any unit with opentofu code using dynamic providers with for_each breaks digger with the following error message:

Error loading digger config: error loading digger.yml: error cloning and loading config failed to autogenerate digger_config, error during parse: Invalid provider reference: Provider argument requires a provider name followed by an optional alias, like "aws.foo". (and 1 other messages)

This bug is inherited from terragrunt-atlantis-config (transcend-io/terragrunt-atlantis-config#407) and there is already a PR proposing a fix: transcend-io/terragrunt-atlantis-config#408.

Can this fix be incorporated in digger?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions