- Terraform environments (production, staging) with R2 backend - Terraform modules: cloudflare-pages, cloudflare-worker, railway-service, digitalocean-droplet - Docker: multi-stage Dockerfiles for core, web, agents, operator + compose - CI templates: node-ci, terraform-ci, docker-ci reusable workflows - Composite actions: brand-compliance, deploy-cloudflare - Operational scripts: bootstrap, health-check, rotate-keys - GitHub Actions: terraform-plan, terraform-apply, docker-build Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
620 B
HCL
29 lines
620 B
HCL
# Copyright (c) 2025-2026 BlackRoad OS, Inc. All Rights Reserved.
|
|
variable "account_id" {
|
|
description = "Cloudflare account ID"
|
|
type = string
|
|
}
|
|
|
|
variable "project_name" {
|
|
description = "Pages project name"
|
|
type = string
|
|
}
|
|
|
|
variable "build_command" {
|
|
description = "Build command"
|
|
type = string
|
|
default = "npm run build"
|
|
}
|
|
|
|
variable "destination_dir" {
|
|
description = "Build output directory"
|
|
type = string
|
|
default = "dist"
|
|
}
|
|
|
|
variable "environment_variables" {
|
|
description = "Environment variables for production"
|
|
type = map(string)
|
|
default = {}
|
|
}
|