{
    "url": "https://delaparra-services.nl/knowledge-hub/provider-alias",
    "locale": "en",
    "title": "provider alias: Knowledge hub | DeLaParra Services",
    "description": "Lets you configure the same provider more than once (e.g. two AWS regions) and pick which one a resource uses.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/provider-alias",
        "nl": "https://delaparra-services.nl/nl/kennisbank/provider-alias"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/provider-alias.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/provider-alias.md",
        "json": "https://delaparra-services.nl/knowledge-hub/provider-alias.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/provider-alias.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/provider-alias.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/provider-alias.csv",
            "encodingFormat": "text/csv",
            "name": "provider-alias.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/provider-alias.json",
            "encodingFormat": "application/json",
            "name": "provider-alias.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/provider-alias.md",
            "encodingFormat": "text/markdown",
            "name": "provider-alias.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/provider-alias.pdf",
            "encodingFormat": "application/pdf",
            "name": "provider-alias.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/provider-alias.zip",
            "encodingFormat": "application/zip",
            "name": "provider-alias.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/provider-alias/skills.zip",
            "encodingFormat": "application/zip",
            "name": "provider-alias-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [provider alias](<https://delaparra-services.nl/knowledge-hub/provider-alias>)\n\n  \n\nCategory: Terraform \n\n# provider alias\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is provider alias?\n\n \n\nprovider 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 `.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about provider alias\n\n  \n\n### How is provider alias used in practice?\n\n \n\nA 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.\n\n    \n\n### What should you keep in mind with provider alias?\n\n \n\nModules 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.\n\n    \n\n### What does an example of provider alias look like?\n\n \n\n```\nprovider \"aws\" { alias = \"us\" region = \"us-east-1\" } resource \"aws_acm_certificate\" \"cdn\" { provider = aws.us }\n```\n\n \n\n## At a glance\n\n   CategoryTerraform Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Terraform terms\n\n \n\n- [output](<https://delaparra-services.nl/knowledge-hub/output>) \n- [plan](<https://delaparra-services.nl/knowledge-hub/plan>) \n- [provider](<https://delaparra-services.nl/knowledge-hub/provider>) \n- [refresh](<https://delaparra-services.nl/knowledge-hub/refresh>) \n- [remote backend](<https://delaparra-services.nl/knowledge-hub/remote-backend>) \n- [resource](<https://delaparra-services.nl/knowledge-hub/resource>)\n\n \n\n[All terms starting with P](<https://delaparra-services.nl/knowledge-hub#letter-p>)\n\n \n\n## Skills\n\n \n\n- ### Terraform safe workflow\n\n \n\nUse 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.\n\n [View skill](<https://delaparra-services.nl/skills/terraform-safe-workflow>) [Download zip](<https://delaparra-services.nl/skills/terraform-safe-workflow/download>) \n- ### Terraform Module Library\n\n \n\nBuild 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.\n\n [View skill](<https://delaparra-services.nl/skills/terraform-module-library>) [Download zip](<https://delaparra-services.nl/skills/terraform-module-library/download>) \n- ### Multi-Cloud Architecture\n\n \n\nDesign 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.\n\n [View skill](<https://delaparra-services.nl/skills/multi-cloud-architecture>) [Download zip](<https://delaparra-services.nl/skills/multi-cloud-architecture/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/provider-alias/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Kubernetes and Terraform: do you need them?](<https://delaparra-services.nl/manuals/kubernetes-en-terraform-heb-je-het-nodig>) \n- [Choosing cloud services for your app](<https://delaparra-services.nl/manuals/cloud-diensten-kiezen>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.\n\n \n\n## Need any help?\n\n \n\nStuck 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.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/provider-alias)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/provider-alias#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/provider-alias",
                "name": "provider alias: Knowledge hub | DeLaParra Services",
                "description": "Lets you configure the same provider more than once (e.g. two AWS regions) and pick which one a resource uses.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/provider-alias#term",
                    "name": "provider alias",
                    "description": "Lets you configure the same provider more than once (e.g. two AWS regions) and pick which one a resource uses.",
                    "termCode": "provider-alias",
                    "url": "https://delaparra-services.nl/knowledge-hub/provider-alias",
                    "inLanguage": "en",
                    "keywords": "Terraform",
                    "dateModified": "2026-11-25T17:46:29+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/provider-alias#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/provider-alias#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/provider-alias#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is provider alias?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "How is provider alias used in practice?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with provider alias?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "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."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of provider alias look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "provider \"aws\" { alias = \"us\" region = \"us-east-1\" } resource \"aws_acm_certificate\" \"cdn\" { provider = aws.us }"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/terraform-safe-workflow#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/terraform-module-library#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/multi-cloud-architecture#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/kubernetes-en-terraform-heb-je-het-nodig#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/cloud-diensten-kiezen#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/provider-alias#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "provider alias"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/provider-alias#dataset",
                "name": "provider alias",
                "description": "Lets you configure the same provider more than once (e.g. two AWS regions) and pick which one a resource uses.",
                "url": "https://delaparra-services.nl/knowledge-hub/provider-alias",
                "identifier": "https://delaparra-services.nl/knowledge-hub/provider-alias#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/provider-alias#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Terraform",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:29+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "provider-alias.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/provider-alias.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "provider-alias.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/provider-alias.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "provider-alias.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/provider-alias.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "provider-alias.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/provider-alias.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "provider-alias.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/provider-alias.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "provider-alias-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/provider-alias/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:29+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}