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]"

asked 2 years ago515 views
1 Answer
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
answered 2 years ago
AWS
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions