style: format opentofu code
This commit is contained in:
+10
-10
@@ -48,11 +48,11 @@ module "master" {
|
|||||||
source = "./modules/incus_vm"
|
source = "./modules/incus_vm"
|
||||||
count = local.master_count
|
count = local.master_count
|
||||||
|
|
||||||
name = "master-${count.index}"
|
name = "master-${count.index}"
|
||||||
project = incus_project.this.name
|
project = incus_project.this.name
|
||||||
image = incus_image.this.fingerprint
|
image = incus_image.this.fingerprint
|
||||||
cpu = 2
|
cpu = 2
|
||||||
memory = "2GiB"
|
memory = "2GiB"
|
||||||
|
|
||||||
network = incus_network.this.name
|
network = incus_network.this.name
|
||||||
ipv4_address = cidrhost(local.network_cidr, 2 + (2 * count.index))
|
ipv4_address = cidrhost(local.network_cidr, 2 + (2 * count.index))
|
||||||
@@ -62,11 +62,11 @@ module "worker" {
|
|||||||
source = "./modules/incus_vm"
|
source = "./modules/incus_vm"
|
||||||
count = local.worker_count
|
count = local.worker_count
|
||||||
|
|
||||||
name = "worker-${count.index}"
|
name = "worker-${count.index}"
|
||||||
project = incus_project.this.name
|
project = incus_project.this.name
|
||||||
image = incus_image.this.fingerprint
|
image = incus_image.this.fingerprint
|
||||||
cpu = 2
|
cpu = 2
|
||||||
memory = "2GiB"
|
memory = "2GiB"
|
||||||
|
|
||||||
network = incus_network.this.name
|
network = incus_network.this.name
|
||||||
ipv4_address = cidrhost(local.network_cidr, 3 + (2 * count.index))
|
ipv4_address = cidrhost(local.network_cidr, 3 + (2 * count.index))
|
||||||
|
|||||||
Reference in New Issue
Block a user