I am trying to connect to an existing EC2 instance for running a few deployment steps. But terrform plan shows that existing EC2 instance will be destroyed and new one will be created.
Is it by design? Is there any way in terraform to connect to an EC2 instance?
Thanks in advance