hatch-sh / hatch

🐣 Easy deployment of static websites to Amazon Web Services
https://hatch.sh
5 stars 0 forks source link

create_function takes arn not role_id #16

Closed skovhus closed 7 years ago

skovhus commented 7 years ago

See http://boto3.readthedocs.io/en/latest/reference/services/lambda.html

skovhus commented 7 years ago

I got this URL https://ifrvn35h8l.execute-api.eu-central-1.amazonaws.com/production

But it says Missing Authentication Token

mads-hartmann commented 7 years ago

Yeah that's just a horrible AWS message. Try https://ifrvn35h8l.execute-api.eu-central-1.amazonaws.com/production/echo

skovhus commented 7 years ago

Yay! 💃

mads-hartmann commented 7 years ago

We haven't registered any resource for / so apparently AWS thinks that's a good message to give :D Once we figure out a how we want to properly specify routes we should ensure that the example contains a handler for / to avoid confusion

skovhus commented 7 years ago

😢 / 😆