The opentofu-template repo offers a streamlined template for deploying infrastructure with OpenTofu, a Terraform fork. It follows best practices for modularity, environment-specific variables, and security. Ideal for quick cloud infrastructure setup, it also supports CI/CD for automated deployments.
- Modular design: Breaks down infrastructure into reusable components.
- Environment variables: Easily configure different environments with variables.
- Security: Follows best practices for secure infrastructure setup.
- CI/CD support: Automate deployments with GitHub Actions.
- Clone the repo.
- Run
(terraform || tofu) init
to initialize the working directory. - Run
(terraform || tofu) plan
to view the changes Terraform will make. - Run
(terraform || tofu) apply
to apply the changes.