feat: New Terraform module for tracking the version of deployed infra (DBTP-2542)#1398
Open
feat: New Terraform module for tracking the version of deployed infra (DBTP-2542)#1398
Conversation
Contributor
|
Your PR has commits that are missing the Signed-off-by trailer. This is likely due to the pre-commit hook not being configured on your local machine. The usual fix for this issue is to run |
Contributor
Dependency Review✅ No vulnerabilities or OpenSSF Scorecard issues found.Scanned FilesNone |
ksugden
reviewed
Apr 28, 2026
ksugden
reviewed
Apr 28, 2026
ksugden
reviewed
Apr 28, 2026
Co-authored-by: Kate Sugden <107400614+ksugden@users.noreply.github.com>
…of-platform-version
ksugden
approved these changes
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Addresses https://uktrade.atlassian.net/browse/DBTP-2542.
Related PR for platform-orchestration https://github.com/uktrade/platform-orchestration/pull/566
Related PR for e2e tests https://github.com/uktrade/platform-orchestration/pull/566
A new Terraform module called
version-trackerthat creates an SSM parameter for each one of the 4 Terraform states that comprise the DBT Platform offering. This is intended to track of the version of AWS resources deployed in the wild.SSM parameter names have the following naming convetion:
platform/version/application/<app>/codebase-pipelineplatform/version/application/<app>/environment-pipelineplatform/version/application/<app>/environment/<env>platform/version/application/<app>/environment/<env>/service/<svc>A benefit of this implementation would be the resource dependency on the previous Terraform module (e.g.
environment-pipelinesin this example) that contains all other AWS resources. The previous module has to successfully apply first before the SSM parameter in theversion-trackermodule has its value updated with the new platform version.SSM parameters also provide a log of who & when updated that parameter. The future goal is to have a Platform Helper command that pulls all this data from multiple SSM parameters into a single output output that shows you all the versions of an application's deployed AWS infra.
Checklist:
Title:
feat: Add new feature (DBTP-1234)orchore: Correct typo (off-ticket)Description:
Tasks:
Reviewer Checklist