HashiCorp
TA-002-P · Question #408
How would you reference the Volume IDs associated with the ebs_block_device blocks in this configuration?
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #408. The question stem and answer options stay visible for context.
Read, generate, and modify configuration
Question
How would you reference the Volume IDs associated with the ebs_block_device blocks in this configuration?
Exhibit
Options
- Aaws_instance.example.ebs_block_device.[*].volume_id
- Baws_instance.example.ebs_block_device.volume_id
- Caws_instance.example.ebs_block_device[sda2,sda3].volume_id
- Daws_instance.example.ebs_block_device.*.volume_id
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 HCL Syntax#Referencing Attributes#Splat Operator#Nested Blocks
