This repository stores the IaC (Terraform) for the OTT service.
To make changes to the infrastructure, modify files under the relevant environment
subdirectory.
-
Install and run the
pre-commit
hooks when making changes. These keep the Terraform documentation up to date, prevent linting errors, and ensure your changes conform to the repository standards. -
Open a Pull Request with your changes. This will deploy the feature over the development environment to proof that
terraform apply
runs without failure. -
Merges into
main
will deploy the changes into the staging environment, with a manual approval step required for production.