diff --git a/root_keycloak.tf b/root_keycloak.tf index 292e70a..66647a2 100644 --- a/root_keycloak.tf +++ b/root_keycloak.tf @@ -166,7 +166,7 @@ module "keycloak_database_instance" { availability_zone = local.database_availability_zone common_tags = local.common_tags database_name = "keycloak" - database_version = "14.12" + database_version = local.environment == "intg" ? "16.3" : "14.12" environment = local.environment kms_key_id = module.encryption_key.kms_key_arn private_subnets = module.shared_vpc.private_subnets