summaryrefslogtreecommitdiffstats
path: root/examples/scale_map_hot.yaml
blob: 24c14dcca2b6a065c3da7bd71fb2fad35deddb29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
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:
              - ' '
              - - Fn::Select:
                  - 0
                  - Fn::Select:
                    - ctlplane
                    - get_attr:
                      - NovaCompute0
                      - networks
                - Fn::Select:
                  - name
                  - get_attr:
                    - NovaCompute0
                    - show
                - list_join:
                  - '.'
                  - - Fn::Select:
                      - name
                      - get_attr:
                        - NovaCompute0
                        - show
                    - 'local'
  NovaCompute0:
    type: FileInclude
    Path: examples/scale_map2_hot.yaml
    SubKey: resources.NovaCompute0