Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

grid-config

Example desired-state layout for Grid Platform.

This repository shows how Grid JSON is shaped and organized (projects, clouds, environments, units). Use it to learn and copy patterns.

Do not fork this for production.
Create a new GitHub repository under your org or account, add your own JSON, and point Grid at that repository (GRID_GITOPS_REPO_URL). Own the settings; treat this tree as a reference.

Docs: Concepts · Install

What this is for

Use Don’t use for
Learning the JSON layout Your company’s real environments
Trying demos with REPLACE_* filled in Long-term GitOps source of truth
Opening PRs that improve examples Fork-and-forget “my infra”

Layout

projects/
  <project-slug>/
    <cloud>/                      # aws | gcp | …
      <environment>/              # development | staging | production
        <infra-type>/             # vpc, ec2, …
          <resource-name>.json    # one deployable unit

Optional generated Terraform may appear under archive/ next to intent — useful as a plain-Terraform exit path when you generate locally.

Example paths

projects/demo-app/aws/production/vpc/example-vpc.json
projects/demo-app/gcp/development/network/example-network.json
Segment Meaning
projects/<slug> Application / boundary
cloud Provider
environment Encoded in the path
infra-type Resource type folder
<name>.json One unit

metadata.dependsOn lists other unit paths relative to the project (reference-only — separate workspaces, linked via remote state).

Trying the samples

git clone https://github.com/gridplatform/grid-config.git
cd grid-config
# Prefer copying into YOUR new repository, then:
grid status --config-dir .

Fill any REPLACE_* values before a real apply. Many units are examples only.

Related repositories

Repository What it’s for
grid-core Runs Grid; syncs your desired-state repository
grid-cli Generate / plan / apply from JSON
grid-terraform Modules those JSON files point at
grid-docs Guides

Contributing

Improvements to examples and clearer layouts are welcome. Keep secrets out of JSON. Prefer small, named units.

Issues: grid-config/issues

License

MIT — see LICENSE.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors