When you use a remote backend that needs authentication, HashiCorp recommends that you:
When you use a remote backend that needs authentication, HashiCorp recommends that you:
When using a remote backend that requires authentication, it is recommended to use partial configuration to load the authentication credentials outside of the Terraform code. This approach ensures that sensitive data such as authentication credentials are not included directly in the Terraform configuration files. Instead, these credentials can be provided through environment variables or other secure methods during the initialization process, minimizing the risk of exposing sensitive information.
Answer is A. Note: We recommend omitting the token from the configuration, and instead using terraform login or manually configuring credentials in the CLI config file. Reference: https://www.terraform.io/language/settings/backends/remote
Answer is A This means that you should use environment variables to store these credentials. The partial configuration does not include sensitive data in the file but relies on environment variables that Terraform automatically detects. Credentials and Sensitive Data https://developer.hashicorp.com/terraform/language/settings/backends/configuration#credentials-and-sensitive-data Warning: We recommend using environment variables to supply credentials and other sensitive data. If you use -backend-config or hardcode these values directly in your configuration, Terraform will include these values in both the .terraform subdirectory and in plan files. This can leak sensitive credentials.
https://www.terraform.io/language/settings/backends/configuration#credentials-and-sensitive-data
Warning: We recommend using environment variables to supply credentials and other sensitive data. If you use -backend-config or hardcode these values directly in your configuration, Terraform will include these values in both the .terraform subdirectory and in plan files. This can leak sensitive credentials.
It should be A.
A is the correct answer
https://www.terraform.io/language/settings/backends/configuration#credentials-and-sensitive-data
Partial Configuration You do not need to specify every required argument in the backend configuration. Omitting certain arguments may be desirable if some arguments are provided automatically by an automation script running Terraform. When some or all of the arguments are omitted, we call this a partial configuration. With a partial configuration, the remaining configuration arguments must be provided as part of the initialization process. https://developer.hashicorp.com/terraform/language/settings/backends/configuration#partial-configuration
Answer is A
definitely
it's a
Answer is A
vote for A