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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration from .yaml #45

Open
ggmartins opened this issue Jun 9, 2021 · 3 comments
Open

Migration from .yaml #45

ggmartins opened this issue Jun 9, 2021 · 3 comments
Labels
question Further information is requested

Comments

@ggmartins
Copy link

ggmartins commented Jun 9, 2021

Dear,

thanks for your great work on serverless/typescript. I have some legacy (sls 1.14) code I'm trying to migrate from .yaml. I'd like to know if there is any documentation/reference implementation for the syntax required to wire up various components like policies, sns topics, roles etc.

Thanks,

G

@fredericbarthelet
Copy link
Collaborator

Hello @ggmartins and thanks for your interest in this project :)

If I understood correctly, you're trying to migrate from serverless.yaml to serverless.ts service definition file ?
Be aware that using Typescript definition file is only available since https://github.com/serverless/serverless/releases/tag/v1.72.0
Apart from that, you can find the related documentation here : https://www.serverless.com/framework/docs/providers/aws/guide/intro#services

Let me know if this helps !

@fredericbarthelet fredericbarthelet added the question Further information is requested label Jun 10, 2021
@taschmidt
Copy link

Related question, is anyone aware of an automated converter that has been written? I.e. a script that would just read in the YAML and spit out a TS file?

@AlexMabry
Copy link

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

No branches or pull requests

4 participants