Based on the current reference architecture for PCF on Azure: https://docs.pivotal.io/pivotalcf/1-12/refarch/azure/azure_ref_arch.html
- Azure cli https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
- Terraform https://www.terraform.io/downloads.html
- jq 1.5 https://stedolan.github.io/jq/download/
- Log in to Azure
- Run
azure-prepare-env.sh
- Populate
params.yml
fromparams.template.yml
andcreds.yml
fromcreds.template.yml
(see docs in yml files for guidance) - Run
provision-infra-local.sh
- Azure cli https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest
- Concourse and fly cli http://concourse.ci/downloads.html
- Log in to Azure
- Run
azure-prepare-env.sh
- Populate
params.yml
fromparams.template.yml
andcreds.yml
fromcreds.template.yml
(see docs in yml files for guidance) - fly the pipeline:
fly -t <env> set-pipeline -p provision-infra -c pipeline.yml -l params.yml -l creds.yml
- run the
boostrap-terraform
job in concourse - run the
provision-infra
job in concourse
The azure-prepare-env.sh
script will perform the actions required for a multi resource group
deployment of PCF according to the documentation listed below:
https://docs.pivotal.io/pivotalcf/1-12/customizing/azure-prepare-env.html
https://docs.pivotal.io/pivotalcf/1-12/refarch/azure/azure_ref_arch.html#multi-resgroup-notes
Before you run the azure-prepare-env.sh
script, login to Azure using 2-factor auth:
az cloud set --name AzureCloud
az login
To sign in, use a web browser to open the page https://aka.ms/devicelogin and enter the code XXXXXXXX to authenticate.