Terraform is not considering the hidden files resources for creation/updation/deletion. Is there any way to do so?
Terraform ignores files with a few different prefixes:
We ignore all of these because there are text editors and other software which use temporary files with these prefixes as part of an atomic replace operation on save, or for other purposes such as backing up an unsaved editor buffer. If Terraform were to read those files then it would seem as if the same blocks were declared more than once in a module and thus Terraform would produce confusing error messages.
There is no way to override this rule. You’ll need to rename your files to not have any of those three prefixes.
thanks for confirming @apparentlymart