-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprod-stackit-terraform-10-launchpad.yaml
More file actions
37 lines (34 loc) · 1.36 KB
/
prod-stackit-terraform-10-launchpad.yaml
File metadata and controls
37 lines (34 loc) · 1.36 KB
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
name: prod-stackit-terraform-10-launchpad
on:
workflow_dispatch:
inputs:
terraform-force-unlock:
default: false
description: Terraform force unlock
required: false
type: boolean
terraform-force-unlock-id:
description: Terraform LOCK_ID
required: false
type: string
pull_request:
paths:
- prod-stackit/terraform/10_launchpad/**
- .github/workflows/prod-stackit-terraform-10-launchpad.yaml
permissions:
contents: read
id-token: write
jobs:
terraform:
name: Terraform
uses: ./.github/workflows/terraform-deploy-stackit.yaml
with:
directory: prod-stackit/terraform/10_launchpad
terraform-force-unlock-id: ${{ github.event_name == 'workflow_dispatch' && inputs.terraform-force-unlock == true && inputs.terraform-force-unlock-id }}
terraform-force-unlock: ${{ github.event_name == 'workflow_dispatch' && inputs.terraform-force-unlock == true && inputs.terraform-force-unlock }}
secrets:
stackit_service_account_key: ${{ secrets.CDT_LAUNCHPAD_STACKIT_SERVICE_ACCOUNT_KEY }}
backend_s3_secret_key: ${{ secrets.CDT_LAUNCHPAD_STACKIT_BACKEND_SECRET_ACCESS_KEY }}
backend_s3_access_key: ${{ secrets.CDT_LAUNCHPAD_STACKIT_BACKEND_ACCESS_KEY }}
env: |-
TF_VAR_runner_token: ${{ secrets.CDT_LAUNCHPAD_GITHUB_RUNNER_REGISTRATION_TOKEN }}