https://github.com/f2calv/azdo-pipelines-yaml-terraform
Deploy Azure infrastructure (AKS/ACR) with Terraform via an Azure DevOps YAML pipeline.
https://github.com/f2calv/azdo-pipelines-yaml-terraform
Last synced: about 1 month ago
JSON representation
Deploy Azure infrastructure (AKS/ACR) with Terraform via an Azure DevOps YAML pipeline.
- Host: GitHub
- URL: https://github.com/f2calv/azdo-pipelines-yaml-terraform
- Owner: f2calv
- License: unlicense
- Created: 2020-12-07T11:41:37.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-15T03:27:53.000Z (over 5 years ago)
- Last Synced: 2025-03-21T11:36:44.899Z (about 1 year ago)
- Language: HCL
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Azure DevOps YAML Pipeline to Deploy Azure Infrastructure w/Terraform
This is a YAML pipeline to deploy AKS+ACR to Azure via a YAML pipeline.
Permissions are also then applied via Terraform to allow AKS to pull images from the ACR.
The Terraform functionality of the pipeline is hosted [in an external template](https://github.com/f2calv/CasCap.YAMLTemplates/blob/master/templates/jobs.terraform.publish-v1.yml) repository for re-usability.
## Prerequisites
- Your Azure DevOps project is connected to your Azure subscription with a service principle with the correct permissions to assign AcrPull permissions (higher permissions than the default!).
- Clone this repo into Azure DevOps and create a YAML pipeline using the existing pipeline file, `.azure-pipelines/azure-pipeline.yml`
- Edits;
- In `.azure-pipelines/azure-pipeline.yml` add your information into the areas marked `TODO`.
- In `dev/main.tf` add your information into the areas marked `TODO`.
- Then run the pipeline...
Enjoy.
_I will update this repo with more detail as and when I have time..._