0
这里的答案:Is there a way to parameterize cloud formation resource names?并没有真正的帮助,因为我正在设置物理名称,而不是逻辑名称。我希望的沿参数列表,如设置一个参数的东西线:参数化CloudFormation模板中的资源名称?
"ELBName": {
"Type": "String",
"Default": "xxx",
"Description": "The Production Number for this stack (e.g. xxx)"
}
然后
"LoadBalancerName": "prod" + {Ref: "ELBName"}
尽管这级联直接是不可能的。有什么办法可以做我想做的事吗?我的最终目标是采用我创建的模板并使用它创建自己的多个副本,每个副本都具有相同的资源,但名称可能不同,可能通过嵌套堆栈。