Backend files extension are not interpreted
There is an issue with the files defined in the backend
folder because of their extension.
Indeed, when working with an IDE like Visual Studio Code, it shows this error:
Unexpected attribute: An attribute named "bucket" is not expected here
Indeed, the issue can be reproduced when running terraform validate backend/
command.
Terraform is expecting Blocks like "ressources" or "data" instead of arguments only.