serverless-offline
serverless-offline copied to clipboard
Support Resolution of Cloudformation referenced environment variables
Feature Request
Resolution of Cloudformation referenced environment variables
serverless recently added better support for cloudformation referenced environment variables for sls invoke local
. They currently support !Ref and !ImportValue
https://www.serverless.com/framework/docs/providers/aws/cli-reference/invoke-local#local-function-invocation-setting-environment-variables
https://github.com/serverless/serverless/pull/8157 https://github.com/serverless/serverless/pull/8198
These types of environment variables still resolve to [Object object] when using serverless-offline. Are there any plans to support them as well or suggestions on an approach to minimise the duplication of effort with serverless?
So I guess the answer is no then? 😢
Curious about the status of this.
Was this resolved @dherault?
@dherault This doesn't look resolved
+1 for this. Any news?
@dnalborczyk
I can re-open this issue, but it appears that serverless
might be responsible for the variable resolution.
any discussions or future plans for this from serverless, serverless-offline ? this is really a deal breaker for using other common serverless plugins like lift as it makes it impossible to write an integration or e2e test.