Terraform Academy CI/CD Lab: Multi-Environment Deployment with Manual Approval

Multi-Environment Deployment with Manual Approval

1. In the GitHub Actions modal, fork the repository.

2. In the VS Code modal, create a GitHub Actions workflow to run terraform plan on PRs and terraform apply on dev or prod branches.

3. In the GitHub Actions modal, commit your changes and create a pull request targeting dev or prod.

4. In the GitHub Actions modal, approve the pull request to trigger terraform apply.

5. In the Terraform Cloud modal, verify the Terraform plan and apply output, then use the "Complete Lab" button.

Terminal

Success!

Congrats on completing the Terraform Academy CI/CD Lab!