Improve this page

Back to GitHub Actions collection <–

Ready for Production

create basic terraform pipeline as code

Terraform CICD

Get the pipeline file

ADA FD

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

ADA FD

The CICD pipeline defined in azure-pipline.yaml has below steps

  1. Terraform static code analysis using checkov

  2. Terraform code continuous integration with

    1. terraform install
    2. terraform init
    3. terraform validate
    4. terraform plan
    5. yerraform apply

ADA FD