terraform/internal/command/testdata/init-provider-download-prerelease
Sarah French 559233329e
Fix: Re-enable using prerelease providers in the new two-step provider download in init (#38502)
* test: Add pre-release to available providers. Existing tests don't use it because the configuration doesn't specify the prerelease as the version constraint.

This was the gap in my understanding - prerelease providers are handled differently in the installer logic. I believe it boils down to this: 29863fd2ba/versions/set_released.go (L5-L7)

* test: Add failing tests that show expected behaviour when a pre-release of a provider is used

* fix: Ensure that any relevant version constraints from the config are available to use when installing providers present in the state

* test: Add test defining pre-release download behaviour that was present before v1.15

* test: Update test to reflect that 2 step init is no longer experimental or specific to the PSS project
2026-05-01 10:12:32 +00:00
..
config-and-state-same-providers Fix: Re-enable using prerelease providers in the new two-step provider download in init (#38502) 2026-05-01 10:12:32 +00:00
config-state-file-and-lockfile Fix: Re-enable using prerelease providers in the new two-step provider download in init (#38502) 2026-05-01 10:12:32 +00:00
state-and-lock-file Fix: Re-enable using prerelease providers in the new two-step provider download in init (#38502) 2026-05-01 10:12:32 +00:00