1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [provider alias](<https://delaparra-services.nl/knowledge-hub/provider-alias>)

  

Category: Terraform 

# provider alias

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is provider alias?

 

provider alias: Lets you configure the same provider more than once (e.g. two AWS regions) and pick which one a resource uses. A provider alias lets you configure the same Terraform provider more than once, for example AWS in two regions or two different accounts. Each configuration gets an ` alias `, and resources choose one with ` provider = aws.us `.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about provider alias

  

### How is provider alias used in practice?

 

A common case is TLS certificates for CloudFront, which must be created in the ` us-east-1 ` region even when the rest of your infrastructure lives in Europe. Another is managing resources in a production and a staging account from one configuration.

    

### What should you keep in mind with provider alias?

 

Modules that need a specific aliased provider receive it through a ` providers ` map when they are called. Keep aliases descriptive, such as ` aws.us_east ` or ` aws.prod `, so it is obvious where each resource ends up. A resource in the wrong region is easy to create and annoying to move later.

    

### What does an example of provider alias look like?

 

```
provider "aws" { alias = "us" region = "us-east-1" } resource "aws_acm_certificate" "cdn" { provider = aws.us }
```

 

## At a glance

   CategoryTerraform Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Terraform terms

 

- [output](<https://delaparra-services.nl/knowledge-hub/output>) 
- [plan](<https://delaparra-services.nl/knowledge-hub/plan>) 
- [provider](<https://delaparra-services.nl/knowledge-hub/provider>) 
- [refresh](<https://delaparra-services.nl/knowledge-hub/refresh>) 
- [remote backend](<https://delaparra-services.nl/knowledge-hub/remote-backend>) 
- [resource](<https://delaparra-services.nl/knowledge-hub/resource>)

 

[All terms starting with P](<https://delaparra-services.nl/knowledge-hub#letter-p>)

 

## Skills

 

- ### Terraform safe workflow

 

Use when running or changing Terraform (or OpenTofu) - init, fmt, validate, plan, apply, destroy, import, state mv/rm, refresh, workspaces, remote backends, state locking, drift, taint/-replace. Enforces a plan-review-apply workflow and protects state.

 [View skill](<https://delaparra-services.nl/skills/terraform-safe-workflow>) [Download zip](<https://delaparra-services.nl/skills/terraform-safe-workflow/download>) 
- ### Terraform Module Library

 

Build reusable Terraform modules for AWS, Azure, GCP, and OCI infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

 [View skill](<https://delaparra-services.nl/skills/terraform-module-library>) [Download zip](<https://delaparra-services.nl/skills/terraform-module-library/download>) 
- ### Multi-Cloud Architecture

 

Design multi-cloud architectures using a decision framework to select and integrate services across AWS, Azure, GCP, and OCI. Use when building multi-cloud systems, avoiding vendor lock-in, or leveraging best-of-breed services from multiple providers.

 [View skill](<https://delaparra-services.nl/skills/multi-cloud-architecture>) [Download zip](<https://delaparra-services.nl/skills/multi-cloud-architecture/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/provider-alias/skills.zip>)

 

## Manuals

 

- [Kubernetes and Terraform: do you need them?](<https://delaparra-services.nl/manuals/kubernetes-en-terraform-heb-je-het-nodig>) 
- [Choosing cloud services for your app](<https://delaparra-services.nl/manuals/cloud-diensten-kiezen>)

 

## Related services

 

- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)

Perhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/provider-alias)
