Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

HashiCorp Terraform-Associate-004 Exam - Topic 1 Question 8 Discussion

Actual exam question for HashiCorp's Terraform-Associate-004 exam
Question #: 8
Topic #: 1
[All Terraform-Associate-004 Questions]

You're building a CI/CD (continuous integration/continuous delivery) pipeline and need to inject sensitive variables into your Terraform run. How can you do this safely?

Show Suggested Answer Hide Answer
Suggested Answer: D

This is a secure way to inject sensitive variables into your Terraform run, as they will not be stored in any file or source code repository. You can also use environment variables or variable files with encryption to pass sensitive variables to Terraform.


Contribute your Thoughts:

0/2000 characters
Kanisha
2 days ago
I think using a secure_varS.tf file might be a good idea, but I'm not sure if that's the best practice for security.
upvoted 0 times
...
Alva
7 days ago
I remember we discussed not hardcoding sensitive variables directly into the Terraform code, so A is definitely out.
upvoted 0 times
...

Save Cancel