sparse-intern-71089
06/14/2020, 11:09 PMchilly-hairdresser-56259
06/15/2020, 1:45 PMnumerous-lifeguard-13411
06/15/2020, 4:10 PMchilly-hairdresser-56259
06/15/2020, 4:27 PMenableInternetTraffic=0
then within the pulumi program import os
then retrieve the variable enableInternetTraffic
then just do if enableInternetTraffic=1
then create the NAT Gateway and routes in respective routing table. That way could trigger off a schedule of at 9PM we want to patch so we set the environment variable to 1 then create resources, then allow patching, then determinate by Maintenance Window run the same pipeline but the pipeline sets the environment variable 0 which removes those resources.numerous-lifeguard-13411
06/15/2020, 5:21 PMnumerous-lifeguard-13411
06/15/2020, 5:23 PMnumerous-lifeguard-13411
06/15/2020, 5:23 PMchilly-hairdresser-56259
06/15/2020, 6:06 PMchilly-hairdresser-56259
06/15/2020, 6:06 PM