Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Where do we have our infrastructure defined as code #90

Open
rafiramadhana opened this issue Sep 13, 2023 · 0 comments
Open

Where do we have our infrastructure defined as code #90

rafiramadhana opened this issue Sep 13, 2023 · 0 comments

Comments

@rafiramadhana
Copy link
Contributor

rafiramadhana commented Sep 13, 2023

In the Getting Started section, it says

Once you have your infrastructure defined as code, you'll create the layer definitions that the CLI will use when spawning instances of each layer.

Does it mean having our infrastructure defined as code in a layerform.json?

Because I was wondering where will we put the code mentioned in the Getting Started section:

{
    "layers": [
        {
            "name": "base",
            "files": ["./layerform/eks.tf", "./layerform/eks/**"]
        },
        {
            "name": "services",
            "files": ["./layerform/services.tf", "./layerform/services/**"],
            "dependencies": ["base"]
        }
    ]
}

I think it might be helpful if we add some little notes there

--- Once you have your infrastructure defined as code, you'll create the layer
+++ Once you have your infrastructure defined as code in layerform.json, you'll create the layer
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant