"""Script used to test the lambda function with an event that causes vendor creation.""" import json import uuid from pathlib import Path json_path = Path('tests/sample_event.json') # Read the original JSON file with open(json_path, 'r') as f: data = json.load(f) # Update with new UUID data['correlation_id'] = str(uuid.uuid4()) data['email'] = f'lambda_gda_creation_create_vendor_{str(uuid.uuid4())}@test.com' # Print the modified JSON to stdout print(json.dumps(data))