Day 5: Resource Dependencies & Data Sources
Welcome to Day 5! Today we’ll explore how Terraform manages relationships between resources and how to query existing infrastructure using data sources. Understanding dependencies is crucial for building complex, reliable infrastructure.
🎯 Today’s G...
stackopsdiary.site9 min read
Thu Kha Kyawe
Cloud Engineer | Site Reliability Engineer
Thank you!
but I found out there is error in outputs.tf. Wrong
value = "http://${aws_instance.web.public_ip}"
It must be
output "website_url" { description = "Website URL" value = "${aws_instance.web.public_ip}" }