【发布时间】:2017-01-08 04:24:35
【问题描述】:
是否可以像这样将 DependsOn 与 Fn::ImportValue 一起使用?
"DependsOn": {"Fn::ImportValue": {
"Fn::Sub": "${MyStack1}-VPCGatewayAttachment"
}}
具体来说,我将我的 VPC 和 InternetGatewayAttchment 放在一个堆栈中。我在 Stack2 中导入这个堆栈,在那里我有我的 ELB,我正在尝试使用 DependsOn 来依赖这个附件
【问题讨论】:
标签: amazon-web-services amazon-cloudformation