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회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠