Notifications
Clear all
Topic starter
16/07/2022 5:45 am
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,D
Explanation:
The terraform import command is used to import existing infrastructure. Import existing Google Cloud resources into Terraform with Terraformer.
Reference: https://www.terraform.io/docs/cli/import/usage.html https://cloud.google.com/docs/terraform
Explanation:
The terraform import command is used to import existing infrastructure. Import existing Google Cloud resources into Terraform with Terraformer.
Reference: https://www.terraform.io/docs/cli/import/usage.html https://cloud.google.com/docs/terraform