terraform-aws-serverless-static-wordpress icon indicating copy to clipboard operation
terraform-aws-serverless-static-wordpress copied to clipboard

Slack slash command to start WordPress container

Open jtatum opened this issue 3 years ago • 1 comments

It would be nice if Slack could be used to start and stop the WordPress container. I guess this would need to be another lambda and an API gateway. Since it just needs to set desiredCount, it should be doable with a single lambda while still returning within the five seconds Slack requires.

jtatum avatar Jul 04 '21 18:07 jtatum

Similar to https://github.com/TechToSpeech/terraform-aws-serverless-static-wordpress/issues/20 - there's a few ways to go about this.

I was thinking something as silly as: Static S3 website with federated Cognito login via Google (or similar) that allows you to toggle up/down from a page that's public, but only you can access. The same Lambda functionality could be leveraged for other trigger mechanisms.

petewilcock avatar Jul 04 '21 18:07 petewilcock