@@ -38,7 +38,6 @@ def __init__(self, config, profile_name):
38
38
returns the package version
39
39
'''
40
40
def upload_existing (self , pkg ):
41
- environment = {'Variables' : self ._config .variables }
42
41
self ._validate_package_size (pkg .zip_file )
43
42
with open (pkg .zip_file , "rb" ) as fil :
44
43
zip_file = fil .read ()
@@ -70,7 +69,6 @@ def upload_existing(self, pkg):
70
69
Timeout = self ._config .timeout ,
71
70
MemorySize = self ._config .memory ,
72
71
VpcConfig = self ._vpc_config ,
73
- Environment = environment ,
74
72
)
75
73
LOG .debug ("AWS update_function_configuration response: %s"
76
74
% response )
@@ -92,7 +90,6 @@ def upload_existing(self, pkg):
92
90
returns the package version
93
91
'''
94
92
def upload_new (self , pkg ):
95
- environment = {'Variables' : self ._config .variables }
96
93
code = {}
97
94
if self ._config .s3_bucket :
98
95
code = {'S3Bucket' : self ._config .s3_bucket ,
@@ -116,7 +113,6 @@ def upload_new(self, pkg):
116
113
MemorySize = self ._config .memory ,
117
114
Publish = self ._config .publish ,
118
115
VpcConfig = self ._vpc_config ,
119
- Environment = environment ,
120
116
)
121
117
LOG .debug ("AWS create_function response: %s" % response )
122
118
0 commit comments