terraform-aws-serverless-static-wordpress
terraform-aws-serverless-static-wordpress copied to clipboard
Slack slash command to start WordPress container
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.
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.