-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Global variables are undefined when running local invoke #380
Comments
This is solved in the latest release - https://github.com/awslabs/aws-sam-cli/releases/tag/v0.3.0. |
Possibly a regression - but this is not working for me on 0.6.1.
|
@fairct What is the regression? In 0.6.1, we added support for resolving Parameter Refs (not Sub). You can see that refVariable was included in the environment variables. For Environment Variables using other intrinsics, you will need to use the If you still think there is a regression here, please open a new issue and describe what the difference is so we can look deeper into it. |
I see now. I didn't notice that an env var was set in the original issue that was raised here - so thought that a bug came back. Would it be reasonable to open a feature request for this? I haven't dug into the codebase much at all to determine if it's something within my skillset to PR. |
@fairct For Sub intrinsic support? We have a couple open issues for different Intrinsic support, #528 is one. Taking a look at the PR for supporting Ref, might be a good place to start. Happy to help in any way, if you are interesting in taking on Sub support. |
* Sync flow for Step Functions * Added generator mapping for step functions resources * Improve documentation and logging * Improve logging * Updated loading mechanism and tests
works fine when I run
but if I move that to Globals then this becomes "undefined"
The text was updated successfully, but these errors were encountered: