HashiCorp
TERRAFORM-ASSOCIATE-003 · Question #160
You're writing a Terraform configuration that needs to read input from a local file called id_rsa.pub . Which built-in Terraform function can you use to import the file's contents as a string?
Sign in or unlock TERRAFORM-ASSOCIATE-003 to reveal the answer and full explanation for question #160. The question stem and answer options stay visible for context.
Read, generate, and modify configuration
Question
You're writing a Terraform configuration that needs to read input from a local file called id_rsa.pub . Which built-in Terraform function can you use to import the file's contents as a string?
Options
- Afile("id_rsa.pub")
- BtemplaTefil("id_rsa.pub")
- Cfilebase64("id_rsa.pub")
- Dfileset<"id_rsa.pub")
Unlock TERRAFORM-ASSOCIATE-003 to see the answer
You've previewed enough free TERRAFORM-ASSOCIATE-003 questions. Unlock TERRAFORM-ASSOCIATE-003 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#built-in functions#file function#string functions#configuration templating