Skip to content

Commit

Permalink
refactor: change core dns, update renterd
Browse files Browse the repository at this point in the history
  • Loading branch information
pcfreak30 committed Dec 17, 2024
1 parent 5fa7108 commit 6452cda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 7 additions & 0 deletions layers/core/locals.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
locals {
placement_attributes = {
"lumeweb" = true
}

node_domain = format("node.%s", var.base_domain)
}
8 changes: 1 addition & 7 deletions layers/core/main.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
locals {
placement_attributes = {
"lumeweb" = true
}
}

module "etcd" {
source = "git::https://github.com/LumeWeb/terraform-modules.git//modules/coordination/etcd?ref=develop"

Expand Down Expand Up @@ -77,7 +71,7 @@ module "renterd" {
metrics_password = var.metrics_password

dns = {
base_domain = var.base_domain
base_domain = local.node_domain
}

network = {
Expand Down

0 comments on commit 6452cda

Please sign in to comment.