Skip to content

feat: remote state files as command-line option -f #763

@Nuru

Description

@Nuru

In #648 you added the ability to specify remote state files in a state file using the syntax

helmfiles:
- # Terraform-module-like URL for importing a remote directory and use a file in it as a nested-state file
  # The nested-state file is locally checked-out along with the remote directory containing it.
  # Therefore all the local paths in the file are resolved relative to the file
  path: git::https://github.com/cloudposse/helmfiles.git@releases/kiam.yaml?ref=0.40.0

I expected that included with that feature would be the ability to use remote helmfiles on the command line, but it does not work:

$ helmfile -f 'git::https://github.com/cloudposse/helmfiles.git@releases/kiam.yaml?ref=0.40.0'
specified state file git::https://github.com/cloudposse/helmfiles.git@releases/kiam.yaml?ref=0.40.0 is not found

Please include this ability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions