From 6ffe7d06adae0898ffcea131b9549c9c194dd884 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Wed, 24 Mar 2021 15:00:33 +0100 Subject: [PATCH] reindent --- lb.tf | 20 ++++++++++---------- storage.tf | 10 +++++----- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/lb.tf b/lb.tf index 4cc94b7..1c5671d 100644 --- a/lb.tf +++ b/lb.tf @@ -34,11 +34,11 @@ resource "libvirt_volume" "lb_disk" { } resource "libvirt_domain" "lb" { - name = local.lb_name - vcpu = var.lb_vcpu - memory = var.lb_memory_size - cloudinit = libvirt_cloudinit_disk.lb_cloudinit.id - autostart = false + name = local.lb_name + vcpu = var.lb_vcpu + memory = var.lb_memory_size + cloudinit = libvirt_cloudinit_disk.lb_cloudinit.id + autostart = false qemu_agent = true cpu = { @@ -56,9 +56,9 @@ resource "libvirt_domain" "lb" { } network_interface { - network_id = libvirt_network.ocp_net.id - addresses = [cidrhost(var.network_ip_range, 4)] - hostname = "lb" + network_id = libvirt_network.ocp_net.id + addresses = [cidrhost(var.network_ip_range, 4)] + hostname = "lb" # When creating the domain resource, wait until the network interface gets # a DHCP lease from libvirt, so that the computed IP addresses will be @@ -67,8 +67,8 @@ resource "libvirt_domain" "lb" { } network_interface { - bridge = var.external_ifname - mac = var.external_mac_address + bridge = var.external_ifname + mac = var.external_mac_address # When creating the domain resource, wait until the network interface gets # a DHCP lease from libvirt, so that the computed IP addresses will be diff --git a/storage.tf b/storage.tf index 9581fe2..2c49d4f 100644 --- a/storage.tf +++ b/storage.tf @@ -28,11 +28,11 @@ resource "libvirt_volume" "storage_data_disk" { } resource "libvirt_domain" "storage" { - name = local.storage_name - vcpu = var.storage_vcpu - memory = var.storage_memory_size - cloudinit = libvirt_cloudinit_disk.storage_cloudinit.id - autostart = false + name = local.storage_name + vcpu = var.storage_vcpu + memory = var.storage_memory_size + cloudinit = libvirt_cloudinit_disk.storage_cloudinit.id + autostart = false qemu_agent = true cpu = {