Back to GitHub Actions collection <–
| Ready for Production |
create basic terraform pipeline as code
Terraform CICD
Pre-requisites
Need few secrets as below- GITHUB_TOKEN - Terraform github token
For Azure connectuion need- TF_VAR_agent_client_id TF_VAR_agent_client_secret TF_VAR_subscription_id TF_VAR_tenant_id
Tasks
The CICD pipeline defined in azure-pipline.yaml has below steps
-
Terraform static code analysis using checkov
-
Terraform code continuous integration with
- terraform install
- terraform init
- terraform validate
- terraform plan
- yerraform apply