nerdexam
HashiCorp

TA-002-P · Question #271

Your company has a lot of workloads in AWS , and Azure that were respectively created using CloudFormation , and AzureRM Templates. However , now your CIO has decided to use Terraform for all new…

The correct answer is B. Use terraform import command to import each resource one by one. See the full explanation below for the reasoning.

Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)

Question

Your company has a lot of workloads in AWS , and Azure that were respectively created using CloudFormation , and AzureRM Templates. However , now your CIO has decided to use Terraform for all new projects , and has asked you to check how to integrate the existing environment with terraform code. What should be your next plan of action?

Options

  • ATell the CIO that this is not possible . Resources created in CloudFormation , and
  • BUse terraform import command to import each resource one by one .
  • CThis is only possible in Terraform Enterprise , which has the TerraformConverter exe that
  • DJust write the terraform config file for the new resources , and run terraform apply , the

How the community answered

(29 responses)
  • B
    86% (25)
  • C
    10% (3)
  • D
    3% (1)

Topics

#terraform import#existing infrastructure#CLI commands#state management

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice