-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
56 lines (56 loc) · 1.63 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: "Terraform New Relic Operations Monitoring"
description: "NewRelic Custom Event to monitor Terraform operations"
author: "Marc Richard"
inputs:
new_relic_licence_key:
description: "New Relic licence KEY"
required: true
event_type_name:
description: "New Relic CustomEvent Name"
required: false
default: "DeployEvent"
env:
description: "Staging"
required: true
default: "prod"
terraform_init_status:
description: "Terraform init status"
required: true
terraform_apply_status:
description: "Input apply status"
required: true
terraform_output_plan_file_path:
description: "Terraform output file path"
required: false
terraform_tag_key:
description: "Terraform tag used to precise deployed components"
default: "subdomain"
required: false
terraform_operation_list_PATH:
description: "output of terraform show -json tfplan.out | jq '.resource_changes[].change.actions'"
default: ""
required: true
terraform_tag_value:
description: "Terraform value used to precise deployed components"
required: false
github_repository:
description: "{{ github.repository}}"
required: true
github_run_id:
description: "{{ github.run_id }}"
required: true
outputs:
terraform_update:
description: "Output terraform update resources"
terraform_create:
description: "Output terraform create resources"
terraform_delete:
description: "Output terraform delete resources"
terraform_noop:
description: "Output terraform no operation resources"
runs:
using: "docker"
image: "Dockerfile"
branding:
icon: 'activity'
color: 'purple'