Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

msp/terraform: upgrade to 1.7.5#62650

Merged
bobheadxi merged 4 commits into
mainfrom
msp-upgrade-terraform
May 14, 2024
Merged

msp/terraform: upgrade to 1.7.5#62650
bobheadxi merged 4 commits into
mainfrom
msp-upgrade-terraform

Conversation

@bobheadxi

@bobheadxi bobheadxi commented May 14, 2024

Copy link
Copy Markdown
Member

According to https://developer.hashicorp.com/terraform/language/v1.7.x/upgrade-guides this should be compatible with our current version, 1.3.10

We need to upgrade to use import blocks (TF 1.5), which will make https://github.com/sourcegraph/sourcegraph/pull/62644 and CORE-23 capable of a smooth rollout (otherwise we encounter conflict with the previously hand-deployed resources).

This also requires our CDKTF modules to be regenerated with the new Terraform version: sourcegraph/managed-services-platform-cdktf#10

Test plan

n/a - will do a staged rollout per https://www.notion.so/sourcegraph/MSP-infrastructure-upgrades-1808e7e45bd54f419dd93af542d99238?pvs=4

bobheadxi referenced this pull request in sourcegraph/managed-services-platform-cdktf May 14, 2024
See https://github.com/sourcegraph/sourcegraph/pull/62650 for context:

> We need to upgrade to use `import` blocks (TF 1.5), which will make
https://github.com/sourcegraph/sourcegraph/pull/62644 and CORE-23
capable of a smooth rollout (otherwise we encounter conflict with the
previously hand-deployed resources).

This change upgrades the version of Terraform and CDKTF to use when
generating these packages.
@bobheadxi bobheadxi merged commit 7308d16 into main May 14, 2024
@bobheadxi bobheadxi deleted the msp-upgrade-terraform branch May 14, 2024 19:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants