You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using !Ref intrinsic in AutoPublishAlias in SAM StateMachine there is an error that pops up
'Logical ids must be alphanumeric.'
This is because SAM doesn't resolve the intrinsic used in AutoPublishAlias as its considered a pass through. This same behavior works in SAM Function and its AutoPublishAlias property as that property has its intrinsic resolved.
This causes sam deploy and other SAM CLI functions to fail.
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
Description
When using
!Ref
intrinsic inAutoPublishAlias
in SAM StateMachine there is an error that pops upThis is because SAM doesn't resolve the intrinsic used in
AutoPublishAlias
as its considered a pass through. This same behavior works in SAM Function and itsAutoPublishAlias
property as that property has its intrinsic resolved.This causes
sam deploy
and other SAM CLI functions to fail.Steps to reproduce
Example SAM template
Observed result
Error when translating StateMachine part of the SAM template
Expected result
AutoPublishAlias
in SAM StateMachine should not error out and should work like SAM Function'sAutoPublishAlias
Additional environment details
sam --version
:The text was updated successfully, but these errors were encountered: