I'm trying to create redshift cluster from snapshot with the terraform configuration files unfortunately it has not well and getting following error.
Error: restoring Redshift Cluster (test123) from snapshot: InvalidRestore: To restore a cluster from a snapshot that uses Amazon Redshift Managed Passwords, use Amazon Redshift Managed Passwords.
│ status code: 406, request id: de14478a-ea2c-42a6-b48b-17c3706fcb87
Here is the sample terraform code
resource "aws_redshift_cluster" "main2" {
cluster_identifier = "test123"