Skip to content

Deploy with a non-default stage prints "Unknonwn function" #18

Description

@IlyaSemenov

Steps to reproduce

serverless deploy

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").

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions