A team wants to validate that their Terraform infrastructure code follows company standards before any deployment. Which pipeline stage pattern accomplishes this with minimal custom tooling?
-
A
Use CodeBuild to run terraform validate and tflint as a pre-deployment stage in CodePipeline
-
B
Use AWS Config rules to evaluate Terraform state files post-deployment and auto-remediate
-
C
Use CloudFormation Guard (cfn-guard) to validate Terraform HCL files against policy rules
-
D
Use AWS Trusted Advisor to scan Terraform plans for compliance violations