1 HeatTemplateFormatVersion: '2012-12-12'
2 Description: 'HEAT Template - Keystone'
5 Description: Name of an existing EC2 KeyPair to enable SSH access to the instances
9 Description: Use this flavor
13 Description: DSN for connecting to keystone
21 Type: OS::Heat::AccessPolicy
23 AllowedResources: [ KeystoneLaunch, Keystone ]
27 Policies: [ { Ref: ApiAccessPolicy } ]
29 Type: AWS::IAM::AccessKey
34 Type: AWS::AutoScaling::LaunchConfiguration
38 InstanceType: {Ref: InstanceType}
39 KeyName: {Ref: KeyName}
41 OpenStack::ImageBuilder::Elements: [ keystone ]
46 Fn::GetAtt: [ ApiKey, SecretAccessKey ]
48 name: {Ref: 'AWS::StackName'}
49 region: {Ref: 'AWS::Region'}
52 admin-token: {Ref: AdminToken}
54 db: {Ref: KeystoneDSN}
56 Type: OS::Heat::InstanceGroup
58 LaunchConfigurationName: { Ref: KeystoneLaunch }
59 AvailabilityZones: [ 1 ]