-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
26 lines (26 loc) · 900 Bytes
/
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
name: "Terraform Cloud Workspace Auto Update"
description: "Automates the terraform version update of your Terraform cloud workspace"
author: "chroju <[email protected]>"
branding:
icon: "chevrons-up"
color: "purple"
inputs:
working_dir:
description: "Terraform working directory"
default: "./"
auto_update:
description: "Whether automatically update Terraform Cloud workspace to the latest version compatible with required version"
default: false
comment_pr:
description: "Whether or not to post a comment on GitHub pull requests"
default: false
specific_version:
description: "The specific terraform version update to"
outputs:
is_available_update:
description: "Wherther or not available update ('true' or 'false')"
output:
description: "result message (empty if new version is not released)"
runs:
using: "docker"
image: "./Dockerfile"