We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7c6c1d commit fc8762bCopy full SHA for fc8762b
deploylambda/deploylambda.py
@@ -202,10 +202,12 @@ def _build_metadata(skeleton, config):
202
except KeyError:
203
del skeleton[config_key]
204
# build our input data from file
205
- return dict(skeleton.items() + config.items())
206
- # pop this key if seen
207
- #if 'VpcId' in cli_input_json['VpcConfig']:
208
- # cli_input_json['VpcConfig'].pop('VpcId')
+ # pop this sub-tree key if seen, its not permitted
+ config = dict(skeleton.items() + config.items())
+ if 'VpcId' in config['VpcConfig']:
+ config['VpcConfig'].pop('VpcId')
209
+
210
+ return config
211
212
def update_metadata(self, path):
213
"""get the current config"""
0 commit comments