Terraform Associate Exam QuestionsBrowse all questions from this exam

Terraform Associate Exam - Question 95


How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?

Show Answer
Correct Answer: B

B

Reference:

https://www.terraform.io/docs/cloud/vcs/index.html

Discussion

6 comments
Sign in to comment
EltoothOption: B
Jul 6, 2022

B is correct answer. "In a workspace linked to a VCS repository, runs start automatically when you merge or commit changes to version control. A workspace is linked to one branch of a VCS repository and ignores changes to other branches. You can specify which files and directories within your repository trigger runs. " https://www.terraform.io/cloud-docs/run/ui#automatically-starting-runs

Ahmad_TerraformOption: B
Jul 14, 2022

commit mean saving code into the VSC, it will trigger run in the terraform

samkobadevOption: B
Feb 10, 2023

Commit = Push to VCS. So, the correct answer is B. When we commit to VCS Repository thats automatically trigger run on the terraform cloud workspace

Power123Option: B
Mar 31, 2023

Answer is B

Ni33Option: B
May 9, 2023

B is the correct answer

modarovOption: B
Aug 5, 2023

The answer is B. Commit a change to the VCS working directory and branch that the Terraform Cloud workspace is connected to. When you commit a change to a VCS repository that is connected to a Terraform Cloud workspace, Terraform Cloud will automatically trigger a run in the workspace. The run will use the latest state file in the workspace to determine what changes need to be made to the infrastructure.