Skip to content

feat(ssm-parameter): add ssm parameter module#82

Draft
dave4420 wants to merge 9 commits into
mainfrom
feature/BCSS-23623-add-ssm-param-module
Draft

feat(ssm-parameter): add ssm parameter module#82
dave4420 wants to merge 9 commits into
mainfrom
feature/BCSS-23623-add-ssm-param-module

Conversation

@dave4420

@dave4420 dave4420 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

BCSS-23623

Description

Context

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@dave4420 dave4420 requested review from a team as code owners June 19, 2026 07:28
@@ -0,0 +1,21 @@
module "ssm_parameter" {
source = "terraform-aws-modules/ssm-parameter/aws"
version = "~> 2.1.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please pin to an explicit module version

locals {
# if the name is a path (contains a slash),
# then it must be fully qualified (start with a slash)
name = (

@nhs-oliverslater nhs-oliverslater Jun 23, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

module.this.id should be used here and it won't contain "/" by our standards, but will be a '-' separated string.

Please can you review this, switch to use .id, add a path parameter - similar to 'iam' module.

@nhs-oliverslater nhs-oliverslater Jun 23, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add validation or assert to ensure kms_id is specified if using a secure parameter.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please align document sections/headings and contents with repo standards

@nhs-oliverslater

Copy link
Copy Markdown
Contributor

You can leverage the /new-terraform-module Copilot skill to assist with the structure alignment and if you also give it the upstream module it should assist in scaffolding/building the module.

@nhs-oliverslater nhs-oliverslater marked this pull request as draft June 23, 2026 08:27
@nhs-oliverslater nhs-oliverslater force-pushed the feature/BCSS-23623-add-ssm-param-module branch from a82e1e2 to 6a908de Compare June 23, 2026 08:30
@nhs-oliverslater nhs-oliverslater removed request for a team June 23, 2026 09:01
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