Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Support Question
Question
After the serverless deploy command I receive this output
Serverless Domain Manager:
Domain Name: xxxx
Target Domain: xxxxxxxx.execute-api.us-east-1.amazonaws.com
Hosted Zone Id: ABCZZZZZ
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 #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
Serverless Domain Manager:
Domain Name: xxxx
Target Domain: xxxxxxxx.execute-api.us-east-1.amazonaws.com
Hosted Zone Id: ABCZZZZZ
Domain Manager Configuration
Replace this with your own serverless.yml file (anonymized, of course) to help us better resolve your issue.
custom:
customDomain:
domainName: foo.example.tld
basePath: bar
createRoute53Record: true
Versions
- Domain Manager version(s): ^7.3.6
- Node/npm version: Node 18/npm 10.2.3
- Serverless Version: ^3.38.0
- Lambda Code: Node
Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
Community Note
Support Question
Question
After the
serverless deploycommand 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-setscommand immediately afterserverless deployto create a CNAME (apparently, I can only create A and AAAA records, but not CNAME. See #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.ymlfile (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.