Error while creating redshift serverless

0

I have started creating template for redshift serverless cluster. Below script using for the cluster creation - and getting error "Properties validation failed for resource RedshiftClusterWorkgroup with message: #/ConfigParameters: expected type: JSONArray, found: JSONObject #/WorkgroupName: failed validation" and "Properties validation failed for resource RedshiftClusterNamespace with message: #/NamespaceName: failed validation constraint for keyword [pattern]"

已提问 2 年前540 查看次数
1 回答
1

Hi!

It would be easier for us to help if you posted your template here but what the error says is that in your template you have something like this:

"RedshiftClusterWorkgroup": {
  "Type" : "AWS::RedshiftServerless::Workgroup",
  "Properties" : {
      "ConfigParameters" : { ... }
    }
}

but it needs ConfigParameters to be an array, like this:

"RedshiftClusterWorkgroup": {
  "Type" : "AWS::RedshiftServerless::Workgroup",
  "Properties" : {
      "ConfigParameters" :  [ ... ]
    }
}

If that doesnt help please post your template here :)

Link to docs

profile picture
已回答 2 年前
AWS
专家
已审核 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则