是否可以创建这样的堆栈输出:
TargetGroupARN1Part:
Description: the final portion of the target group ARN
Value:
Fn::Select:
- 5
- Fn::Split:
- ":"
- !Ref WebTG
当我尝试它时,我得到:
Template format error: Invalid outputs property : [Fn::Select]
merci A
这应该是有效的,就像它在我的测试中一样。
你也可以试试缩写形式,比如:
TargetGroupARN1Part:
Description: the final portion of the target group ARN
Value: !Select [5, !Split [':', !Ref WebTG]]