Skip to content

Support for Terraform import command in the generated Terraform output. #374

@lvets

Description

@lvets

Would it be possible to add a commented line right above the generated Terraform resource with the exact Terraform import command?

For example something like this:

# terraform import aws_instance.EC2Instance <Instance ID>
resource "aws_instance" "EC2Instance" {
...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions