考虑serverless模板
stepFunctions:
stateMachines:
MyStateMachine:
name: "#{AWS::StackName}SomeName"
给我:
Error: The CloudFormation template is invalid: Template format error: Resource name #{AWS::StackName}SomeName is non alphanumeric.
因此,此内联不起作用。有什么想法吗?
答案 0 :(得分:0)
没什么神奇的,您不需要引号,请尝试以下操作:
stepFunctions:
stateMachines:
MyStateMachine:
name: #{AWS::StackName}SomeName