Terraform Data Source using AWS
The problem:
An EC2 instance must be created from a specific AMI ID, but in real projects, you rarely want to hard‑code that AMI ID, because it changes over time when AWS publishes new images (for example, the latest Amazon Linux 2).
An AMI is ident...
amals27.hashnode.dev4 min read