terraform state file import code example Example: terraform import $ terraform import aws_instance.example i-abcd1234