Why does this backend configuration not follow best practices?

Why does this backend configuration not follow best practices?

A . An alias meta-argument should be included in backend blocks whenever possible
B . You should use the local enhanced storage backend whenever possible
C . You should not store credentials in Terraform configuration
D . The backend configuration should contain multiple credentials so that more than one user can execute terraform plan and terraform apply

Answer: C

Explanation:

This is a bad practice, as it exposes your credentials to anyone who can access your configuration files or state files. You should use environment variables, credential files, or other mechanisms to provide credentials to Terraform.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments