File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 12
12
| ------| ---------|
13
13
| <a name =" provider_libvirt " ></a > [ libvirt] ( #provider\_ libvirt ) | 0.7.6 |
14
14
| <a name =" provider_sops " ></a > [ sops] ( #provider\_ sops ) | n/a |
15
+ | <a name =" provider_ssh " ></a > [ ssh] ( #provider\_ ssh ) | n/a |
15
16
16
17
## Modules
17
18
@@ -21,8 +22,11 @@ No modules.
21
22
22
23
| Name | Type |
23
24
| ------| ------|
25
+ | [ libvirt_domain.runner] ( https://registry.terraform.io/providers/dmacvicar/libvirt/0.7.6/docs/resources/domain ) | resource |
24
26
| [ libvirt_domain.template-server] ( https://registry.terraform.io/providers/dmacvicar/libvirt/0.7.6/docs/resources/domain ) | resource |
27
+ | [ libvirt_volume.runner] ( https://registry.terraform.io/providers/dmacvicar/libvirt/0.7.6/docs/resources/volume ) | resource |
25
28
| [ libvirt_volume.template-server] ( https://registry.terraform.io/providers/dmacvicar/libvirt/0.7.6/docs/resources/volume ) | resource |
29
+ | [ ssh_resource.runner] ( https://registry.terraform.io/providers/loafoe/ssh/latest/docs/resources/resource ) | resource |
26
30
| [ sops_file.secret_vars] ( https://registry.terraform.io/providers/carlpett/sops/latest/docs/data-sources/file ) | data source |
27
31
28
32
## Inputs
Original file line number Diff line number Diff line change 1
- /* resource "libvirt_volume" "runner" {
1
+ resource "libvirt_volume" "runner" {
2
2
name = " runner.qcow2"
3
3
base_volume_id = libvirt_volume. template-server . id
4
4
}
@@ -29,6 +29,7 @@ resource "libvirt_domain" "runner" {
29
29
boot_device {
30
30
dev = [" cdrom" , " hd" ]
31
31
}
32
+ type = " kvm"
32
33
depends_on = [libvirt_volume . runner ]
33
34
}
34
35
@@ -54,7 +55,6 @@ resource "ssh_resource" "runner" {
54
55
" sudo nmcli con mod ens4 ipv4.addresses ${ data . sops_file . secret_vars . data [" runner_ip_addr" ]} " ,
55
56
" sudo reboot"
56
57
]
57
- type = "kvm"
58
58
depends_on = [libvirt_domain . runner ]
59
- }*/
59
+ }
60
60
You can’t perform that action at this time.
0 commit comments