update connection string
This commit is contained in:
parent
2c87d22fa2
commit
d13fb8ee95
1 changed files with 2 additions and 1 deletions
3
main.tf
3
main.tf
|
@ -1,6 +1,7 @@
|
||||||
terraform {
|
terraform {
|
||||||
backend "pg" {
|
backend "pg" {
|
||||||
schema_name = "dmz_dns"
|
schema_name = "dmz_dns"
|
||||||
|
conn_str = "postgres://terraform@10.42.0.1/terraform_state"
|
||||||
}
|
}
|
||||||
|
|
||||||
required_providers {
|
required_providers {
|
||||||
|
@ -14,7 +15,7 @@ terraform {
|
||||||
}
|
}
|
||||||
|
|
||||||
provider "libvirt" {
|
provider "libvirt" {
|
||||||
uri = var.libvirt_endpoint
|
uri = "qemu+ssh://root@atlas.lan/system"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "libvirt_volume" "main_disk" {
|
resource "libvirt_volume" "main_disk" {
|
||||||
|
|
Reference in a new issue