terraform-associate question 333 discussion

View all HashiCorp Certified: Terraform Associate Exam here
back to hashicorp forum

Question 333

When you use a remote backend that needs authentication. HashrCorp recommends that you:

  • A. Push your Tefraform configuration to an encrypted git repository
  • B. Write the authentication credentials in the Terraform configuration files
  • C. Use partial configuration to load the authentication credentials outside of the Terraform code
  • D. Keep the Terraform configuration files in a secret store
Answer:

B


User Votes:
A
50%
B
50%
C 2 votes
50%
D
50%
Discussions
0 / 1000
nassimaelferkhsi
1 month, 3 weeks ago

When using a remote backend that requires authentication, HashiCorp recommends that you load the authentication credentials outside of the Terraform configuration files. This helps to avoid storing sensitive information directly in the Terraform code, which could lead to accidental exposure in version control or logs