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

Where do we have our infrastructure defined as code #90

@rafiramadhana

Description

@rafiramadhana

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions