Hi team,
I am unable to import the instances from AWS using terraform import. Please look into the below error and let me know how to proceed further. I can see the instances are available in the AWS account but unable to import them. Currently I am using the latest version 1.05.
Error: Cannot import non-existent remote object
│
│ While attempting to import an existing object to “aws_instance.server”, the provider detected that no object exists with the given id. Only pre-existing objects can be imported; check that the id is correct and that it is associated
│ with the provider’s configured region or endpoint, or use “terraform apply” to create a new remote object for this resource.
Thanks in advance,
Shiva