Add vpc_config to md5
Changing the VPC config otherwise results in configuration being ignored during a deploy
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -190,6 +190,7 @@ class Function(object): | ... | @@ -190,6 +190,7 @@ class Function(object): |
190 | m.update(str(self.memory_size).encode('utf-8')) | 190 | m.update(str(self.memory_size).encode('utf-8')) |
191 | m.update(self._context.exec_role_arn.encode('utf-8')) | 191 | m.update(self._context.exec_role_arn.encode('utf-8')) |
192 | m.update(str(self.timeout).encode('utf-8')) | 192 | m.update(str(self.timeout).encode('utf-8')) |
193 | + m.update(str(self.vpc_config).encode('utf-8')) | ||
193 | config_md5 = m.hexdigest() | 194 | config_md5 = m.hexdigest() |
194 | cached_md5 = self._context.get_cache_value('config_md5') | 195 | cached_md5 = self._context.get_cache_value('config_md5') |
195 | LOG.debug('config_md5: %s', config_md5) | 196 | LOG.debug('config_md5: %s', config_md5) | ... | ... |
-
Please register or login to post a comment