Terraform-Associate-004 試験問題を無料オンラインアクセス
| 試験コード: | Terraform-Associate-004 |
| 試験名称: | HashiCorp Certified: Terraform Associate (004) (HCTA0-004) |
| 認定資格: | HashiCorp |
| 無料問題数: | 385 |
| 更新日: | 2026-11-18 |
Exhibit:
Root module configuration:
output " vnet_id " {
value = module.my_network.vnet_id
}
Error:
Error: Reference to undeclared output value
on main.tf line 12, in output " vnet_id " :
12: value = module.my_network.vnet_id
You are using a networking module in your Terraform configuration with the name my_network. Your root module includes the configuration shown. When you run terraform validate, you get the error shown. Which option would successfully retrieve this value from your networking module?
You are creating a reusable Terraform configuration and want to include an optional billing_dept tag so your Finance team can track team-specific spending on resources. Which of the following billing_dept variable declarations will achieve this?
When using a remote backend or terraform Cloud integration, where does Terraform save resource sate?