Skip to content

Terraform deploy with CI/CD Pipeline with Azure Devops

Notifications You must be signed in to change notification settings

srinivasadhu/Terraform-AKS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Terraform-AKS

Terraform deploy with CI/CD Pipeline with Azure Devops

This code has not been tested on production environments. This is only for Development and testing purposes

Pre-Reqs

  1. Azure Subscription
  2. Service Principal (ID & ClientSecret) with Contributor role to desired sub
  3. Azure DevOps

How To Use

  1. Fork to your Repo
  2. Import repo to Az Devops
  3. Create a Pipeline
  4. Add Terraform Step for Init using the Assistant a) Create variables with the assistant for Name, Location, resourceGroup, clientID, clientSecret b) on Arguments refer to all of the variables mentioned above using this format -var="Name=$(Name)" -var="resourceGroup=$(resourceGroup)"
  5. Add Terraform Validate and Apply

About

Terraform deploy with CI/CD Pipeline with Azure Devops

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%