Add a waitcondition for signalling stack-up.

Without this we need horrible hacks to detect whether the cloud is
ready to use.

Change-Id: Ic5c5fd16c6c283d3d339e1f1238d3349d0b93f7c
This commit is contained in:
Robert Collins 2013-10-10 13:56:30 +13:00
parent e48aa3e4b6
commit 9a745e8167
1 changed files with 11 additions and 0 deletions

View File

@ -81,6 +81,15 @@ Resources:
UserName:
Ref: User
Type: AWS::IAM::AccessKey
CompletionCondition:
Type: AWS::CloudFormation::WaitCondition
DependsOn: notcompute
Properties:
Handle: {Ref: CompletionHandle}
Count: '1'
Timeout: '1800'
CompletionHandle:
Type: AWS::CloudFormation::WaitConditionHandle
ComputeKey:
Properties:
UserName:
@ -138,6 +147,8 @@ Resources:
volume_size_mb: '5000'
service-password:
Ref: CinderPassword
completion-handle:
Ref: CompletionHandle
controller-address:
Fn::Select:
- 0