Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend/remote: Fix for "latest" workspace version #27199

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

alisdair
Copy link
Contributor

@alisdair alisdair commented Dec 8, 2020

Terraform Cloud/Enterprise support a pseudo-version of "latest" for the configured workspace Terraform version. If this is chosen, we abandon the attempt to verify the versions are compatible, as the meaning of "latest" cannot be predicted.

If approved, this will be backported to 0.14, and for later release in 0.13 and 0.12.

@alisdair alisdair added 0.14-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged 0.13-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged labels Dec 8, 2020
@alisdair alisdair requested a review from a team December 8, 2020 20:04
@alisdair alisdair self-assigned this Dec 8, 2020
@codecov
Copy link

codecov bot commented Dec 8, 2020

Codecov Report

Merging #27199 (6e0d8cd) into master (93c36e6) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted Files Coverage Δ
backend/remote/backend.go 62.81% <100.00%> (+0.21%) ⬆️

Terraform Cloud/Enterprise support a pseudo-version of "latest" for the
configured workspace Terraform version. If this is chosen, we abandon
the attempt to verify the versions are compatible, as the meaning of
"latest" cannot be predicted.

This affects both the StateMgr check (used for commands which execute
remotely) and the full version check (for local commands).
@alisdair alisdair force-pushed the alisdair/remote-backend-version-latest branch from e8fc91c to 6e0d8cd Compare December 8, 2020 20:35
@alisdair
Copy link
Contributor Author

alisdair commented Dec 8, 2020

I just force-pushed an additional change and associated test which I've verified as fixing the issue, testing against a local build of Terraform Cloud.

@ghost
Copy link

ghost commented Jan 8, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Jan 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
0.13-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged 0.14-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants