Câu 55: Terraform Associate 004: HashiCorp Certified: Terraform Associate (004)
After creating a new Terraform configuration, your config passes terraform validate but gives an “Access Denied” error from the cloud provider when running terraform plan. Why didn’t validate catch this issue?
Nội dung câu hỏi
After creating a new Terraform configuration, your config passes terraform validate but gives an “Access Denied” error from the cloud provider when running terraform plan. Why didn’t validate catch this issue?
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. The working directory was not initialized, so the cloud provider plugin wasn’t available to use when running the terraform validate command.
- B. The remote backend wasn’t configured, so terraform validate couldn’t load the state and detect the missing credentials.
- C. terraform validate only checks if a configuration is syntactically correct and internally consistent, and does not communicate with providers. — đáp án hiện tại
- D. Variables are only applied and validated during a terraform plan, so validate assumed defaults and returned the success message.
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.