InstanceType: {Ref: InstanceType}
KeyName: {Ref: KeyName}
Metadata:
+ os-collect-config:
+ cfn:
+ access_key_id:
+ Ref: ComputeKey
+ secret_access_key:
+ Fn::GetAtt: [ ComputeKey, SecretAccessKey ]
+ stack_name: {Ref: 'AWS::StackName'}
+ path: NovaCompute0Config.Metadata
OpenStack::ImageBuilder::Elements: [ nova-compute ]
+ NovaCompute0Config:
+ Type: AWS::AutoScaling::LaunchConfiguration
+ Properties:
+ InstanceType: '0'
+ ImageId: '0'
+ Metadata:
os-collect-config:
cfn:
access_key_id:
secret_access_key:
Fn::GetAtt: [ ComputeKey, SecretAccessKey ]
stack_name: {Ref: 'AWS::StackName'}
- path: NovaCompute0.Metadata
+ path: NovaCompute0Config.Metadata
nova:
compute_driver: {Ref: NovaComputeDriver}
compute_libvirt_type: {Ref: NovaComputeLibvirtType}
host: {Ref: NeutronHost}
ovs_db: {Ref: NeutronDSN}
ovs:
- local_ip: 0.0.0.0
+ local_ip:
+ Fn::GetAtt:
+ - NovaCompute0
+ - PrivateIp
tenant_network_type: {Ref: NeutronNetworkType}
network_vlan_ranges: {Ref: NeutronNetworkVLANRanges}
bridge_mappings: {Ref: NeutronBridgeMappings}
Properties:
AllowedResources:
- NovaCompute0
+ - NovaCompute0Config
Type: OS::Heat::AccessPolicy
Key:
Properties:
Policies:
- Ref: ComputeAccessPolicy
Type: AWS::IAM::User
- NovaCompute0:
+ NovaCompute0Config:
Type: FileInclude
Path: nova-compute-instance.yaml
- SubKey: Resources.NovaCompute0
+ SubKey: Resources.NovaCompute0Config
Parameters:
NovaApiHost: {"Fn::GetAtt": [notcompute, PrivateIp]}
KeystoneHost: {"Fn::GetAtt": [notcompute, PrivateIp]}
NeutronBridgeMappings: ""
RabbitPassword: "guest"
ServicePassword: "unset"
+ NovaCompute0:
+ Type: FileInclude
+ Path: nova-compute-instance.yaml
+ SubKey: Resources.NovaCompute0
User:
Properties:
Policies: