-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprod-stackit-terraform-50-opsstack-agent-test-server.yaml
More file actions
38 lines (35 loc) · 1.54 KB
/
prod-stackit-terraform-50-opsstack-agent-test-server.yaml
File metadata and controls
38 lines (35 loc) · 1.54 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
38
name: prod-stackit-terraform-50-opsstack-agent-test-server
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/50_projects/opsstack-agent-test-server/**
- .github/workflows/prod-stackit-terraform-50-opsstack-agent-test-server.yaml
permissions:
contents: read
id-token: write
jobs:
terraform:
name: Terraform
uses: cloudeteer/iac-deployment-framework/.github/workflows/terraform-deploy-stackit.yaml@wip/stackit
with:
directory: prod-stackit/terraform/50_projects/opsstack-agent-test-server
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_agent_login: ${{ secrets.CDT_OPSSTACK_DEV_AGENT_LOGIN }}
TF_VAR_deepview_url: ${{ vars.CDT_OPSSTACK_DEV_DEEPVIEW_URL }}