diff options
-rw-r--r-- | nova-compute-instance.yaml | 11 | ||||
-rw-r--r-- | overcloud-source.yaml | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml index 91520659..2aadea8d 100644 --- a/nova-compute-instance.yaml +++ b/nova-compute-instance.yaml @@ -67,6 +67,15 @@ Resources: Properties: UserName: Ref: ComputeUser + CompletionCondition: + Type: AWS::CloudFormation::WaitCondition + DependsOn: notcompute + Properties: + Handle: {Ref: CompletionHandle} + Count: '1' + Timeout: '1800' + CompletionHandle: + Type: AWS::CloudFormation::WaitConditionHandle NovaCompute0: Type: OS::Nova::Server Properties: @@ -90,6 +99,8 @@ Resources: InstanceType: '0' ImageId: '0' Metadata: + completion-handle: + Ref: CompletionHandle os-collect-config: cfn: access_key_id: diff --git a/overcloud-source.yaml b/overcloud-source.yaml index 798ca8dc..3e83684d 100644 --- a/overcloud-source.yaml +++ b/overcloud-source.yaml @@ -100,7 +100,7 @@ Resources: DependsOn: notcompute Properties: Handle: {Ref: CompletionHandle} - Count: '1' + Count: '2' Timeout: '1800' CompletionHandle: Type: AWS::CloudFormation::WaitConditionHandle |