CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 47: Terraform Associate 004: HashiCorp Certified: Terraform Associate (004)

A resource block is shown in the Exhibit space of this page.resource “aws_instance” “web” {count = 2name = “terraform-${count.index}”}How do you reference the name value of the second instance of this resource?

Nội dung câu hỏi

A resource block is shown in the Exhibit space of this page.resource “aws_instance” “web” {count = 2name = “terraform-${count.index}”}How do you reference the name value of the second instance of this resource?

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.

  1. A. aws_instance.web.*.name
  2. B. aws_instance.web[2].name
  3. C. element(aws_instance.web, 2)
  4. D. aws_instance.web[1].name — đáp án hiện tại
  5. E. aws_instance.web[1]

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.

Câu hỏi liền kề