From 9a745e8167adee395cae705d234d29d360d8b69b Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Thu, 10 Oct 2013 13:56:30 +1300 Subject: 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 --- overcloud-source.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'overcloud-source.yaml') diff --git a/overcloud-source.yaml b/overcloud-source.yaml index 442a21ee..98c38540 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -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 -- cgit 1.2.3-korg