I would like to discuss an issue, happened with me 7 day ago, during deployment to azure.
We are trying to stick IaC, which means that all changes must go via CI/CD. We also have some resources, which were deployed not via Terraform, like Storage Account (we need it to save terraform state) and etc.
7 days ago our team tried to apply new portion of changes to already existing infrastructure. Before to approve “apply” we always verifying the Terrafrom Plan, that time we verified it and did not find something strange, Terraform Plan looked good. After applying new changes to already existing infra, the infra was removed, including resources are not part of Terraform state.
I dont know whether somebody else faced with such issues before and could give us some advice where to look to find the issue. We have contacted to Microsoft to find the reason, but unfortunately we did not find.
Have a good day and best regards