Skip to main content
A sandbox is configured in a sandbox.toml file in the root of your app directory. It points to a Terraform module (public or private repo) and passes variables to configure the infrastructure.

Basic Configuration

sandbox.toml
sandbox.tfvars
You can use either a public repo (public_repo block) or a private GitHub repo (connected_repo block). Read more about VCS configuration here.

Using Default Values

Add a vars block to sandbox.toml or use the sandbox.tfvars file for default values shared across all installs:
sandbox.toml

Using Inputs

Define an input in inputs.toml and reference it in sandbox.toml:
inputs.toml
sandbox.toml

Sandbox Outputs

Sandbox outputs are accessible to all components through variables:
components/app.toml
Common outputs include:
  • account.id - The AWS Account ID
  • account.region - The AWS Region
  • vpc.id - The VPC ID
  • cluster.cluster_name - The EKS Cluster name
  • cluster.cluster_endpoint - The EKS Cluster endpoint
  • ecr.repository_url - The ECR repository URL
  • nuon_dns.public_domain - The public root domain
  • nuon_dns.internal_domain - The internal root domain
  • namespaces - Namespaces created in the cluster
See the outputs.tf for the full list.

Custom Sandboxes

You can fork a managed sandbox or create your own. Point your sandbox.toml to your repo:
sandbox.toml
If you are considering a custom sandbox, we would love to hear about your use case. Please contact us.