Search code examples
aws-cloudformationamazon-ecs

How to generate Couldformation template in YAML format?


According to https://docs.aws.amazon.com/AmazonECS/latest/developerguide/create-task-definition.html

aws ecs register-task-definition --generate-cli-skeleton will generate a JSON template. Is it possible to generate a YAML template? Or do I need to take the JSON file and convert it?


Solution

  • Based on the current document, it does not support output as YAML.