diff --git a/cloudflare/unicornops/zones/familychat-dev/terragrunt.hcl b/cloudflare/unicornops/zones/familychat-dev/terragrunt.hcl new file mode 100644 index 0000000..ee0c151 --- /dev/null +++ b/cloudflare/unicornops/zones/familychat-dev/terragrunt.hcl @@ -0,0 +1,77 @@ +# familychat.dev — dedicated zone for family-chat ephemeral staging. +# +# Deliberately a separate registrable domain (Cloudflare subdomain zones are +# Enterprise-only): the staging CI token is scoped to this zone and cannot +# touch the production safechat.family zone. See family-chat's +# docs/staging-environment.md for the environment this serves. +# +# After first apply: point the registrar's nameservers at the name_servers +# output, then copy zone_id into the family-chat repo's `staging` GitHub +# environment as CLOUDFLARE_ZONE_ID. + +include "root" { + path = find_in_parent_folders("root.hcl") +} + +# The zone is defined inline via the generate blocks below; the self-referencing +# source is required for terragrunt run-all to discover this module. +terraform { + source = "." +} + +generate "provider" { + path = "provider.tf" + if_exists = "overwrite_terragrunt" + contents = <