Question 440
A networking team is writing infrastructure automation. The acceptance requirement is to use an externally provisioned image identifier as input to a managed instance. What approach addresses it directly?
Explanation
Correct Answer
Data references supply attributes from objects not controlled by this root. This meets the stated requirement to use an externally provisioned image identifier as input to a managed instance.
Incorrect Answers
Terraform managed lifecycle tracking is intended to ensure a deleted configured resource is planned for replacement on a subsequent reconciliation; Terraform compares state and provider results against declared resources. That is not the specific requirement to use an externally provisioned image identifier as input to a managed instance.
Provider-specific resource type is intended to select a type whose schema supports a required load-balancer argument; resource capabilities are defined by their providers. That is not the specific requirement to use an externally provisioned image identifier as input to a managed instance.
data block is intended to look up an existing object maintained outside this configuration; data sources read information while managed resources control lifecycles. That is not the specific requirement to use an externally provisioned image identifier as input to a managed instance.






HashiCorp Certified: Terraform Associate (004) (Terraform Associate 004) Practice Tests