fix: update Terraform for extract.duckdb architecture
- Create /data/extracts instead of /data/src_data/parquet - Add admin_email variable for SEED_ADMIN_EMAIL
This commit is contained in:
parent
e1e2d6d903
commit
04c5aecc58
2 changed files with 8 additions and 1 deletions
|
|
@ -86,6 +86,7 @@ locals {
|
||||||
KEBOOLA_STORAGE_TOKEN=${var.keboola_token}
|
KEBOOLA_STORAGE_TOKEN=${var.keboola_token}
|
||||||
KEBOOLA_STACK_URL=${var.keboola_stack_url}
|
KEBOOLA_STACK_URL=${var.keboola_stack_url}
|
||||||
KEBOOLA_PROJECT_ID=${var.keboola_project_id}
|
KEBOOLA_PROJECT_ID=${var.keboola_project_id}
|
||||||
|
SEED_ADMIN_EMAIL=${var.admin_email}
|
||||||
LOG_LEVEL=info
|
LOG_LEVEL=info
|
||||||
ENVEOF
|
ENVEOF
|
||||||
# Strip leading whitespace from heredoc
|
# Strip leading whitespace from heredoc
|
||||||
|
|
@ -93,7 +94,7 @@ locals {
|
||||||
chmod 600 "$APP_DIR/.env"
|
chmod 600 "$APP_DIR/.env"
|
||||||
|
|
||||||
echo "=== Creating data directory ==="
|
echo "=== Creating data directory ==="
|
||||||
mkdir -p /data/state /data/analytics /data/src_data/parquet
|
mkdir -p /data/state /data/analytics /data/extracts
|
||||||
chown -R 1000:1000 /data
|
chown -R 1000:1000 /data
|
||||||
|
|
||||||
echo "=== Starting Docker Compose ==="
|
echo "=== Starting Docker Compose ==="
|
||||||
|
|
|
||||||
|
|
@ -66,6 +66,12 @@ variable "keboola_project_id" {
|
||||||
default = ""
|
default = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "admin_email" {
|
||||||
|
description = "Admin email for initial seed (e.g., admin@company.com)"
|
||||||
|
type = string
|
||||||
|
default = ""
|
||||||
|
}
|
||||||
|
|
||||||
variable "domain" {
|
variable "domain" {
|
||||||
description = "Domain name for SSL (optional, empty = IP only)"
|
description = "Domain name for SSL (optional, empty = IP only)"
|
||||||
type = string
|
type = string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue