Skip to content

Commit

Permalink
libvirt: Add Terraform variables for bootstrap node memory/CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
sjug committed May 17, 2019
1 parent 479ca0f commit f82c0ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions data/data/libvirt/bootstrap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ resource "libvirt_ignition" "bootstrap" {
resource "libvirt_domain" "bootstrap" {
name = "${var.cluster_id}-bootstrap"

memory = "2048"
memory = "${var.libvirt_bootstrap_memory}"

vcpu = "2"
vcpu = "${var.libvirt_bootstrap_vcpu}"

coreos_ignition = libvirt_ignition.bootstrap.id

Expand Down
1 change: 0 additions & 1 deletion data/data/libvirt/bootstrap/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ variable "network_id" {
type = string
description = "The ID of a network resource containing the bootstrap node's addresses."
}

0 comments on commit f82c0ca

Please sign in to comment.