-
Notifications
You must be signed in to change notification settings - Fork 29
/
settings.yaml.template
114 lines (110 loc) · 3.94 KB
/
settings.yaml.template
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
---
# Compute Resources and there credentials to connect to them for cleanup
GCE:
AUTH:
PROJECT_ID:
# Multiline json contents from Service Account key
SERVICE_ACCOUNT: >
{}
CRITERIA:
VM:
# The VM to be deleted with prepend string, e.g VM name that starts with 'test'
DELETE_VM: 'test'
# Number of minutes the deletable VM should be allowed to live, e.g 120 minutes = 2 Hours
SLA_MINUTES: 120
DISC:
UNASSIGNED: True
NIC:
UNASSIGNED: True
EXCEPTIONS:
VM:
# VM names that would be skipped from cleanup
VM_LIST: []
# VMs that would be stopped from current running state
STOP_LIST: []
AZURE:
AUTH:
CLIENT_ID:
SECRET_ID:
TENANT_ID:
SUBSCRIPTION_ID:
# Multiple resource groups can be added like ["foo"], ["foo", "bar"] or ["all"] for all RGs
RESOURCE_GROUPS: []
# Multiple regions can be added like ["eastus2"] or ["northeurope", "eastus2", "westus"] or ["all"] for all regions
REGIONS: []
CRITERIA:
VM:
# The VM to be deleted with prepend string, e.g VM name that starts with 'test'
DELETE_VM: 'test'
# Number of minutes the deletable VM should be allowed to live, e.g 120 minutes = 2 Hours
SLA_MINUTES: 120
DISC:
UNASSIGNED: True
NIC:
UNASSIGNED: True
IMAGE:
# Image name starts with
DELETE_IMAGE:
UNASSIGNED: True
PUBLIC_IP:
UNASSIGNED: True
RESOURCE_GROUP:
# Select AND to match all criteria or OR to match any one of them
LOGIC: AND
# Group to be deleted with prepend string, e.g. resource group name that starts with 'test'
DELETE_GROUP:
# Delete Resource Group if all resources in resource group crossing SLA minutes
RESOURCES_SLA_MINUTES: 120
EXCEPTIONS:
VM:
# VM names that would be skipped from cleanup
VM_LIST: []
# VMs that would be stopped from current running state
STOP_LIST: []
GROUP:
# Resource groups that would be skipped from cleanup
RG_LIST: []
IMAGES: []
AWS:
AUTH:
ACCESS_KEY:
SECRET_KEY:
# Multiple regions can be added like ["ap-south-1", "us-west-2", "us-west-1"] or ["all"] for all regions
REGIONS: [] # Cleanup regions
CRITERIA:
VM:
# The VM to be deleted with prepend string, e.g VM name that starts with 'test'
DELETE_VM: 'test'
# Number of minutes the deletable VM should be allowed to live, e.g 120 minutes = 2 Hours
SLA_MINUTES: 120
DISC:
UNASSIGNED: True
NIC:
UNASSIGNED: True
# Image name starts with
IMAGE:
# Image name starts with
DELETE_IMAGE:
UNASSIGNED: True
PUBLIC_IP:
UNASSIGNED: True
STACKS:
# The CloudFormation to be deleted with prepend string, e.g stack name that starts with 'test'
DELETE_STACK: 'test'
# Number of minutes the deletable CloudFormation should be allowed to live, e.g 120 minutes = 2 Hours
SLA_MINUTES: 120
OCPS:
OCP_CLIENT_REGION: "us-east-1"
# Specified as {time_value}{time_unit} format, e.g. "7d" = 7 Days
# If a time unit is not specified (the value is numeric), it will be considered as Minutes
SLA: 7d
EXCEPTIONS:
VM:
# VM names that would be skipped from cleanup
VM_LIST: []
# VMs that would be stopped from current running state
STOP_LIST: []
STACKS:
# CloudFormations names that would be skipped from cleanup
STACK_LIST: []
IMAGES: []