-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
!If not working on Serverless:Function handler #3554
Comments
Hello @des-psl , thanks for raising the issue. As mentioned in #2533 SAM Transform does not support intrinsic functions for You can update your template, and replace
with
|
@xazhao I tried your solution but still not working:
|
Hi @des-psl, The recommendation is not to use any intrinsic functions in the |
Closing the issue. Feel free to reopen it if you have other questions. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Description
I am trying to have a conditional (!If) on my lambda handler property to execute different logics depending of an env var
Steps to reproduce
Observed result
Global handlers variable is resolving to its false value (test2.handler), but at the Outputs, Condition is resolving to true (test1.handler)
Expected result
Global handlers and Output Condition should both resolving to true (test1.handler)
Additional environment details
sam --version
:The text was updated successfully, but these errors were encountered: