A terraform apply can not _________ infrastructure.
A terraform apply can not _________ infrastructure.
The terraform apply command is used to apply the changes required to reach the desired state of the configuration. It can change (update), destroy, and provision infrastructure, but importing existing infrastructure into the state file is performed using the terraform import command. Therefore, terraform apply cannot import infrastructure.
deprecated question https://www.hashicorp.com/blog/terraform-1-5-brings-config-driven-import-and-checks
D as importing requires a separate command from Apply
import is an explicit command
Not any more, you can have an import {} clause so I guess this question is no longer valid. https://www.hashicorp.com/blog/terraform-1-5-brings-config-driven-import-and-checks
The answer is D. While terraform allows you import existing infrastructure, it is not through the apply command.
https://www.educative.io/answers/what-is-the-command-to-destroy-infrastructure-in-terraform
Terraform v1.5.0 and later supports import blocks... A bit old question...
Answer is D
Answer D. terraform import command
Not sure --> Terraform can import existing infrastructure resources. This functionality allows you take resources you created by some other means and bring them under Terraform management.
The question is about the command "terraform apply" and not terraform