HeatTemplateFormatVersion: '2012-12-12'
Resources:
  ComputeUser:
    Type: AWS::IAM::User
    Properties:
      Policies: [ { Ref: ComputeAccessPolicy } ]
  GlobalAccessPolicy:
    Type: OS::Heat::AccessPolicy
  NovaCompute0Key:
    Type: FileInclude
    Path: examples/scale2.yaml
    SubKey: Resources.NovaCompute0Key
  NovaCompute0CompletionCondition:
    Type: FileInclude
    Path: examples/scale2.yaml
    SubKey: Resources.NovaCompute0CompletionCondition
  NovaCompute0CompletionHandle:
    Type: FileInclude
    Path: examples/scale2.yaml
    SubKey: Resources.NovaCompute0CompletionHandle
  NovaCompute0Config:
    Type: FileInclude
    Path: examples/scale2.yaml
    SubKey: Resources.NovaCompute0Config
    Parameters:
        ComputeImage: "123"
        RabbitUserName: "guest"
        RabbitPassword: "guest"
  NovaCompute0:
    Type: FileInclude
    Path: examples/scale2.yaml
    SubKey: Resources.NovaCompute0
