I have already created azure infrastructure using terraform. The folder structure is like this:
Now I am trying to change structure to something like below and infratest/dev/main.tf has same resources (nothing changed) as in infratest/main.tf. When try plan from dev folder, it shows me that resources will be deleted and later created.
Is there a way to to tell terraform that I moved my main.tf to another folder.