Skip to content

Feature | Store the Leverage CLI version used for a project #143

Closed

Description

@juanmatias

Describe the Feature

This feature has to be evaluated (whether or not it worth it)
Store the CLI version used to create/use a Leverage project.
It can be stored in the build.env file, e.g.:

LEVERAGE_CLI_VER = 1.8.0

Expected Behavior

Be able to tell what CLI version was used in a given Leverage project.

Use Case

The use cases have to be evaluated. E.g. apply/remove/etc a project with the CLI version used previously for sake of compatibility.

Activity

  1. exequielrafaela commented on Dec 16, 2024

    @exequielrafaela
    Member

    💻 build.env

    # Project settings
    PROJECT=bb
    
    # General
    MFA_ENABLED=false
    
    # Terraform
    TERRAFORM_IMAGE_TAG=1.8.0-0.0.1-tofu
    LEVERAGE_CLI_VER = 1.8.0
    

    📝 Version Compatibility

    If (LEVERAGE_CLI_VER >= 1.14.x) {
      TERRAFORM_IMAGE_TAG=1.8.0-0.0.1-tofu
    } else {
     print "Not compatible image"
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions