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

posta 2 anni fa540 visualizzazioni
1 Risposta
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
con risposta 2 anni fa
AWS
ESPERTO
verificato 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande