Not able to create redshift cluster from snapshot

0

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"

master_username = jsondecode(data.aws_secretsmanager_secret_version.redshift-secret-version.secret_string)["username"]

master_password = jsondecode(data.aws_secretsmanager_secret_version.redshift-secret-version.secret_string)["password"]

master_username = "adminuser"

master_password = "Aws:redshift:cluster:main2-test123"

node_type = "ra3.4xlarge" cluster_type = "multi-node" number_of_nodes = 2 snapshot_identifier = var.snapshot_identifier

iam_roles = var.iam_roles

encrypted = true

iam_roles = var.iam_roles }

Mahesh
gefragt vor 4 Monaten64 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen