Notifications
Clear all
Topic starter
You have provisioned some virtual machines (VMs) on Google Cloud Platform (GCP) using the gcloud command line tool. However, you are standardizing with Terraform and want to manage these VMs using Terraform instead.
What are the two things you must do to achieve this? (Choose two.)
- A . Provision new VMs using Terraform with the same VM names
B. Use the terraform import command for the existing VMs
C. Write Terraform configuration for the existing VMs
D. Run the terraform import-gcp command
Suggested Answer: B,C
Explanation:
You should create the equivalent configuration first, and then run import to load it on the state file.
Explanation:
You should create the equivalent configuration first, and then run import to load it on the state file.
Posted : 21/11/2022 1:18 pm