blob: ce6b84b81ec7fb202fe6d4c9f2b817d6b812b9c0 (
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
|
HeatTemplateFormatVersion: '2012-12-12'
Description: 'HEAT Template - Heat Engine and API'
Parameters:
AllowedResources:
Type: list
Resources:
AccessPolicy:
Type: OS::Heat::AccessPolicy
Properties:
AllowedResources: {Ref: AllowedResources}
User:
Type: AWS::IAM::User
Properties:
Policies: [ { Ref: AccessPolicy } ]
Key:
Type: AWS::IAM::AccessKey
Properties:
UserName:
Ref: User
Outputs:
AccessKeyId:
Ref: Key
SecretKey:
Fn::GetAtt: [ Key, SecretAccessKey ]
|