diff options
author | Peter Razumovsky <prazumovsky@mirantis.com> | 2014-11-13 18:31:46 +0300 |
---|---|---|
committer | Peter Razumovsky <prazumovsky@mirantis.com> | 2014-11-20 17:05:17 +0300 |
commit | 13435988905df7de2d804ba2201ec08f13f61de6 (patch) | |
tree | 3f24495a4455749ec3faabd91d81d1d6beff5512 /etc | |
parent | f39600e28b62a4f00f30d4d17e7c1cb1ad7bc588 (diff) | |
download | heat-13435988905df7de2d804ba2201ec08f13f61de6.tar.gz |
Add Dimensions Default in AWS_CloudWatch_Alarm.yaml
Relying on [1], property Dimensions isn't required, but
this template has no Default value for Dimensions
(thereby making it required). This patch fix that omission.
Besides that, parameters have wrong parsing, because if
parameter with type 'CommaDelimitedList' has default
value '', parameter's parsing result would be [u''] instead
of []. this is wrong, so this patch fix it.
[1] http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html
Change-Id: I259249659c8b5dc846432f8e08985b148b30d682
Closes-bug: #1386824
Diffstat (limited to 'etc')
-rw-r--r-- | etc/heat/templates/AWS_CloudWatch_Alarm.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/heat/templates/AWS_CloudWatch_Alarm.yaml b/etc/heat/templates/AWS_CloudWatch_Alarm.yaml index e21e500d6..2e5f36625 100644 --- a/etc/heat/templates/AWS_CloudWatch_Alarm.yaml +++ b/etc/heat/templates/AWS_CloudWatch_Alarm.yaml @@ -43,6 +43,7 @@ Parameters: Default: '' Dimensions: Type: CommaDelimitedList + Default: '' Mappings: ComparisonOperatorMap: |