Skip to content

Added ptl version to current proxygen key ssm#568

Merged
robbailiff2 merged 1 commit intomainfrom
feature/rgjb-eli-604-add_proxygen_ptl_key_to_ssm
Feb 3, 2026
Merged

Added ptl version to current proxygen key ssm#568
robbailiff2 merged 1 commit intomainfrom
feature/rgjb-eli-604-add_proxygen_ptl_key_to_ssm

Conversation

@robbailiff2
Copy link
Copy Markdown
Contributor

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.

@robbailiff2
Copy link
Copy Markdown
Contributor Author

robbailiff2 commented Feb 3, 2026

Tested the new terraform in dev and preprod and the plan is showing the changes/lack of as expected.

Dev environment:

Terraform will perform the following actions:

  # aws_ssm_parameter.proxygen_private_key[0] will be destroyed
  # (because resource does not use count)
  - resource "aws_ssm_parameter" "proxygen_private_key" {
      - arn             = "arn:aws:ssm:eu-west-2:448049830832:parameter/dev/proxygen/private_key" -> null
      - data_type       = "text" -> null
      - id              = "/dev/proxygen/private_key" -> null
      - key_id          = "312e6bf8-5c33-4f8d-8675-219f63efcfb5" -> null
      - name            = "/dev/proxygen/private_key" -> null
      - tags            = {
          - "Stack" = "Networking"
        } -> null
      - tags_all        = {
          - "ApplicationRole"     = "API"
          - "CostCentre"          = "129117"
          - "Customer"            = "NHS England"
          - "DataType"            = "PII"
          - "Environment"         = "dev"
          - "FinOpsTagVersion"    = "1"
          - "OnOffPattern"        = "AlwaysOn"
          - "Owner"               = "edd.almond1@nhs.net"
          - "Product"             = "EligibilitySignpostingAPI"
          - "Programme"           = "Vaccinations"
          - "ProjectType"         = "Production"
          - "PublicFacing"        = "Y"
          - "ServiceCategory"     = "Silver"
          - "Stack"               = "Networking"
          - "Tool"                = "Terraform"
          - "data_classification" = "5"
          - "workspace"           = "default"
        } -> null
      - tier            = "Advanced" -> null
      - type            = "SecureString" -> null
      - value           = (sensitive value) -> null
      - value_wo        = (write-only attribute) -> null
      - version         = 1 -> null
        # (2 unchanged attributes hidden)
    }

  # aws_ssm_parameter.proxygen_private_key["prod"] will be created
  + resource "aws_ssm_parameter" "proxygen_private_key" {
      + arn            = (known after apply)
      + data_type      = (known after apply)
      + has_value_wo   = (known after apply)
      + id             = (known after apply)
      + insecure_value = (known after apply)
      + key_id         = "312e6bf8-5c33-4f8d-8675-219f63efcfb5"
      + name           = "/prod/proxygen/private_key"
      + tags           = {
          + "Stack" = "Networking"
        }
      + tags_all       = {
          + "ApplicationRole"     = "API"
          + "CostCentre"          = "129117"
          + "Customer"            = "NHS England"
          + "DataType"            = "PII"
          + "Environment"         = "dev"
          + "FinOpsTagVersion"    = "1"
          + "OnOffPattern"        = "AlwaysOn"
          + "Owner"               = "edd.almond1@nhs.net"
          + "Product"             = "EligibilitySignpostingAPI"
          + "Programme"           = "Vaccinations"
          + "ProjectType"         = "Production"
          + "PublicFacing"        = "Y"
          + "ServiceCategory"     = "Silver"
          + "Stack"               = "Networking"
          + "Tool"                = "Terraform"
          + "data_classification" = "5"
          + "workspace"           = "default"
        }
      + tier           = "Advanced"
      + type           = "SecureString"
      + value          = (sensitive value)
      + value_wo       = (write-only attribute)
      + version        = (known after apply)
    }

  # aws_ssm_parameter.proxygen_private_key["ptl"] will be created
  + resource "aws_ssm_parameter" "proxygen_private_key" {
      + arn            = (known after apply)
      + data_type      = (known after apply)
      + has_value_wo   = (known after apply)
      + id             = (known after apply)
      + insecure_value = (known after apply)
      + key_id         = "312e6bf8-5c33-4f8d-8675-219f63efcfb5"
      + name           = "/ptl/proxygen/private_key"
      + tags           = {
          + "Stack" = "Networking"
        }
      + tags_all       = {
          + "ApplicationRole"     = "API"
          + "CostCentre"          = "129117"
          + "Customer"            = "NHS England"
          + "DataType"            = "PII"
          + "Environment"         = "dev"
          + "FinOpsTagVersion"    = "1"
          + "OnOffPattern"        = "AlwaysOn"
          + "Owner"               = "edd.almond1@nhs.net"
          + "Product"             = "EligibilitySignpostingAPI"
          + "Programme"           = "Vaccinations"
          + "ProjectType"         = "Production"
          + "PublicFacing"        = "Y"
          + "ServiceCategory"     = "Silver"
          + "Stack"               = "Networking"
          + "Tool"                = "Terraform"
          + "data_classification" = "5"
          + "workspace"           = "default"
        }
      + tier           = "Advanced"
      + type           = "SecureString"
      + value          = (sensitive value)
      + value_wo       = (write-only attribute)
      + version        = (known after apply)
    }

Plan: 2 to add, 0 to change, 1 to destroy.

Preprod environment:
No changes. Your infrastructure matches the configuration.

@robbailiff2 robbailiff2 merged commit e22eee0 into main Feb 3, 2026
25 checks passed
@robbailiff2 robbailiff2 deleted the feature/rgjb-eli-604-add_proxygen_ptl_key_to_ssm branch February 3, 2026 14:46
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