2014-11-09 55 views
0

我试图启动一个EC2实例并使用AWS CF在其上安装SQL Server。 我也做了以下几件事:无法使用云形成脚本在EC2实例上安装SQL Server

1. Created a powershell script to download executables for SQL Server. 
2. Creating a .bat file to trigger installation once the installation is completed. 
3. Once the instance gets created the file is downloaded and installation should start. 

但我得到一个waitcondition超时错误。

我的代码

https://s3-ap-southeast-2.amazonaws.com/zmanda1/piece.txt

感谢&问候, 山塔努

回答

0

我不明白,你已经暗示您的实例完成你的等待状态。您必须使用cfn-signal命令向您的实例发出等待状态信号。请参阅AWS documentation

我不能说是否有其他错误可能会阻止模板工作,但您需要用cfn-signal指示实例的开始,或者完全删除等待条件。