diff --git a/main.tf b/main.tf index cef2615..fe57891 100644 --- a/main.tf +++ b/main.tf @@ -23,7 +23,7 @@ provider "gitlab" { } module "domain" { - source = "./domain" + source = "./system/domain" cloudflare_account_id = var.cloudflare_account_id cloudflare_api_token = var.cloudflare_api_token } diff --git a/domain/main.tf b/system/domain/main.tf similarity index 95% rename from domain/main.tf rename to system/domain/main.tf index 8a69874..b282d67 100644 --- a/domain/main.tf +++ b/system/domain/main.tf @@ -25,7 +25,7 @@ resource "cloudflare_zone_settings_override" "main" { } module "docs_pages" { - source = "../modules/gitlab/pages_domain" + source = "../../modules/gitlab/pages_domain" cloudflare_domain_name = "docs" cloudflare_zone_id = data.cloudflare_zone.main_domain.id diff --git a/domain/variables.tf b/system/domain/variables.tf similarity index 100% rename from domain/variables.tf rename to system/domain/variables.tf