diff options
Diffstat (limited to 'examples/scale_map.yaml')
-rw-r--r-- | examples/scale_map.yaml | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/examples/scale_map.yaml b/examples/scale_map.yaml new file mode 100644 index 00000000..7c79ad57 --- /dev/null +++ b/examples/scale_map.yaml @@ -0,0 +1,55 @@ +Resources: + ComputeUser: + Type: AWS::IAM::User + Properties: + Policies: [ { Ref: ComputeAccessPolicy } ] + GlobalAccessPolicy: + Type: OS::Heat::AccessPolicy + NovaCompute0Key: + Type: FileInclude + Path: examples/scale_map2.yaml + SubKey: Resources.NovaCompute0Key + NovaCompute0CompletionCondition: + Type: FileInclude + Path: examples/scale_map2.yaml + SubKey: Resources.NovaCompute0CompletionCondition + NovaCompute0CompletionHandle: + Type: FileInclude + Path: examples/scale_map2.yaml + SubKey: Resources.NovaCompute0CompletionHandle + NovaCompute0Config: + Type: FileInclude + Path: examples/scale_map2.yaml + SubKey: Resources.NovaCompute0Config + Parameters: + AllHosts: + Fn::Join: + - "\n" + - Merge::Map: + NovaCompute0: + Fn::Join: + - ' ' + - - Fn::Select: + - 0 + - Fn::Select: + - ctlplane + - Fn::GetAtt: + - NovaCompute0 + - networks + - Fn::Select: + - name + - Fn::GetAtt: + - NovaCompute0 + - show + - Fn::Join: + - '.' + - - Fn::Select: + - name + - Fn::GetAtt: + - NovaCompute0 + - show + - 'local' + NovaCompute0: + Type: FileInclude + Path: examples/scale_map2.yaml + SubKey: Resources.NovaCompute0 |