This syntax is perfect YAML, however I cannot use it in automation. I can parse it but a) it's buried in console logs generated by Node, Serverless and different plugins and b) I am not sure if that output format is going to be changed in later releases of serverless-domain-manager. I want to run a aws route 53 change-resource-record-sets command immediately after serverless deploy to create a CNAME (apparently, I can only create A and AAAA records, but not CNAME. See https://github.com/amplify-education/serverless-domain-manager/issues/377). Is there a way I can export the above output to a JSON file?
Command Run
npx serverless deploy --aws-profile xxx --stage dev
Community Note
Support Question
Question After the
serverless deploy
command I receive this outputThis syntax is perfect YAML, however I cannot use it in automation. I can parse it but a) it's buried in console logs generated by Node, Serverless and different plugins and b) I am not sure if that output format is going to be changed in later releases of serverless-domain-manager. I want to run a
aws route 53 change-resource-record-sets
command immediately afterserverless deploy
to create a CNAME (apparently, I can only create A and AAAA records, but not CNAME. See https://github.com/amplify-education/serverless-domain-manager/issues/377). Is there a way I can export the above output to a JSON file?Command Run npx serverless deploy --aws-profile xxx --stage dev
Console Output
Domain Manager Configuration Replace this with your own
serverless.yml
file (anonymized, of course) to help us better resolve your issue.Versions
Additional context/Screenshots Add any other context about the problem here. If applicable, add screenshots to help explain.