Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

73
Views
AWS SDK: se esperaba que params.tags['0'] fuera una cadena

Estoy tratando de crear etiquetas basadas en la documentación de aws donde necesito agregar una clave de etiqueta con el nombre del clúster aws eks.

 const eksCluster = eks .createCluster({ version: "1.21", name: `${deployment.name}-eks-cluster`, resourcesVpcConfig: { securityGroupIds: [eksSgDefault.GroupId], subnetIds: [ subnetprivOne.Subnet.SubnetId, subnetprivTwo.Subnet.SubnetId, ], endpointPublicAccess: true, publicAccessCidrs: ["XXXX/X"], }, roleArn: "arn:aws:iam::XXXXXXXX:role/Management-EKS", tags: [ { "cluster-name": `${deployment.name}-eks-cluster`, [`kubernetes.io/cluster/${deployment.name}-eks-cluster`]: "owned", }, ], }) .promise();

Cuando ejecuto esto, obtengo Expected params.tags['0'] to be a string . Lo que significa que de alguna manera estoy fallando con este carril:

 [`kubernetes.io/cluster/${deployment.name}-eks-cluster`]: "owned",

¿Alguien trató de resolver esto?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!