Deploy the infrastructure Domains
azure-client-id
: Azure service principal or managed identity client ID when using OIDCazure-subscription-id
: Azure service principal or managed identity subscription ID when using OIDCazure-tenant-id
: Azure service principal or managed identity tenant ID when using OIDCslack-webhook
: A slack webhook to send a slack message to the service tech channel on deploy failure. See https://technical-guidance.education.gov.uk/infrastructure/monitoring/slack/#content (Optional)terraform-base
: Name of the base terraform path (default: ‘terraform/domains/infrastructure’)jobs:
main:
...
permissions:
id-token: write # Required for OIDC authentication to Azure
...
steps:
- name: Deploy Domains Infrastructure
id: deploy_domains_infra
uses: DFE-Digital/github-actions/deploy-domain-infra@master
with:
azure-client-id: $
azure-tenant-id: $
azure-subscription-id: $
slack-webhook: $
terraform-base: terraform/domains/infrastructure