A proof of concept showing how to set up simple Azure Pipelines for Terraform.
In Azure DevOps:
- Pipelines => Create Pipeline
- Where is your code? => GitHub
- Select a repository => alexharv074/terraform-test
- Configure your pipeline => Exiting Azure Pipelines YAML file
- Branch: master
Path:
pipelines/example.yaml
At this point it is normal to receive the following build failure on the first run:
##[error]No hosted parallelism has been purchased or granted. To request a free parallelism grant, please fill out the following form https://aka.ms/azpipelines-parallelism-request
I followed instructions here and sent an email to Microsoft support.