Steps to reproduce
then:
serverless deploy -s prod
Result
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
Maybe you should set AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY environment variables
Serverless: Unknonwn function "test-dev-api" found
Serverless: Function created
api: test-prod-api
Serverless: Service deployed successfully
Expected
No "Unknonwn function "camera-api-dev-api" found" error (and obviously "Unknonwn" should read "Unknown").