I am using terragrunt to create an environment using the approach of storing the remote state into my local path.
remote_state {
backend = "local"
config = {
path= "../..//mypath/terraform.tfstate"
}
}
but because terragrunt downloads the terraform modules in a temporary folder by default .terragrunt-cache, it does not set them in the original path but in the temporary path. I am using the following command in the path where my root file is located:
terragrunt run-all apply --terragrunt-download-dir C:\Tempfile Using --terragrunt-download-dir but this will only downloads the temporal folder in a specific path and i want to set my terraform.tfstate in the original path not the temporary folder.