> 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/3.0/deployment-entities/environment/infrastructure-definitions.md).

# Infrastructure definitions

Understand how infrastructure definitions let an environment target the clusters, namespaces, or hosts where Harness deploys.

An infrastructure definition points to the specific cluster, namespace, host, or cloud account where the Delegate runs a deployment. An environment can contain multiple infrastructure definitions. For example, a production environment might have five infrastructure definitions representing five Kubernetes clusters. When you select an environment in a pipeline stage, you choose which infrastructure definition to use for that deployment.

***

## View and create infrastructure definitions <a href="#view-and-create-infrastructure-definitions" id="view-and-create-infrastructure-definitions"></a>

On an environment's detail page, select the **Infrastructure Definitions** tab to see every infrastructure definition in that environment. Select **+ Create infrastructure** to add one.

***

## Configure an infrastructure definition by deployment type <a href="#configure-an-infrastructure-definition-by-deployment-type" id="configure-an-infrastructure-definition-by-deployment-type"></a>

The fields in an infrastructure definition depend on the deployment type of the services you deploy to the environment. Go to the infrastructure page for your deployment type to configure it:

* Go to [Kubernetes infrastructure](https://developer.harness.io/continuous-delivery/3.0/use-deployments/overview/kubernetes-infrastructure.md) to configure a Kubernetes infrastructure definition.
* Go to [Helm infrastructure](https://developer.harness.io/continuous-delivery/3.0/use-deployments/overview-1/helm-infrastructure.md) to configure a Helm infrastructure definition.
* Go to [Serverless infrastructure](https://developer.harness.io/continuous-delivery/3.0/use-deployments/overview-2/serverless-infrastructure.md) to configure a Serverless infrastructure definition.
* Go to [Google Cloud Run infrastructure](https://developer.harness.io/continuous-delivery/3.0/use-deployments/overview-3/google-cloud-run-infrastructure.md) to configure a Google Cloud Run infrastructure definition.
* Go to [Google Cloud Functions infrastructure](https://developer.harness.io/continuous-delivery/3.0/use-deployments/google-cloud-functions/google-cloud-functions-infrastructure.md) to configure a Google Cloud Functions infrastructure definition.
* Go to [Lambda infrastructure](https://developer.harness.io/continuous-delivery/3.0/use-deployments/overview-4/lambda-infrastructure.md) to configure an AWS Lambda infrastructure definition.
* Go to [SAM infrastructure](https://developer.harness.io/continuous-delivery/3.0/use-deployments/overview-5/sam-infrastructure.md) to configure an AWS SAM infrastructure definition.

***

## Next steps

* Go to [Environment groups](https://developer.harness.io/continuous-delivery/3.0/deployment-entities/environment/environment-groups.md) to deploy a service to a group of environments in one step.
* Go to [Failure strategy](https://developer.harness.io/continuous-delivery/3.0/deployment-entities/environment/failure-strategy.md) to configure what happens when environment or infrastructure resolution fails.

{% @harness-feedback/feedback %}
