Skip to content

Multiple backends #276

@kinseii

Description

@kinseii

We have multiple subscriptions in a cloud provider and we would like to store the state files for each StackTemplate in separate storages (backends). The documentation says (https://docs.cluster.dev/structure-project):

backend-name of the backend that will be used to store the cluster.dev state of the current project. Optional.

That is, it seems to be the way it was intended, since this parameter is optional in the Project. However, the validate and plan commands produce an error:

01:16:46 [FATAL] Project configuration check: fail
load base configuration: loading project: error in project config: backend is not defined. To use default local backend, set 'backend: default' option

Thus I can't specify multiple backends. If this is not a bug, I would like to request such a feature, thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions