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
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.
commit mean saving code into the VSC, it will trigger run in the terraform
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Eltooth
Highly Voted 2 years, 4 months agomodarov
Most Recent 1 year, 3 months agoNi33
1 year, 6 months agoPower123
1 year, 7 months agosamkobadev
1 year, 9 months agoAhmad_Terraform
2 years, 4 months ago