tripleo-heat-templates/examples/scale_map_hot.yaml

43 lines
1.3 KiB
YAML

heat_template_version: 2014-10-16
resources:
ComputeUser:
type: AWS::IAM::User
properties:
Policies: [ { get_param: ComputeAccessPolicy } ]
GlobalAccessPolicy:
type: OS::Heat::AccessPolicy
NovaCompute0Key:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0Key
NovaCompute0CompletionCondition:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0CompletionCondition
NovaCompute0CompletionHandle:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0CompletionHandle
NovaCompute0Config:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0Config
parameters:
AllHosts:
list_join:
- "\n"
- Merge::Map:
NovaCompute0:
list_join:
- ' '
- - {get_attr: [NovaCompute0, networks, ctlplane, 0]}
- {get_attr: [NovaCompute0, show, name]}
- list_join:
- '.'
- - {get_attr: [NovaCompute0, show, name]}
- 'local'
NovaCompute0:
type: FileInclude
Path: examples/scale_map2_hot.yaml
SubKey: resources.NovaCompute0