HashiCorp
TA-002-P · Question #242
Your developers are facing a lot of problem while writing complex expressions involving difficult interpolations . They have to run the terraform plan every time and check whether there are errors , a
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #242. The question stem and answer options stay visible for context.
Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)
Question
Your developers are facing a lot of problem while writing complex expressions involving difficult interpolations . They have to run the terraform plan every time and check whether there are errors , and also check terraform apply to print the value as a temporary output for debugging purposes. What should be done to avoid this?
Options
- AUse terraform console command to have an interactive UI with full access to the
- BAdd a breakpoint in your code, using the watch keyword , and output the value to console
- CUse terraform zipmap function , it will be able to easily do the interpolations without
- DUse terraform console command to have an interactive UI , but you can only use it with
Unlock TA-002-P to see the answer
You've previewed enough free TA-002-P questions. Unlock TA-002-P 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
#terraform console#debugging#expressions#CLI