SpinTheMic
Pro

Explain it in 60 seconds

Resources vs data sources

Cloud & DevOps · Terraform and IaC · Beginner

What is the difference between a resource and a data source in Terraform?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Resource: Terraform creates and manages it.
  • Data source: reads existing information.
  • Data sources don't change infrastructure.
  • E.g., look up AMI, VPC, account ID.
  • Reference attributes in other blocks.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics