Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Terraform Associate All Questions

View all questions & answers for the Terraform Associate exam

Exam Terraform Associate topic 1 question 95 discussion

Actual exam question from HashiCorp's Terraform Associate
Question #: 95
Topic #: 1
[All Terraform Associate Questions]

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

  • A. Only Terraform Cloud organization owners can set workspace variables on VCS connected workspaces
  • B. Commit a change to the VCS working directory and branch that the Terraform Cloud workspace is connected to
  • C. Only members of a VCS organization can open a pull request against repositories that are connected to Terraform Cloud workspaces
  • D. Only Terraform Cloud organization owners can approve plans in VCS connected workspaces
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Eltooth
Highly Voted 2 years, 4 months ago
Selected Answer: 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
upvoted 15 times
...
modarov
Most Recent 1 year, 3 months ago
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.
upvoted 1 times
...
Ni33
1 year, 6 months ago
Selected Answer: B
B is the correct answer
upvoted 1 times
...
Power123
1 year, 7 months ago
Answer is B
upvoted 1 times
...
samkobadev
1 year, 9 months ago
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
upvoted 1 times
...
Ahmad_Terraform
2 years, 4 months ago
commit mean saving code into the VSC, it will trigger run in the terraform
upvoted 1 times
...
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.

SaveCancel
Loading ...