Example 1 create an Aws code commit pipeline with Aws cloudformation

0

Am trying to complete that tutorial on codepipeline and when I create a stack in cloud formation , using the provided appspec.yaml file, i get the error that says “ Template format error: at least one resources member must be defined” and it won’t let me upload the file. What did I miss ? How can I resolve it please ?

  • Could you share a link to the tutorial you're following?

preguntada hace 2 años538 visualizaciones
1 Respuesta
1

AppSpec files aren't CloudFormation deployables, they're for the CodeDeploy service/agent to process. See https://docs.aws.amazon.com/codedeploy/latest/userguide/application-specification-files.html for more information on AppSpec files.

If the tutorial is directing you to launch a template with CloudFormation, check you're using the right file; a CloudFormation template will have AWSTemplateFormatVersion specified near the top of the file, and Resources will be a map rather than a list.

profile pictureAWS
EXPERTO
James_S
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas