ks888 / LambStatus

[Maintenance mode] Serverless Status Page System
https://lambstatus.github.io
Apache License 2.0
1.3k stars 119 forks source link

Terraform Module #100

Open adamlc opened 6 years ago

adamlc commented 6 years ago

It would be really awesome if this project was available as a terraform module too! I imagine it may be a fair amount of work initially to do this, but I think in the long run it would be worth the effort 😺

ks888 commented 6 years ago

Very interesting. Though I'm not sure how we can make a terraform module, PR is definitely welcome. (Or the separate repository may be better? Like 'lambstatus-terraform-module'?)

adamlc commented 6 years ago

I'll be honest I haven't looked at this in great detail, from what I'm aware and looking through the cloud formation file it should be possible!

Possibly the quickest way would be to setup a new AWS account and use a tool such as Terraforming to import that existing infrastructure and then change / update anything from there.

It does look a lot of moving parts, so not sure how practical it will be!

marcinc commented 6 years ago

Terraform native module would be nice, however, in the interim you can achieve similar thing with aws_cloudformation_stack. Currently lambstatus stack exceeds AWS size limitations (potentially splitting that in smaller chunks would help) so you'd have to store it in S3 and feed it from there, or just provide the release stack URL.