Skip to content

tfupdate lock doesn't work with non specific constraints #95

@philnielsen

Description

@philnielsen

Thanks for making an awesome tool! found an issue with the latest 0.7.1 tfupdate lock command (which is an awesome addition, definitely will use this!).

Not Working (for updating the lock files, provider changes work):
tfupdate provider aws test -r -v "~> 4.0"
tfupdate lock --platform=linux_amd64 --platform=darwin_amd64 --platform=darwin_arm64 -r test
Behavior:
tfupdate just exits immediately. (i've tried with several types of version constraints, anything that isn't -v "5.6.2" or latest doesn't work)

Working:
tfupdate provider aws test -r
tfupdate lock --platform=linux_amd64 --platform=darwin_amd64 --platform=darwin_arm64 -r test
Behavior:
lockfile is updated as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions