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
質問済み 4ヶ月前64ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ