@@ -38,7 +38,6 @@ def __init__(self, config, profile_name):
3838 returns the package version
3939 '''
4040 def upload_existing (self , pkg ):
41- environment = {'Variables' : self ._config .variables }
4241 self ._validate_package_size (pkg .zip_file )
4342 with open (pkg .zip_file , "rb" ) as fil :
4443 zip_file = fil .read ()
@@ -70,7 +69,6 @@ def upload_existing(self, pkg):
7069 Timeout = self ._config .timeout ,
7170 MemorySize = self ._config .memory ,
7271 VpcConfig = self ._vpc_config ,
73- Environment = environment ,
7472 )
7573 LOG .debug ("AWS update_function_configuration response: %s"
7674 % response )
@@ -92,7 +90,6 @@ def upload_existing(self, pkg):
9290 returns the package version
9391 '''
9492 def upload_new (self , pkg ):
95- environment = {'Variables' : self ._config .variables }
9693 code = {}
9794 if self ._config .s3_bucket :
9895 code = {'S3Bucket' : self ._config .s3_bucket ,
@@ -116,7 +113,6 @@ def upload_new(self, pkg):
116113 MemorySize = self ._config .memory ,
117114 Publish = self ._config .publish ,
118115 VpcConfig = self ._vpc_config ,
119- Environment = environment ,
120116 )
121117 LOG .debug ("AWS create_function response: %s" % response )
122118
0 commit comments