-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (24 loc) · 1.02 KB
/
release-to-poc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Release to POC
on:
workflow_dispatch:
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
terraform-plan-and-apply-poc:
environment: POC
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: frasermolyneux/actions/terraform-plan-and-apply@main
with:
terraform-folder: "terraform"
terraform-var-file: "tfvars/poc.tfvars"
backend-subscription-id: ${{ secrets.tf_backend_subscription_id }}
backend-resource-group-name: ${{ secrets.tf_backend_resource_group_name }}
backend-storage-account-name: ${{ secrets.tf_backend_storage_account_name }}
backend-container-name: ${{ secrets.tf_backend_container_name }}
backend-key: ${{ secrets.tf_backend_key }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}