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
已提問 5 個月前檢視次數 66 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南