Skip to content

Add Import() (*InstanceState, bool) method to Importer interface #7

@jmcgill

Description

@jmcgill

If returns false, skip Terraform import and proceed straight to Refresh

Use cases so far:

aws_instance:

  • Check if the AWS Instance has UserData, and if it does set a sentinel value for the base64 field
  • Implement importing for resources for which import isn't supported (e.g. ECS Services)

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