Why does this backend configuration not follow best practices?
Why does this backend configuration not follow best practices?
Storing credentials, such as access keys and secret keys, directly in a Terraform configuration file is not a best practice. This can lead to security risks, as sensitive information can be exposed in version control systems, logs, or to unauthorized users. Instead, credentials should be managed using more secure methods such as environment variables, AWS IAM roles, or secret management services.
%100 A
Access Key and Secret Key inside the config file? Really?
Nobrainer
A is the answer
Easy come on, everyone should know this.
Never and never store your credentials in your terraform config