From 7d709da67b3c4a41b14dac3f8857861b8deb83f5 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Thu, 6 Apr 2023 22:06:53 +0200 Subject: [PATCH] merge connection details --- bootstrap/main.tf | 3 ++- bootstrap/variables.tf | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 bootstrap/variables.tf diff --git a/bootstrap/main.tf b/bootstrap/main.tf index 3eaf12b..25ac37a 100644 --- a/bootstrap/main.tf +++ b/bootstrap/main.tf @@ -1,6 +1,7 @@ terraform { backend "pg" { schema_name = "bootstrap" + conn_str = "postgres://terraform@10.42.0.1/terraform_state" } required_providers { @@ -11,7 +12,7 @@ terraform { } provider "libvirt" { - uri = var.libvirt_endpoint + uri = "qemu+ssh://root@atlas.lan/system" } resource "libvirt_pool" "iso" { diff --git a/bootstrap/variables.tf b/bootstrap/variables.tf deleted file mode 100644 index c08f446..0000000 --- a/bootstrap/variables.tf +++ /dev/null @@ -1,4 +0,0 @@ -variable "libvirt_endpoint" { - type = string - default = "qemu+ssh://root@atlas.lan/system" -}