nerdexam
HashiCorp

TA-002-P · Question #146

You want terraform plan and apply to be executed in Terraform Cloud's run environment but the output is to be streamed locally. Which one of the below you will choose?

The correct answer is C. Remote Backends. The remote backend stores Terraform state and may be used to run operations in Terraform Cloud. When using full remote operations, operations like terraform plan or terraform apply can be executed in Terraform Cloud's run environment, with log output streaming to the local…

Use Terraform Cloud and Terraform Enterprise capabilities

Question

You want terraform plan and apply to be executed in Terraform Cloud's run environment but the output is to be streamed locally. Which one of the below you will choose?

Options

  • ALocal Backends
  • BThis can be done using any of the local or remote backends
  • CRemote Backends
  • DTerraform Backends

How the community answered

(44 responses)
  • A
    2% (1)
  • B
    7% (3)
  • C
    89% (39)
  • D
    2% (1)

Explanation

The remote backend stores Terraform state and may be used to run operations in Terraform Cloud. When using full remote operations, operations like terraform plan or terraform apply can be executed in Terraform Cloud's run environment, with log output streaming to the local terminal. Remote plans and applies use variable values from the associated Terraform Cloud workspace.

Topics

#Terraform Cloud#Remote Backends#CLI Integration#Remote Operations

Community Discussion

No community discussion yet for this question.

Full TA-002-P Practice