CISCO 300-910 Exam Question 4

Share This Post

A CI/CD pipeline that builds infrastructure components using Terraform must be designed. A step in the pipeline is needed that checks for errors in any of the .tf files in the working directory. It also checks the existing state of the defined infrastructure.
Which command does the pipeline run to accomplish this goal?
A. terraform plan
B. terraform check
C. terraform fmt
D. terraform validate
Correct Answer: D