-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathcd.yaml
More file actions
33 lines (32 loc) · 878 Bytes
/
cd.yaml
File metadata and controls
33 lines (32 loc) · 878 Bytes
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
---
name: 02 Azure Landing Zones Continuous Delivery
on:
push:
branches:
- main
workflow_dispatch:
inputs:
terraform_action:
description: 'Terraform Action to perform'
required: true
default: 'apply'
type: choice
options:
- 'apply'
- 'destroy'
terraform_cli_version:
description: 'Terraform CLI Version'
required: true
default: '1.14.9'
type: string
jobs:
plan_and_apply:
uses: ${project_or_organization_name}/${repository_name_templates}/${cd_template_path}@main
name: 'CD'
permissions:
id-token: write
contents: read
with:
terraform_action: $${{ inputs.terraform_action }}
root_module_folder_relative_path: '${root_module_folder_relative_path}'
terraform_cli_version: $${{ inputs.terraform_cli_version }}