Files
opentf/internal/initwd/testdata/prerelease-version-constraint/root.tf
Liam Cervante 6af6540233 Use the apparentlymart/go-versions library to parse module constraints (#32377)
* Use the apparentlymart/go-versions library to parse module constraints

* goimports

* Update comments, and parse versions carefully

* add acceptance tests to verify behaviour of partial matches

* goimports
2022-12-14 17:02:11 +01:00

9 lines
276 B
HCL

# We expect this test to download the version 0.0.2, the one before the
# specified version even with the equality because the specified version is a
# prerelease.
module "acctest_partial" {
source = "hashicorp/module-installer-acctest/aws"
version = "<=0.0.3-alpha.1"
}