Example #1
0
    def run_hook(self, **kwargs):
        real_kwargs = {
            'context': self.context,
            'provider': self.provider,
        }
        real_kwargs.update(kwargs)

        return upload_lambda_functions(**real_kwargs)
Example #2
0
    def run_hook(self, **kwargs):
        real_kwargs = {
            'context': self.context,
            'provider': self.provider,
        }
        real_kwargs.update(kwargs)

        return upload_lambda_functions(**real_kwargs)
def custom_lambda_upload(context, provider, **kwargs):
    new_results = {}
    results = upload_lambda_functions(context, provider, **kwargs)
    for name, code_obj in results.items():
        new_results = {
            "s3_key": code_obj.S3Key,
            "s3_bucket": code_obj.S3Bucket
        }
    return new_results
Example #4
0
    def run_hook(self, **kwargs):
        real_kwargs = {
            'region': REGION,
            'namespace': 'fake',
            'mappings': {},
            'parameters': {},
            'context': self.context
        }
        real_kwargs.update(kwargs)

        return upload_lambda_functions(**real_kwargs)
Example #5
0
 def run(**kwargs):
     return upload_lambda_functions(context=context, provider=provider,
                                    **kwargs)