As a data architect, it's necessary to ensure cloud infrastructure built by the main.tf is robust and creates instances of all desired service in an expected manner. The 'terraform plan' command in the terminal does not itself test what's being built, but only previews it - there is no guarantee that each service is integrated correctly and are connected to valid policies. terraform plan also requires manual input by default, which is something we want to avoid in automated CI/CD deployment.
Instead, we plan to write tests for the main.tf build file specifically, to ensure our cloud infrastructure is robust and builds as intended.
As a data architect, it's necessary to ensure cloud infrastructure built by the main.tf is robust and creates instances of all desired service in an expected manner. The 'terraform plan' command in the terminal does not itself test what's being built, but only previews it - there is no guarantee that each service is integrated correctly and are connected to valid policies. terraform plan also requires manual input by default, which is something we want to avoid in automated CI/CD deployment.
Instead, we plan to write tests for the main.tf build file specifically, to ensure our cloud infrastructure is robust and builds as intended.