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

Pin Teleport Terraform Provider to Teleport major version #32784

Merged
merged 2 commits into from
Oct 3, 2023

Conversation

tigrato
Copy link
Contributor

@tigrato tigrato commented Sep 29, 2023

The previous constrain >= (=teleport.version=) allows Terraform to pick any version bigger than the specified version. This is a problem because >= 12.0.0 can actually select 14.0.0 which breaks our client guarantees when connecting to Auth server.

This PR forces Terraform to pick any version >=12.0.0 and < 13.0.0. The pessimist version constrain prevents Terraform provider to use versions outside of the specified major version.

@github-actions
Copy link

🤖 Vercel preview here: https://docs-39rf0c4qp-goteleport.vercel.app/docs/ver/14.x

The previous constrain `>= (=teleport.version=)` allows Terraform to
pick any version bigger than the specified version. This is a problem
because `>= 12.0.0` can actually select `14.0.0` which breaks our client
guarentees when connecting to Auth server.

This PR forces Terraform to pick any version `>=12.0.0` and `< 13.0.0`.
The pessimist version constrain prevents Terraform provider to use
versions outside of the specified major version.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
@tigrato tigrato force-pushed the tigrato/fix-terraform-pinned-version branch from de6e693 to 0a32ffc Compare September 29, 2023 09:48
@tigrato tigrato temporarily deployed to vercel September 29, 2023 09:48 — with GitHub Actions Inactive
@github-actions
Copy link

🤖 Vercel preview here: https://docs-mudnw0j2j-goteleport.vercel.app/docs/ver/14.x

@tigrato tigrato temporarily deployed to vercel October 3, 2023 08:54 — with GitHub Actions Inactive
@tigrato tigrato enabled auto-merge October 3, 2023 08:55
@tigrato tigrato added this pull request to the merge queue Oct 3, 2023
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

🤖 Vercel preview here: https://docs-b9wcyr68i-goteleport.vercel.app/docs/ver/14.x

Merged via the queue into master with commit 3e8832e Oct 3, 2023
32 checks passed
@tigrato tigrato deleted the tigrato/fix-terraform-pinned-version branch October 3, 2023 09:16
@public-teleport-github-review-bot

@tigrato See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Failed
branch/v14 Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants