Terraform Academy CI/CD Lab: Automated Terraform Apply with Manual Approval

Automated Terraform Apply 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 main branch after approval.

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

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!