Skip to content

tfparse incompatible with "removed" block syntax #234

@zod-chill

Description

@zod-chill

using python version 3.12.8
occurring in tfparse versions 0.6.13, 0.6.12, 0.6.11

Example:

When using versions 0.6.13, 0.6.12, 0.6.11
Defining a removed block results in a

converter2025/02/14 unknown block type: removed

error being output when defining a removed terraform block.

Example code from my main.tf

removed {
    from = example_data.example_name
    lifecycle {
        destroy = false
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions