Exam4Training

How would you reference the volume IDs associated with the ebs_block_device blocks in this configuration?

How would you reference the volume IDs associated with the ebs_block_device blocks in this configuration?

A . aws_instance.example.ebs_block_device[sda2,sda3).volume_id
B . aws_lnstance.example.ebs_block_device.[*].volume_id
C . aws_lnstance.example.ebs_block_device.volume_ids
D . aws_instance.example-ebs_block_device.*.volume_id

Answer: D

Explanation:

This is the correct way to reference the volume IDs associated with the ebs_block_device blocks in this configuration, using the splat expression syntax. The other options are either invalid or incomplete.

Exit mobile version