Skip to content

chore: update database URL string to allow for Prisma Client 7 upgrade#1264

Open
craigzour wants to merge 3 commits intomainfrom
chore/prep-prisma-client-7-upgrade
Open

chore: update database URL string to allow for Prisma Client 7 upgrade#1264
craigzour wants to merge 3 commits intomainfrom
chore/prep-prisma-client-7-upgrade

Conversation

@craigzour
Copy link
Copy Markdown
Contributor

@craigzour craigzour commented Mar 27, 2026

Summary | Résumé

  • Adds new parameter to the database URL string to allow for Prisma Client 7 upgrade (this is due to the recent Posgres upgrade which now requires an SSL connection)

Note:

  • This change is compatible with Prisma Client 6 which is why we can deploy it now

More information about the problem:

Copy link
Copy Markdown
Member

@timarney timarney left a comment

Choose a reason for hiding this comment

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

Thanks for adding the note back to the github issue

@github-actions
Copy link
Copy Markdown

⚠ Terrform update available

Terraform: 1.14.8 (using 1.12.2)
Terragrunt: 1.0.0 (using 0.83.0)

@github-actions
Copy link
Copy Markdown

Staging: rds

✅   Terraform Init: success
✅   Terraform Validate: success
✅   Terraform Format: success
✅   Terraform Plan: success
✅   Conftest: success

⚠️   Warning: resources will be destroyed by this change!

Plan: 1 to add, 0 to change, 1 to destroy
Show summary
CHANGE NAME
recreate aws_secretsmanager_secret_version.database_url
Show plan
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # aws_secretsmanager_secret_version.database_url must be replaced
-/+ resource "aws_secretsmanager_secret_version" "database_url" {
      ~ arn                  = "arn:aws:secretsmanager:ca-central-1:687401027353:secret:server-database-url-0PSpE3" -> (known after apply)
      + has_secret_string_wo = (known after apply)
      ~ id                   = "arn:aws:secretsmanager:ca-central-1:687401027353:secret:server-database-url-0PSpE3|FF00B695-F9A1-41AB-B815-7CEFEFCDA814" -> (known after apply)
      ~ secret_string        = (sensitive value) # forces replacement
      ~ version_id           = "FF00B695-F9A1-41AB-B815-7CEFEFCDA814" -> (known after apply)
      ~ version_stages       = [
          - "AWSCURRENT",
        ] -> (known after apply)
        # (4 unchanged attributes hidden)
    }

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

Changes to Outputs:
  ~ database_url_secret_arn                = "arn:aws:secretsmanager:ca-central-1:687401027353:secret:server-database-url-0PSpE3" -> (known after apply)

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: plan.tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "plan.tfplan"
Show Conftest results
WARN - plan.json - main - Missing Common Tags: ["aws_rds_cluster.forms"]
WARN - plan.json - main - Missing Common Tags: ["aws_rds_cluster_instance.forms"]
WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.database_secret"]
WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.database_url"]
WARN - plan.json - main - Missing Common Tags: ["aws_secretsmanager_secret.rds_connector"]

24 tests, 19 passed, 5 warnings, 0 failures, 0 exceptions

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.

3 participants