> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/use-continuous-delivery/deploy-services-on-different-platforms/serverless/manifest-sources-for-serverless-lambda.md).

# Manifest source for Serverless Lambda

Configure manifest sources for Serverless Lambda and AWS SAM services

Configure a manifest source in your service when you deploy an AWS SAM or Serverless Lambda function. This topic describes the supported sources and their configuration options.

***

## What you will learn from this topic

* How to configure [Git-based manifest sources](#git-sources)
* How to configure an [AWS S3](#aws-s3) manifest source
* How to use the [Harness File Store](#harness-file-store) for Serverless manifests

***

## Before you begin

These configuration options appear when you add a manifest to a service with a **Deployment Type** of **Serverless Lambda**. Confirm the following:

* **Serverless Lambda service**: A Harness service whose deployment type is **Serverless Lambda**.
* **Git connector** (Git sources): Go to [Git connector settings reference](https://developer.harness.io/docs/platform/connectors/code-repositories/ref-source-repo-provider/git-connector-settings-reference) to create or select a connector.
* **AWS connector** (S3 source): Go to [Add an AWS connector](https://developer.harness.io/docs/platform/connectors/cloud-providers/add-aws-connector) to create or select a connector.

***

## Manifest sources

Select the store that holds your Serverless or SAM manifest, then complete the fields for that store.

### Git sources

All Git-based sources use the same configuration parameters.

**Manifest source**

Perform the following steps to select the Git connector:

1. In **Git Connector**, select or create your Git connector. Go to [Git connector settings reference](https://developer.harness.io/docs/platform/connectors/code-repositories/ref-source-repo-provider/git-connector-settings-reference) for connector settings.

**Manifest details**

Perform the following steps to point Harness at the manifest files:

1. In **Manifest Identifier**, enter a name for the template.
2. In **Git Fetch Type**, select how you want to fetch the template.
3. In **Branch/Commit Id**, enter the branch name or commit Id.
4. In **File/Folder Path**, enter the path to the template from the root of the repository.

### AWS S3

Use these fields when the manifest is stored in an AWS S3 bucket.

**Manifest source**

Perform the following steps to select the AWS connector:

1. In **AWS Connector**, select or create your AWS connector. Go to [Add an AWS connector](https://developer.harness.io/docs/platform/connectors/cloud-providers/add-aws-connector) for connector settings.

**Manifest details**

Perform the following steps to point Harness at the S3 object:

1. In **Manifest Identifier**, enter a name that identifies this Serverless manifest.
2. In **Region**, select the AWS region to use for the connection.
3. In **Bucket Name**, enter the AWS S3 bucket name.
4. In **File/Folder Path**, enter the path from the root of the bucket to the `serverless.yml` file.

{% hint style="info" %}
**Zip layout for Serverless manifests**

Harness supports `.zip` files only. Keep the Serverless manifest files zipped inside a folder for Serverless V1, and at the root for Serverless V2.
{% endhint %}

### Harness File Store

You can store Serverless manifests in the Harness File Store and select that store when you add the manifest to the service.

Go to [Add inline manifests using File Store](https://developer.harness.io/continuous-delivery/use-continuous-delivery/cd-building-blocks/services/add-inline-manifests-using-file-store.md) to create and reference File Store content.

***

## Next steps

* [Serverless Lambda Continuous Delivery quickstart](https://developer.harness.io/continuous-delivery/use-continuous-delivery/deploy-services-on-different-platforms/serverless/serverless-lambda-cd-quickstart.md): Deploy a Serverless Lambda function end to end.
* [Add inline manifests using File Store](https://developer.harness.io/continuous-delivery/use-continuous-delivery/cd-building-blocks/services/add-inline-manifests-using-file-store.md): Store manifests in Harness instead of Git or S3.
* [Add an AWS connector](https://developer.harness.io/docs/platform/connectors/cloud-providers/add-aws-connector): Configure AWS access for S3-backed manifests.

{% @harness-feedback/feedback %}
