You have multiple team members collaborating on infrastructure as code (IaC) using Terraform, and want to apply formatting standards for readability. How can you format Terraform HCL (HashiCorp Configuration Language) code according to standard Terraform style convention?
A) Run the terraform fmt command during the code linting phase of your CI/CD process
B) Designate one person in each team to review and format everyone's code
C) Manually apply two spaces indentation and align equal sign "=" characters in every Terraform file (*.tf)
D) Write a shell script to transform Terraform files using tools such as AWK, Python, and sed Write a shell script to transform Terraform files using tools such as AWK, Python, and sed
Correct Answer:
Verified
Q8: Which of the following is not a
Q9: Terraform variables and outputs that set the
Q10: When should you use the force-unlock command?
A)
Q11: What information does the public Terraform Module
Q12: If a module uses a local variable,
Q14: What command does Terraform require the first
Q15: One remote backend configuration always maps to
Q16: You have recently started a new job
Q17: What does the default "local" Terraform backend
Q18: You have provisioned some virtual machines (VMs)
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents