---
title: "CI/CD automation | Grafana Labs"
description: "Module 3 transition from manual Terraform deployment to automated CI/CD pipelines"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

## CI/CD automation

**What you’ll do in this module:**

- **Pipeline architecture.** How plan and apply stages map to pull requests and merges.
- **GitHub Actions workflow.** A complete workflow that plans on PRs and deploys on merge.
- **Secrets and variables.** Securely storing and referencing Grafana credentials in CI/CD.
- **Reliable deployments.** How Terraform state prevents drift, duplicates, and conflicts.
- **Key takeaways.** The most important principles to remember.
- **Resources.** Documentation and references for continued learning.

**Estimated time:** 15 minutes
