Skip to content

Error installing 'hello-serverless' app: AWS Lambda deployment type not configured #475

@guneshsji

Description

@guneshsji

Deploying "hello-serverless" Golang app on AWS lambda succeeds.
But installation to MM server fails with below error

DEBUG	appsctl/mattermost.go:36	updated local manifest	{"app_id": "hello-serverless", "deploy_type": "AWS Lambda"}
Error: failed to install the app to Mattermost: deployment type "AWS Lambda" is not configured on this Mattermost server

Manifest file content:

{
	"app_id": "hello-serverless",
	"version": "v1.2.0",
	"display_name": "Hello, Serverless!",
	"homepage_url": "https://github.com/mattermost/mattermost-app-examples/golang/serverless",
	"requested_permissions": [
		"act_as_bot"
	],
	"requested_locations": [
		"/command"
	],
	"aws_lambda": {
		"functions": [
			{
				"path": "/",
				"name": "hello-serverless",
				"handler": "hello-serverless",
				"runtime": "go1.x"
			}
		]
	}
}

What could be a potential issue here.

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