I want to upload my serverless package in AWS Code Artifact using :
sls package --package target/dev --verbose --stage dev
aws codeartifact login --tool twine --repository XX --domain XX --domain-owner XX --region XX
twine upload --repository codeartifact target/dev/*
But I am getting the following error:
ERROR InvalidDistribution: Unknown distribution format: 'cloudformation-template-create-stack.json'
Is it possible to upload a serverless package to AWS Code Artifact or Am I missing something?
It should be the same problem using Pypi
Thanks