Câu 29: Terraform Associate 004: HashiCorp Certified: Terraform Associate (004)
You need to destroy all of the resources in your Terraform workspace, except for aws_instance.ubuntu[1], which you want to keep. How can you tell Terraform to stop managing that specific resource without destroying it?
Nội dung câu hỏi
You need to destroy all of the resources in your Terraform workspace, except for aws_instance.ubuntu[1], which you want to keep. How can you tell Terraform to stop managing that specific resource without destroying it?
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. Change the value of the count argument on the resource.
- B. Remove the resource block from your configuration.
- C. Run terraform state rm aws_instance.ubuntu[1]. — đáp án hiện tại
- D. Use a moved block.
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.