I am replicating this article :
I have "model.tar.gzip" file in s3 bucket with the same hierarchy as explained in the image and article.
When I try to create and endpoint using code it is struck at creating status and shows 'tarfile.ReadError: empty file' error in cloudwatch:
"source": [
"endpoint_name = 'DEMO-modelregistry-endpoint-' + str(round(time.time()))\n",
"print(\"EndpointName={}\".format(endpoint_name))\n",
"\n",
"create_endpoint_response = sm_client.create_endpoint(\n",
" EndpointName=endpoint_name,\n",
" EndpointConfigName=endpoint_config_name)\n",
"print(create_endpoint_response['EndpointArn'])"
]