Post 9t4Vvdmc7AxoW0S7Jg by tek@freeradical.zone
(DIR) More posts by tek@freeradical.zone
(DIR) Post #9t4VPBbNMATlqVijSq by tek@freeradical.zone
2020-03-16T17:28:35Z
0 likes, 0 repeats
Required knowledge to deploy a Lambda function in AWS:- How to write a Python function that reads parameters and returns a dictionary. Simple!But also:- How to package it with Apex- How to give Apex IAM permissions to upload the package- How to give the Lambda function IAM permissions to access storage and other resources- How to debug with CloudWatch- How to deploy an AWS API Gateway to make the function publicly accessible
(DIR) Post #9t4VhRr7fBgpT9nIAa by tek@freeradical.zone
2020-03-16T17:31:57Z
0 likes, 0 repeats
Oh! And since the Lambda is for a Slack "slash command":- How to create Slack apps- How to parse the body of the Slack POST to the Lambda- How to create a well-formed reply that Slack can process- How to use Slack's "mrkdwn" which is Markdown minus the parts you really want to useI think that covers it all.
(DIR) Post #9t4Vvdmc7AxoW0S7Jg by tek@freeradical.zone
2020-03-16T17:34:29Z
0 likes, 0 repeats
That said, it was a personal project that I wanted to make for my coworkers, and it was great fun, and I'm super pleased with the results. But I've heard people say "you should just make your app be all Lambda functions", and slow your roll there. It's not rocket science, but you've gotta have a reasonable grasp on a whole lotta things before that becomes reasonable.
(DIR) Post #9t4WJUSuPSzuZBblRI by thenomad@mastodon.cloud
2020-03-16T17:38:42Z
0 likes, 0 repeats
@tek "Thank you but your gift is not good enough." is an unacceptable response.
(DIR) Post #9t4WNX8MQihW08vOl6 by tek@freeradical.zone
2020-03-16T17:39:29Z
0 likes, 0 repeats
@thenomad Did you reply to the right toot?
(DIR) Post #9t4WQUNb7ucmKOSePo by thenomad@mastodon.cloud
2020-03-16T17:40:03Z
0 likes, 0 repeats
@tek I was basically saying their complaints that it wasn't all lambda all the time was inappropriate.
(DIR) Post #9t4WUabtu2zIoJ6eyO by tek@freeradical.zone
2020-03-16T17:40:47Z
0 likes, 0 repeats
@thenomad Ah, got it. I actually love Lambdas, but no way I'd recommend that approach to someone who wasn't very AWS savvy.