Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 95

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

    Correct Answer: B

    B

    Reference:

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

Discussion
EltoothOption: B

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

modarovOption: B

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.

Ni33Option: B

B is the correct answer

Power123Option: B

Answer is B

samkobadevOption: B

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

Ahmad_TerraformOption: B

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