Azure Authentication and Authorization
Terrateam needs permission to access resources in your Azure account.
These instructions require you to run commands from a terminal.
Create a Terrateam Service Principal
A dedicated service principal and client secret is used to access Azure resources.
- Login to the Azure CLI
- Get your Subscription ID
- Export your Subscription ID
- Set the Subscription ID
- Create a
Record the following to use below:
Add Credentials to GitHub Secrets
Credentials are securely stored in GitHub Secrets and exposed as obfuscated environment variables in the Terrateam GitHub Action runtime environment.
- Export your Terraform
organization/repocombination as an environment variable.
- Create the Azure Subscription ID GitHub Secret
- Create the Azure Client ID (
appID) GitHub Secret
- Create the Azure Client Secret (
password) GitHub Secret
- Create the Azure Tenant ID (
tenant) GitHub Secret
Azure Terraform Provider
The Azure Terraform provider
will detect and use the
ARM_* GitHub Secrets automatically set in the Terrateam GitHub
Action runtime environment.