diff --git a/root_keycloak.tf b/root_keycloak.tf index defb9e3..91046a0 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 = "16.3" + database_version = local.environment == "intg" ? "17.2" : "16.3" environment = local.environment kms_key_id = module.encryption_key.kms_key_arn private_subnets = module.shared_vpc.private_subnets