A team wants to use Terraform to provision infrastructure across multiple cloud providers. Which configuration approach best supports this goal?
Trap 1: Use a single provider block that supports multiple clouds.
No such provider exists.
Trap 2: Terraform cannot manage multiple clouds in one configuration.
Terraform supports multi-cloud.
Trap 3: Create separate workspaces for each cloud provider.
Workspaces are for state isolation, not provider separation.
- A
Define multiple provider blocks, one for each cloud provider.
Allows using multiple providers in the same configuration.
- B
Use a single provider block that supports multiple clouds.
Why wrong: No such provider exists.
- C
Terraform cannot manage multiple clouds in one configuration.
Why wrong: Terraform supports multi-cloud.
- D
Create separate workspaces for each cloud provider.
Why wrong: Workspaces are for state isolation, not provider separation.