Question 580
Terraform reports an object absent despite its presence in the cloud console because the resource was never imported or created by Terraform. Which action most directly satisfies the requirement in this situation?
Explanation
Correct Answer
Terraform state maps configured resource addresses to real remote objects. State contains the expected managed resource address and remote object identity.
Incorrect Answers
Provider locks support reproducibility and integrity checking of selected plugins. Establish an appropriate mapping between the real object and a Terraform resource address via import.
Provider aliases distinguish multiple configurations of the same provider type. State contains the expected managed resource address and remote object identity.
Providers supply resource and data-source implementations for external APIs. Establish an appropriate mapping between the real object and a Terraform resource address via import.