Open moioo91120 opened 2 years ago
Are you talking about the simulator or real deployed AppSync? Looks like you are talking about the simulator, so this is the wrong repo to ask related questions.
The simulator supports substitutions too, however, there are some limitations when using Intrinsic functions (eg: { "Fn::ImportValue": "Some-external-stuff" }
). SF variables might not work either.
See this section: https://github.com/bboure/serverless-appsync-simulator#override-or-mock-values
Hello,
I have an appsync service with appsync simulator to make it work locally.
I'm using the substitution , same way as the readme :
But on my vtl template , it doesn't seem to replace "exampleVar1" with the associated value
Note that I'm starting my server with following script :
"start": "sls offline start --stage dev --config ./serverless/serverless.yml",
Anyone know what I did wrong ? thanks,