diff options
Diffstat (limited to 'heat/engine/resources/aws/autoscaling/scaling_policy.py')
-rw-r--r-- | heat/engine/resources/aws/autoscaling/scaling_policy.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/heat/engine/resources/aws/autoscaling/scaling_policy.py b/heat/engine/resources/aws/autoscaling/scaling_policy.py index b00d4b15b..2c1dff85b 100644 --- a/heat/engine/resources/aws/autoscaling/scaling_policy.py +++ b/heat/engine/resources/aws/autoscaling/scaling_policy.py @@ -85,7 +85,8 @@ class AWSScalingPolicy(heat_sp.AutoScalingPolicy): attributes_schema = { ALARM_URL: attributes.Schema( _("A signed url to handle the alarm. (Heat extension)."), - type=attributes.Schema.STRING + type=attributes.Schema.STRING, + cache_mode=attributes.Schema.CACHE_NONE ), } @@ -101,7 +102,7 @@ class AWSScalingPolicy(heat_sp.AutoScalingPolicy): def get_reference_id(self): if self.resource_id is not None: - return six.text_type(self._get_ec2_signed_url()) + return six.text_type(self._get_ec2_signed_url(never_expire=True)) else: return six.text_type(self.name) |