-
Notifications
You must be signed in to change notification settings - Fork 0
/
linode_import.tf
74 lines (64 loc) · 1.66 KB
/
linode_import.tf
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
terraform {
required_providers {
linode = {
source = "linode/linode"
}
}
required_version = ">= 0.13"
}
variable token {
type = string
sensitive = true
}
provider "linode" {
token = var.token
}
resource "linode_instance" "primary_instance" {
region = "ap-west"
type = "g6-nanode-1"
config {
kernel = "linode/grub2"
label = "Restore 257841 - My Ubuntu 20.10 Disk Profile"
memory_limit = 0
root_device = "/dev/sda"
run_level = "default"
virt_mode = "paravirt"
devices {
sda {
disk_id = 63023983
disk_label = "Restore 257841 - Ubuntu 20.10 Disk"
volume_id = 0
}
sdb {
disk_id = 63023984
disk_label = "Restore 257841 - 512 MB Swap Image"
volume_id = 0
}
}
helpers {
devtmpfs_automount = true
distro = true
modules_dep = true
network = true
updatedb_disabled = true
}
}
disk {
authorized_keys = []
authorized_users = []
filesystem = "ext4"
label = "Restore 257841 - Ubuntu 20.10 Disk"
read_only = false
size = 25088
stackscript_id = 0
}
disk {
authorized_keys = []
authorized_users = []
filesystem = "swap"
label = "Restore 257841 - 512 MB Swap Image"
read_only = false
size = 512
stackscript_id = 0
}
}