terraform
- terraform settings and dependent
providersdata
- data source, requests terraform read from a
given data sourceprovider
- configs for the specific provider
e.g. aws
with specified versionresource
- defines components of the
infrastructurevariable
- defines variablesoutput
- use to connect the terraform projects with
other poarts of your infrastructure or with other terraform
projectslocal
- local variablesDifference of resource and data
data
is read only where resource
cause
terraform to create, update and delete infra objects