upgrade to dmacvicar/libvirt 0.8.3

This commit is contained in:
Rui Lopes
2025-05-01 19:16:04 +00:00
parent f02a4de588
commit b47b0559e0
3 changed files with 24 additions and 24 deletions

34
.terraform.lock.hcl generated
View File

@@ -2,24 +2,24 @@
# Manual edits may be lost in future updates.
provider "registry.terraform.io/dmacvicar/libvirt" {
version = "0.8.1"
constraints = "0.8.1"
version = "0.8.3"
constraints = "0.8.3"
hashes = [
"h1:IKy4tvKIxwGjzvLwVp/gfm9Ce8Iegqx0u3tuPXlwYLM=",
"zh:126b9c265f5c2c4faf9b6ea6abfd3f86639d6301ba99d11cb87caae65e91eca4",
"zh:282527a99f75468fe20a59e207ccc71f5de545548f1b0c6a4d235cc3664ff095",
"zh:3b44aba6825ef5c909607ac5ec7e2f286de4e8ecc36cc00e3a0780bba372f248",
"zh:41dfed618ef200061d2b7c991fbda7dd8c9c3a919d5952a4ce26315fa2f698e0",
"zh:43e628f793bef68892eefbd9afc571d2314df225c7dd78485a75fbc9e2869442",
"zh:478bb7bd04df95b8d71a33c1bc0d0f8b5ff2fc807c118ca3129ba6b3507fdb70",
"zh:65a5b3c1497e1b12b6d6b9feab2174fc58e861c164c08cdecf2bca10e4612fd4",
"zh:6f07753897cc9e3e9031597548e8716e39bfe7b348d7f271f67a477e1f5c9c22",
"zh:72282261a35e81895d002d6ec2b799404183803f55f5a4ecdb85ab2925196f5d",
"zh:7a7853515f4b9a30f76c10f3c38df4d7562b6b55332a9c07477364a49d2b462f",
"zh:a14dbc814c8aa5ba26b7a4195c28c4822f5024767a10f643de3822b0e32f7be1",
"zh:baa396ad19bb486ac356a89ec759b9355c4fb0a94fd67e49980a2e57fc243960",
"zh:ec626cc9e0e30321313c0ce80aea0dcca9f468da0530ee66beb217526fe8f8ea",
"zh:f4ee4844f3b8ef3d2c13fea620cc816f725daccb596cea0a2f6b18301b9f1d1a",
"h1:Tttxr3E9O75MM+dDmq5sYHQEw29PwtIj+XDj/5drdfE=",
"zh:06ff0169beafd1891dc5a30616983abd32004a4f570d1d3dbb5851d84bd1c007",
"zh:2dbdd726d0987cda73b56ecdfbcb98a67485e86a7a44aec976c0081b7239d89d",
"zh:2e195a7bbdfcc13c45460571a5ba848a5c1e746b477c8381058767560f0ac93b",
"zh:3952da13080018c5aec498b73e343c4c22ad884afb8c983138fb7255617aa991",
"zh:478841bcf57df938726ddb90f55c7953fad09db4f6348747519afe7fc84b403b",
"zh:53bce78b03a82c4782acfe1f32c2b46a68fa5fb2fb90d4a5392c90b436b44244",
"zh:5c157f23e9768c67cddf9e847a571adca441607cb5adfb96dbfdd626ceadf92c",
"zh:6bc78d631959fb695664966851308e140c38f3f5cf648dd89756320c2d91765d",
"zh:8605d7d6915190836802654920a8eea3d751ae437273c4f4476dc0ebb9167a1d",
"zh:8b66a22b97331c2a56aed092fd39152d06ad957fd4810aa3f0c4ade0f9b15755",
"zh:92586a47a04082f70bb33f722672127a287caeed109beaaca2668e2e1d6a9caf",
"zh:99a9ee414f5c4268e287660ce8edec2efcba1f79351f83791b64c7e5ab04f569",
"zh:b7cff09fe74b0eb63b5b9aa94de5b33dadbd006d6d5b9578ac476039ea20b062",
"zh:d4188a343ff32c0e03ff28c7e84abce0f43cad2fdbcd9046eaafc247429039ff",
]
}

View File

@@ -1,4 +1,4 @@
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.1/website/docs/r/network.markdown
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.3/website/docs/r/network.markdown
resource "libvirt_network" "talos" {
name = var.prefix
mode = "nat"
@@ -13,7 +13,7 @@ resource "libvirt_network" "talos" {
}
}
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.1/website/docs/r/volume.html.markdown
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.3/website/docs/r/volume.html.markdown
resource "libvirt_volume" "controller" {
count = var.controller_count
name = "${var.prefix}_c${count.index}.img"
@@ -22,7 +22,7 @@ resource "libvirt_volume" "controller" {
size = 40 * 1024 * 1024 * 1024 # 40GiB.
}
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.1/website/docs/r/volume.html.markdown
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.3/website/docs/r/volume.html.markdown
resource "libvirt_volume" "worker" {
count = var.worker_count
name = "${var.prefix}_w${count.index}.img"
@@ -31,7 +31,7 @@ resource "libvirt_volume" "worker" {
size = 40 * 1024 * 1024 * 1024 # 40GiB.
}
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.1/website/docs/r/volume.html.markdown
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.3/website/docs/r/volume.html.markdown
resource "libvirt_volume" "worker_data0" {
count = var.worker_count
name = "${var.prefix}_w${count.index}d0.img"
@@ -39,7 +39,7 @@ resource "libvirt_volume" "worker_data0" {
size = 32 * 1024 * 1024 * 1024 # 32GiB.
}
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.1/website/docs/r/domain.html.markdown
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.3/website/docs/r/domain.html.markdown
resource "libvirt_domain" "controller" {
count = var.controller_count
name = "${var.prefix}_${local.controller_nodes[count.index].name}"
@@ -72,7 +72,7 @@ resource "libvirt_domain" "controller" {
}
}
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.1/website/docs/r/domain.html.markdown
# see https://github.com/dmacvicar/terraform-provider-libvirt/blob/v0.8.3/website/docs/r/domain.html.markdown
resource "libvirt_domain" "worker" {
count = var.worker_count
name = "${var.prefix}_${local.worker_nodes[count.index].name}"

View File

@@ -12,7 +12,7 @@ terraform {
# see https://github.com/dmacvicar/terraform-provider-libvirt
libvirt = {
source = "dmacvicar/libvirt"
version = "0.8.1"
version = "0.8.3"
}
# see https://registry.terraform.io/providers/siderolabs/talos
# see https://github.com/siderolabs/terraform-provider-talos