Reputation: 25
I want to take export of the all the Lambda funcitons alonwith the api gateway from aws console. This export we need to save in github for versioning and also this should be easily importable in aws console in case we want to copy these in some new region at aws. Please help how this can be done alongwith examples.
Thanks
Upvotes: 1
Views: 168
Reputation: 2717
I think the better solution is to go for infrastructure as code.
You can import existing resources to a CloudFormation template.
Afterwards, you got your infrastructure as code and you can easily replicate it to other regions. Also, maintainability is increased and error proneness reduced.
Upvotes: 1