Locked terraform binary version to <= 1.5.5 (#666)

## Changes
Locked terraform binary version to <= 1.5.5
This commit is contained in:
Andrew Nester 2023-08-15 15:39:32 +02:00 committed by GitHub
parent 8dc6936581
commit 5cdaacacc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func (m *initialize) findExecPath(ctx context.Context, b *bundle.Bundle, tf *con
// Download Terraform to private bin directory.
installer := &releases.LatestVersion{
Product: product.Terraform,
Constraints: version.MustConstraints(version.NewConstraint("<2.0")),
Constraints: version.MustConstraints(version.NewConstraint("<=1.5.5")),
InstallDir: binDir,
}
execPath, err = installer.Install(ctx)