Googleapi: Error 400: Permission redis.clusters.connect is not supported in custom roles., badRequest

Hi,

We are getting the following error while adding a new user to the organization using terraform.

exit status 1: running "terragrunt apply $PLANFILE" in "/atlantis-data/repos/XXXXXXX/SaasOps-Tooling-GCP-terraform/1841/default/projects/organization": 
. . . . .
Error: Error updating the custom organization role Optiva DevOps Admin: googleapi: Error 400: Permission redis.clusters.connect is not supported in custom roles., badRequest

  on devops_roles.tf line 313, in resource "google_organization_iam_custom_role" "devops_admin":
 313: resource "google_organization_iam_custom_role" "devops_admin" {



Error: Error updating the custom organization role Optiva Service account role for default GCP services (Instead of Editor): googleapi: Error 400: Permission redis.clusters.connect is not supported in custom roles., badRequest

  on devops_roles.tf line 325, in resource "google_organization_iam_custom_role" "service_account_for_default_services":
 325: resource "google_organization_iam_custom_role" "service_account_for_default_services" {



Error: Error updating the custom organization role Optiva Service account role for default GCP services (Instead of Editor) - duplicate: googleapi: Error 400: Permission redis.clusters.connect is not supported in custom roles., badRequest

  on devops_roles.tf line 333, in resource "google_organization_iam_custom_role" "replicated_service_account_for_default_services":
 333: resource "google_organization_iam_custom_role" "replicated_service_account_for_default_services" {



Error: Error updating the custom organization role Optiva role for service accounts for Spotints: googleapi: Error 400: Permission redis.clusters.connect is not supported in custom roles., badRequest

  on devops_roles.tf line 367, in resource "google_organization_iam_custom_role" "spotinst":
 367: resource "google_organization_iam_custom_role" "spotinst" {


time=2023-07-26T02:36:10Z level=error msg=1 error occurred:
	* exit status 1

Following information on the plugins used:

Initializing provider plugins...
- Finding deviavir/gsuite versions matching "> 0.1.50, ~> 0.1.56"...
- Finding hashicorp/google versions matching "~> 3.51"...
- Installing deviavir/gsuite v0.1.62...
- Installed deviavir/gsuite v0.1.62 (self-signed, key ID AD9970F98EB884FD)
- Installing hashicorp/google v3.90.1...
- Installed hashicorp/google v3.90.1 (self-signed, key ID 34365D9472D7468F)

Can anyone please help us understand the error?

Regards
Yogeesh Venkanna