awslabs / route53-dynamic-dns-with-lambda

A Dynamic DNS system built with API Gateway, Lambda & Route 53.
Apache License 2.0
491 stars 166 forks source link

Lambda mapping template step changed #2

Closed talakoski closed 8 years ago

talakoski commented 8 years ago

Seems that AWS Lambda Mapping Templates has changed after you created the document. This step: Click the pencil next to ‘Input Passthrough’

does not work anymore since 'Input Passthrough’ is not there.There is this option instead: Generate template: Method Request passthrough

Text field is prefilled but if you empty it and copy-paste ‘api_mapping_template’ file into it, then it seems to work.

Thanks for the good instructions!

danshao commented 8 years ago

What's the purpose of selecting Generate template: Method Request passthrough? Why not just paste the entire contents of api_mapping_template to the text box?

talakoski commented 8 years ago

Exactly so! :) The point I was trying to say is the page has changed since the instruction was written and there is no Input Passthrough element in the page anymore.

There is now pull down menu called Generate template. To follow the insctruction you need to select option Method Request passthrough and copy paste the api_mapping_template to the text box.

seangreathouse commented 8 years ago

Thanks Talakoski for the catch, Danshao fixed it in a now-merged PR.