From 098b58c7814e5eeba28943e94eee5036a31d676f Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Sun, 18 Feb 2024 18:30:00 +0100 Subject: [PATCH] Move system configs to own subdirectory --- main.tf | 2 +- {domain => system/domain}/main.tf | 2 +- {domain => system/domain}/variables.tf | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {domain => system/domain}/main.tf (95%) rename {domain => system/domain}/variables.tf (100%) diff --git a/main.tf b/main.tf index cef2615..093d997 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