Terraform and Azure CLI in one container.
1.7K
Docker container with terraform and azure cli.
See the hashicorp image for details on using the terraform parts of this image.
docker run \
--rm \
-v $(pwd):/app/ \
-w /app/ \
-e ARM_SUBSCRIPTION_ID \
-e ARM_TENANT_ID \
-e ARM_CLIENT_ID \
-e ARM_CLIENT_SECRET \
ostusa/terraform-azure-cli
You'll have to provide the ARM_* variables in the above example to allow Terraform to access your Azure subscription using a service principal.
docker pull ostusa/terraform-azure-cli:latest