2014-11-09 49 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指示實例的開始,或者完全刪除等待條件。