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