-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
29 lines (29 loc) · 1.03 KB
/
action.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: GitHub Action coping Terraform variables across modules
author: Krzysztof Szyper / ChristophShyper / biotyk@mail.com
description: GitHub Action automatically copying variables' definitions from a single file to many modules
inputs:
dirs_with_modules:
description: Comma separated list of directory prefixes with modules
required: false
default: terraform
files_with_vars:
description: Comma separated list of files containing variables in directories matching dirs_with_modules
required: false
default: variables.tf
all_vars_file:
description: Name of a file containing base definitions of all variables
required: false
default: all-variables.tf
fail_on_missing:
description: Whether action should fail if all_vars_file is missing some definitions from modules
required: false
default: "false"
outputs:
files_changed:
description: List of updated files
runs:
using: docker
image: docker://devopsinfra/action-terraform-copy-vars:v0.2
branding:
color: purple
icon: upload-cloud