ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

commit c87c29d049b24234b1ac8abb90ed616a34407845
parent ec26ed5134835acbef3706ec26f72852550b90f7
Author: Dionysis Grigoropoulos <dgrig@erethon.com>
Date:   Wed, 26 Aug 2020 00:53:34 +0300

prod: Remove obsolete hosts

Diffstat:
terraform/infrastructure/prod/main.tf | 50--------------------------------------------------
1 file changed, 0 insertions(+), 50 deletions(-)

diff --git a/terraform/infrastructure/prod/main.tf b/terraform/infrastructure/prod/main.tf @@ -31,31 +31,6 @@ resource "libvirt_volume" "debian_matrix_disk" { size = 21474836480 } -resource "libvirt_domain" "debian_prometheus_domain" { - name = "debian_prometheus" - memory = "1024" - vcpu = 2 - autostart = "true" - - boot_device { - dev = ["hd"] - } - - disk { - volume_id = "${libvirt_volume.debian_prometheus_disk.id}" - } - - network_interface { - network_id = "${libvirt_network.production_network.id}" - addresses = [cidrhost("${var.libvirt_cidr}", 3)] - } - - graphics { - type = "spice" - listen_type = "none" - } -} - resource "libvirt_domain" "debian_container_domain" { name = "debian_container" memory = "1024" @@ -80,28 +55,3 @@ resource "libvirt_domain" "debian_container_domain" { listen_type = "none" } } - -resource "libvirt_domain" "debian_matrix_domain" { - name = "debian_matrix" - memory = "2048" - vcpu = 2 - autostart = "true" - - boot_device { - dev = ["hd"] - } - - disk { - volume_id = "${libvirt_volume.debian_matrix_disk.id}" - } - - network_interface { - network_id = "${libvirt_network.production_network.id}" - addresses = [cidrhost("${var.libvirt_cidr}", 5)] - } - - graphics { - type = "spice" - listen_type = "none" - } -}