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?

1 Resposta
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
ESPECIALISTA
James_S
respondido 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