Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- heat_template_version: newton
- parameters:
- env_type:
- type: string
- default: 'prod'
- conditions:
- is_prod: {equals : [{get_param: env_type}, "prod"]}
- is_test: {equals : [{get_param: env_type}, "test"]}
- resources:
- deployment_type:
- condition: is_test
- type: OS::Heat::Value
- properties:
- value: Test
- deployment_type:
- condition: is_prod
- type: OS::Heat::Value
- properties:
- value: Prod
- outputs:
- deployment:
- value:
- get_attr:
- - deployment_type
- - value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement