def ensure_ok(self):
"""Create the vpngateway"""
if not self.vpn_gw:
self._create_vpn_gw()
#self._set_tags()
#Update tags no matter what (need to make declaritive though,
# i.e. clean up / delete ones not in list so only tags remaining are ones explicity passed
self._set_tags()
if self.vpc and self.id:
self._attach_vpn_gw()
评论列表
文章目录