1 HeatTemplateFormatVersion: '2012-12-12'
2 Description: 'Common Swift Storage Configuration'
6 Default: overcloud-swift-storage
7 OvercloudSwiftStorageFlavor:
9 Description: Flavor for Swift storage nodes to request when deploying.
15 SwiftStorageAccessPolicy:
16 Type: OS::Heat::AccessPolicy
24 Policies: [ { Ref: SwiftStorageAccessPolicy } ]
26 Type: AWS::IAM::AccessKey
30 SwiftStorage0CompletionCondition:
31 Type: AWS::CloudFormation::WaitCondition
32 DependsOn: notCompute0Config
34 Handle: {Ref: SwiftStorage0CompletionHandle}
37 SwiftStorage0CompletionHandle:
38 Type: AWS::CloudFormation::WaitConditionHandle
40 Type: OS::Nova::Server
43 {Ref: SwiftStorageImage}
44 flavor: {Ref: OvercloudSwiftStorageFlavor}
45 key_name: {Ref: KeyName}
52 Fn::GetAtt: [ SwiftStorage0Key, SecretAccessKey ]
53 stack_name: {Ref: 'AWS::StackName'}
54 path: SwiftStorage0Config.Metadata
55 OpenStack::ImageBuilder::Elements: [ swift ]
57 Type: AWS::AutoScaling::LaunchConfiguration
63 Ref: SwiftStorage0CompletionHandle
69 Fn::GetAtt: [ SwiftStorage0Key, SecretAccessKey ]
70 stack_name: {Ref: 'AWS::StackName'}
71 path: SwiftStorage0Config.Metadata
72 admin-password: {Ref: AdminPassword}
83 tenant_network_type: {Ref: NeutronNetworkType}