NLeSC / nlesc-serverless-boilerplate

An AWS amplify boilerplate web application
Apache License 2.0
3 stars 0 forks source link

Make setting of security group and subnets optional #1

Open sverhoeven opened 4 years ago

sverhoeven commented 4 years ago

At the moment the security group and subnets used by AWS Batch jobs have to be configured in the amplify/backend/batch/task/parameters.json file for each AWS account/region.

Pro:

Con:

Solutions:

  1. Keep as is and clearly document how to configure
  2. Always create our own vpc/subnets/security group using cloud formation resources
  3. Add a boolean field called useCustomSecurityGroup to the parameters.json that will either use the configured security group or create a new one.
fgenoese commented 3 years ago

Is the issue still open?

sverhoeven commented 3 years ago

It is, the current setup worked last year by editing the https://github.com/NLeSC/nlesc-serverless-boilerplate/blob/master/amplify/backend/batch/task/parameters.json file. No attempt has been made to improve it.