Câu 24: Terraform Associate 004: HashiCorp Certified: Terraform Associate (004)
You’ve just finished refactoring part of your Terraform workspace’s configuration to use a module to manage some of your resources. When you plan your changes, you notice that Terraform will destroy and recreate the affected resources. Doing so could cause unintended downtime in the application your workspace manages.…
Nội dung câu hỏi
You’ve just finished refactoring part of your Terraform workspace’s configuration to use a module to manage some of your resources. When you plan your changes, you notice that Terraform will destroy and recreate the affected resources. Doing so could cause unintended downtime in the application your workspace manages. What supported approach should you take to complete the refactor without destroying and recreating your resources?
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. Add moved blocks to your configuration to let Terraform know the new resource addresses for the affected resources. — đáp án hiện tại
- B. Open your cloud provider’s console and rename the effected resources.
- C. Run the terraform console command to edit your workspace’s state and update the resource names.
- D. Manually edit your terraform.tfstate file and update the resource names.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.