Notifications
Clear all
Topic starter
06/07/2022 9:15 am
You want terraform plan and terraform 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?
- A . Local Backends.
- B . Terraform Backends.
- C . This can be done using any of the local or remote backends.
- D . Remote Backends.
Suggested Answer: D
Explanation:
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.
Terraform Cloud can also be used with local operations, in which case only state is stored in the Terraform Cloud backend.
https://www.terraform.io/docs/backends/types/remote.html
Explanation:
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.
Terraform Cloud can also be used with local operations, in which case only state is stored in the Terraform Cloud backend.
https://www.terraform.io/docs/backends/types/remote.html