---
description: >
  The data block defines data sources within your Packer configuration.
page_title: data - Blocks
sidebar_title: <tt>data</tt>
---

# The `data` block

The `data` block defines data sources within your Packer configuration.

`@include 'from-1.5/datasources/example-block.mdx'`

# More on data sources

- Read the [full Data Sources](/docs/templates/hcl_templates/datasources) description for a more
  thorough read.
