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

gefragt vor 2 Jahren540 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren
AWS
EXPERTE
überprüft vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen