The Gateway to AWS/Azure
To manage the cloud, we need a Provider block. This tells OpenTofu which API to talk to.
Example: AWS Provider
hcl provider "aws" { region = "us-east-1" }
How it works:
OpenTofu doesn't know how to create an AWS server by default. It downloads a 'plugin' (the Provider) that speaks the AWS language. There are thousands of providers: AWS, Azure, Google Cloud, GitHub, Kubernetes, and even Spotify!