Open mackensen opened 7 months ago
In limited manual testing with the simulation only removing this block from src/interface/variables/string-variable.ts
resolved the issue:
inputCopy = inputCopy.replace(match, JSON.stringify(replacement));
inputCopy = inputCopy.replace(match, JSON.stringify(replacement));
I don't know what the full implications of that change are.
I have this block of code that gets the security groups from an EFS mount target and then creates a new mount target using that value:
This deploys via CDK without any issues and works. However, the simulator throws an exception. I've mocked the target creation:
I added some debugging which revealed it's JSON.parse() throwing the exception, on this (invalid) generated string:
Full log:
Any guidance would be appreciated. Thanks for all the excellent work on this project!