Add an option to the `build` command to output recommended architectures
ericzbeard opened this issue · comments
Instead of simply outputting a placeholder for each possible property, output a complete template that configures the resource in a best-practices way, including extra related resources, like roles and log groups. These templates should pass common checks from tools like CloudFormation Guard and Checkov.
I'm thinking that this could be an interactive dialog that allows a small measure of configuration.
$ rain build -r
Recommended architectures
1. bucket An encrypted S3 bucket and supporting buckets for logging and replication->
-> 2. pipeline A CodePipeline pipeline and build job
3. rest-api An API Gateway API, compute, and data storage for a simple REST API
4. vpc A VPC with public and private subnets
Select pipeline options
1. codecommit CodeCommit source
-> 2. s3 S3 source
The interactive dialog could be avoided by entering the selections as args:
$ rain build -r pipeline s3