Skip to content

Commit

Permalink
Merge pull request #84 from nhsconnect/krbl3-ignore-db-version-change
Browse files Browse the repository at this point in the history
Added lifecycle.ignore_changes.engine_version to aws_rds_cluster.db-cluster
  • Loading branch information
AndyFlintNHS authored Apr 2, 2024
2 parents 34aa41e + 142a9c7 commit ac07582
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion terraform/rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ resource "aws_rds_cluster" "db-cluster" {
CreatedBy = var.repo_name
Environment = var.environment
}

lifecycle {
ignore_changes = [
engine_version
]
}
}

resource "aws_kms_key" "ehr-repo-key" {
Expand Down Expand Up @@ -162,4 +168,3 @@ resource "aws_security_group_rule" "vpn_to_db_sg" {
data "aws_ssm_parameter" "repo_databases_parameter_group_name" {
name = "/repo/${var.environment}/output/prm-deductions-infra/repo-databases-parameter-group-name-version-13"
}

0 comments on commit ac07582

Please sign in to comment.