Add terraform

This commit is contained in:
2025-01-04 17:55:41 +09:00
parent 4b4d90bada
commit c1597aab10
10 changed files with 268 additions and 0 deletions

5
terraform/locals.tf Normal file
View File

@@ -0,0 +1,5 @@
locals {
name = replace(var.REPOSITORY_NAME, ".", "-")
account_id = data.dotenv.this.entries.CLOUDFLARE_ACCOUNT_ID
web_domain = "www.${var.BASE_DOMAIN}"
}