Skip to content

all: upgrade Terraform and CDKTF#10

Merged
bobheadxi merged 1 commit into
mainfrom
upgrade-tf-cdktf
May 14, 2024
Merged

all: upgrade Terraform and CDKTF#10
bobheadxi merged 1 commit into
mainfrom
upgrade-tf-cdktf

Conversation

@bobheadxi

Copy link
Copy Markdown
Member

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 1627dfb into main May 14, 2024
@bobheadxi bobheadxi deleted the upgrade-tf-cdktf branch May 14, 2024 17:54
bobheadxi added a commit to sourcegraph/sourcegraph-public-snapshot that referenced this pull request May 14, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants