I am learning Terraform, so just added the provider config, ad config and the resource group config in my main.tf file. While trying to run the plan command “terraform plan -out main.tfplan”, I am getting
No changes. Your infrastructure matches the configuration.
Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed.
even on running the terraform init command there is no lock file or the terraform folder is getting created in my package structure.
I was expecting the lock file and a terraform folder getting created on running the init command and the changes that I have made(added a Resource group) should be reflected on running the plan command
Amit Anand is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.