diff options
Diffstat (limited to 'heat/engine/resources/openstack/heat/scaling_policy.py')
-rw-r--r-- | heat/engine/resources/openstack/heat/scaling_policy.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/heat/engine/resources/openstack/heat/scaling_policy.py b/heat/engine/resources/openstack/heat/scaling_policy.py index c0afc212e..e1f3c52f9 100644 --- a/heat/engine/resources/openstack/heat/scaling_policy.py +++ b/heat/engine/resources/openstack/heat/scaling_policy.py @@ -99,7 +99,8 @@ class AutoScalingPolicy(signal_responder.SignalResponder): attributes_schema = { ALARM_URL: attributes.Schema( _("A signed url to handle the alarm."), - type=attributes.Schema.STRING + type=attributes.Schema.STRING, + cache_mode=attributes.Schema.CACHE_NONE ), SIGNAL_URL: attributes.Schema( _("A url to handle the alarm using native API."), @@ -186,7 +187,7 @@ class AutoScalingPolicy(signal_responder.SignalResponder): if self.resource_id is None: return if name == self.ALARM_URL: - return six.text_type(self._get_ec2_signed_url()) + return six.text_type(self._get_ec2_signed_url(never_expire=True)) elif name == self.SIGNAL_URL: return six.text_type(self._get_heat_signal_url()) |