Open speshak opened 4 years ago
I've at least got the CFN template committed here: https://github.com/speshak/wger/blob/s3-document/extras/aws/wger-cloudfront.template I'll get the docs written up soon.
Withough knowing anything about CF templates... but that thing is huge! Does it need all that boilerplate?
It certainly could be accomplished with less. I'm a bit of a stickler for making everything comply with best-practices so it got fairly verbose in order to keep the permissions tight. (It doesn't help that I spend a lot of my day job writing these templates, so I've gotten pretty desensitized to the wall of YAML that results)
460 includes features that allow hosting static assets in S3. I added this to scratch a personal itch and it probably isn't well documented enough. I've also got a CloudFormation template that sets up the required AWS resources that probably should be included here to lower the barrier to entry.