-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1008 Bytes
/
terraform.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
30
31
32
33
34
35
36
37
38
39
name: Infrastructure Deployment
on:
push:
branches:
- main
paths:
- "**.tf"
- "code/infra/**"
- "code/datamodel/**"
- "config/**"
- ".github/workflows/terraform.yml"
- ".github/workflows/_terraformEnvironmentTemplate.yml"
pull_request:
branches:
- main
paths:
- "**.tf"
- "code/infra/**"
- "code/datamodel/**"
- "config/**"
- ".github/workflows/terraform.yml"
- ".github/workflows/_terraformEnvironmentTemplate.yml"
jobs:
terraform_dev:
uses: ./.github/workflows/_terraformEnvironmentTemplate.yml
name: "Dev"
with:
environment: "dev"
config: "SharedTenant"
terraform_version: "1.9.1"
node_version: 20
working_directory: "./code/infra"
tenant_id: "572cf1ec-3f90-49a2-896f-ab2fa36ca0d3"
subscription_id: "be25820a-df86-4794-9e95-6a45cd5c0941"
secrets:
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}