Closed gkpty closed 5 years ago
[x] create buckets
[x] create route53 resources
[x] add site to bucket
[x] create the IAM policy
[x] create the IAM role
[x] deploy the Lambda function
[x] create the API
Writing/reading from a json file in node.js
https://flaviocopes.com/how-to-save-json-object-to-file-nodejs/
https://medium.com/@osiolabs/read-write-json-files-with-node-js-92d03cc82824
need to review the region settings so that everything gets created with the region the user entered in the env variable
make sure the uniqNow variable is the same for lambda-script and website-script
write the REST API url to the variables.json file
The installation process of almost CMS is very tedious because it requires the user to do a bunch of things in the AWS console. Most of these steps can be automated using either the AWS CLI, an AWS CloudFormation file, or the AWS SDK. Writing a script with the SDK is probably the best option in terms of flexibility and convenience for the user.