Open carlquistb opened 4 years ago
additional checks for STACKS -- POST could be beneficial.
How to verify that there is no active stack for that world?
cfn.listStacks
(filtered for active stacks) to get all stack IDs needed. Could be zero.
cfn.describeStacks
per stack returned above. The results contain the parameters of stack creation. Check the world parameter against what was supplied in the POST request.
There should also be a helper lambda function that verifies the validity of the request parameters.
add a check to the lambda function for opening stacks when the world is already in use.
can stack name be moved into the API, instead of a query string parameter?