Skip to content

OTF doesn't apply import-only plans #970

Description

@tr3pan

There are cases when you want to import existing infrastructure in terraform state. When import blocks are used and no other changes are applied (plan output Plan: 2 to import, 0 to add, 0 to change, 0 to destroy to a terraform plan OTF doesn't run the import.

A workaround is to create a dummy change like change a description or a tag value, import the resources and revert the dummy change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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