-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathscvmm-ubuntu-20.scribe
More file actions
53 lines (50 loc) · 1.74 KB
/
Copy pathscvmm-ubuntu-20.scribe
File metadata and controls
53 lines (50 loc) · 1.74 KB
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
resource "workload-type" "ubuntu-scvmm-20_04" {
code = "ubuntu-scvmm-20.04"
shortName = "ubuntu"
name = "Ubuntu 20.04"
containerVersion = "20.04"
repositoryImage = null
entryPoint = null
serverType = "vm"
statTypeCode = "vm"
logTypeCode = "ubuntu"
showServerLogs = true
checkTypeCode = "containerCheck"
mountPoint = "/morpheus"
virtualImage = virtual-image.scvmm-image-morpheus-ubuntu-20_04
containerPorts = ["ubuntu.22"]
actions = ["ubuntu-remove-node"]
provisionType = "scvmm"
backupType = "scvmmSnapshot"
}
resource "workload-type-set" "ubuntu-scvmm-20_04-set" {
code = "ubuntu-scvmm-20.04-set"
workloadType = workload-type.ubuntu-scvmm-20_04
priorityOrder = 0
dynamicCount = true
containerCount = 1
}
resource "instance-type-layout" "ubuntu-scvmm-20_04" {
code = "ubuntu-scvmm-20.04"
name = "SCVMM VM"
sortOrder = 20
serverType = "vm"
supportsConvertToManaged = true
instanceVersion = "20.04"
description = "This will provision a single process with no redundancy"
instanceType = "ubuntu"
serverCount = 1
portCount = 1
enabled = true
creatable = true
workloads = [workload-type-set.ubuntu-scvmm-20_04-set]
actions = ["ubuntu-add-node"]
provisionType = "scvmm"
}
resource "scale-action" "ubuntu-scvmm-20_04" {
code = "ubuntu-scvmm-20.04"
scaleType = "action"
layout = instance-type-layout.ubuntu-scvmm-20_04
upAction = "ubuntu-add-node"
downAction = "ubuntu-remove-node"
}