Skip to content

Consider stackname from stack file #1686

@KevyVo

Description

@KevyVo

Right now we do not consider this case:

Let say the user has a stackfile name: beta in the .defang directory.

The contents of the beta file looks like this:

DEFANG_STACK = alpha
...

So once we process all the flags, env var and the env files. Our global object should have the stackfile final value as alpha. However, with the current logic, since the flag is set to beta. Should we stop at that value and treat it as the final result?

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