Câu 19: Terraform Associate 003: HashiCorp Certified: Terraform Associate (003)
You have declared a variable called var.list which is a list of objects that all have an attribute id . Which options will produce a list of the IDs? (Choose two.)
Nội dung câu hỏi
You have declared a variable called var.list which is a list of objects that all have an attribute id . Which options will produce a list of the IDs? (Choose two.)
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. [ for o in var.list : o.id ] — đáp án hiện tại
- B. var.list[*].id
- C. [ var.list[*].id ]
- D. { for o in var.list : o => o.id }
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.