the local experience uses the .eventual directory to find the service name after a synth, this was based on the CWD. However, CDK is the one that writes the .eventual directory out and that would output to the CWD of where the synth script was run.
Add an outDir option to the eventual config
Add consistent resolution logic of the outDir based on the location of the eventual.json file
use the consistent .eventual discovery in CDK and the cli.
the local experience uses the
.eventual
directory to find the service name after a synth, this was based on the CWD. However, CDK is the one that writes the.eventual
directory out and that would output to the CWD of where the synth script was run..eventual
discovery in CDK and the cli.