Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to retrieve the "Serverless Domain Manager" console outputs? #618

Open
nbcchen opened this issue Feb 28, 2024 · 0 comments
Open
Labels

Comments

@nbcchen
Copy link

nbcchen commented Feb 28, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant