Overview
- Allow Terraform to interact with cloud providers, SaaS providers and other APIs
- Must declare which providers will be used in the config
Configuration
- Belong in root module
- Child modules receive config from root module
- Can use expressions in config arguments, but values must be known at apply-time (e.g. input variables)
- Available to all providers
alias
—for using the same provider with different config for different resources
version
—deprecated (use provider requirements instead)
Example: alias