Merge "Specify group os-apply-config for config resources"
[apex-tripleo-heat-templates.git] / ssl-source.yaml
1 Description: 'ssl-source: SSL endpoint metadata for openstack'
2 Parameters:
3   SSLCertificate:
4     Default: ''
5     Description: If set, the contents of an SSL certificate .crt file for encrypting SSL endpoints.
6     Type: String
7     NoEcho: true
8   SSLKey:
9     Default: ''
10     Description: If set, the contents of an SSL certificate .key file for encrypting SSL endpoints.
11     Type: String
12     NoEcho: true
13 Resources:
14   SSLConfig:
15     Type: OS::Heat::StructuredConfig
16     Properties:
17       group: os-apply-config
18       config:
19         stunnel:
20           cert:
21             get_input: ssl_certificate
22           key:
23             get_input: ssl_key
24           ports:
25            - name: 'ec2'
26              accept: 13773
27              connect: 8773
28            - name: 'image'
29              accept: 13292
30              connect: 9292
31            - name: 'identity'
32              accept: 13000
33              connect: 5000
34            - name: 'network'
35              accept: 13696
36              connect: 9696
37            - name: 'compute'
38              accept: 13774
39              connect: 8774
40            - name: 'swift-proxy'
41              accept: 13080
42              connect: 8080
43            - name: 'cinder'
44              accept: 13776
45              connect: 8776