我尝试在 CI 管道中使用 Taskcat 测试一堆堆栈,但其中一些堆栈依赖于其他堆栈及其导出的值。
Taskcat 是否能够在部署列表中的其他堆栈之前先等待配置的测试部分中的其他堆栈完成?
我正在使用与此类似的taskcat配置:
project:
name: cfn-test
regions:
- us-east-1
tests:
test-template-with-exported-values:
parameters:
EnvironmentId: ci
template: ./test-template-1.yml
test-template-using-exported-values:
parameters:
EnvironmentId: ci
template: ./test-template-2.yml
第二个测试将立即失败,并出现类似的错误,如下所示:
No export named SomeExportedValue found
最佳答案
目前还没有,但它在我们的积压工作中。请参阅此 GitHub 问题以进行跟踪。
我们将在那里发布更新,包括开发版本可用时。
谢谢
-安德鲁
关于amazon-web-services - 具有导出值和 Taskcat 的 CloudFormation 堆栈,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60180374/