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

feita há 2 anos540 visualizações
1 Resposta
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
respondido há 2 anos
AWS
ESPECIALISTA
avaliado há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas