This is the DIY challenge of the Set Up a Cloud Development Environment task in AWS Cloud Quest.
DIY Steps:
-
Add missing code to the
upload_file
function
if object_name is None: object_name = file_name s3_client = boto3.client('s3') try: response = s3_client.upload_file(file_name, bucket, object_name) except ClientError as e: logging.error(e) return False return True
push the changes to CodeCommit
Top comments (0)