Skip to content
Captain's Academy0
← Terraform sea chart
Island 4 · Providers · Port 4.5

Multiple providers and alias

Ask the Captain
Instagram
Two regions in one configuration? One keyword.
You'll learn to

use two providers, and two configurations of one provider with alias and provider = aws.west

Recap

  1. 1Different providers: just list them
  2. 2Same provider twice: alias = "west" on the extra one
  3. 3Resources pick it with provider = aws.west (no quotes)
Check yourself

How does a resource use the provider configuration with alias west?

4.5

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.