Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据AWS CloudFormation 文档,我只是,为多个 zip 文件添加了一个并添加了更多源。
,
当我启动堆栈时,只有最后一个源(zip 文件)被下载并解压缩到正确的位置,所有其他的都被忽略了。
可能我的 JSON 是错误的。任何人 ?
我收到了 AWS 的回复。
您不能拥有相同类型的两个键,例如,两个键上方是“C:\folder1\folder2\”和“C:\folder1\folder2\”。它们一定是不同的。
因此,我将“C:\folder1\folder2\”之一更改为“C:\folder1\folder2\folder3”,并更改了我的 zip 文件以适应此更改,以便最终内容位于正确的文件夹结构中。