Files
heat-templates/hot/keystone/keystone_region.yaml
T
Adrien Vergé 2a2fe91602 Fix linting errors in YAML
This change corrects many problems detected by the `yamllint` linter.
It's a preparation for enabling this linter in change
Ie746230f28fe3ed0cf218201d5a3810f7bc44070.

For instance, the first run of the YAML linter helped discovering a key
duplication problem in `oso_ha.yaml`: the `depends_on` key was present
twice, so the first occurence was ignored.

Other changes are cosmetic: extra spaces, extra blank lines, missing
newlines at end-of-file, etc.

Change-Id: I7f2369adfb152fd2a74b9b105e969e653e592922
2016-03-11 14:57:38 +01:00

41 lines
1.0 KiB
YAML

heat_template_version: 2015-10-15
description: Sample Keystone Region template
parameters:
region_id:
type: string
description: Keystone region id
region_description:
type: string
description: Keystone region description
default: sample region
region_enabled:
type: boolean
description: Keystone region is enabled or disabled
default: True
parent_region_id:
type: string
description: Keystone region parent
resources:
parent_region:
type: OS::Keystone::Region
properties:
id: {get_param: parent_region_id}
description: {get_param: region_description}
enabled: {get_param: region_enabled}
child_region:
type: OS::Keystone::Region
properties:
id: {get_param: region_id}
parent_region: {get_resource: parent_region}
description: {get_param: region_description}
enabled: {get_param: region_enabled}
outputs:
parent_region_id:
value: {get_resource: parent_region}
child_region_id:
value: {get_resource: child_region}