Terraform Ep 5: Querying Existing Cloud Infrastructure with Data Sources
·813 words·4 mins
Not everything in your cloud is managed by Terraform. In this episode, you will learn how to use the ‘data’ block to interrogate the AWS API. Fetch the latest Ubuntu AMI ID dynamically, or retrieve a VPC ID created by the Networking team, ensuring your code remains hardcode-free.
