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:
parent
e48aa3e4b6
commit
9a745e8167
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue