---
type: archive
area: archive
status: archived
date: 2026-05-03
created: 2026-05-03
updated: 1980-01-01
tags:
  - archive
---
- Resource
is an object that terraform manages it could be a service in cloud or a file in local host.
- HCL Syntax
``` HCL
<block> <parameters> {
	key1 = value1
	key1 = value1
}
```
![[img-20240917-021345-41fdcaae.png]]
- Example
![[img-20240917-021402-ac9614eb.png]]
![[img-20240917-021412-ce7af974.png]]

- Terraform WorkFlow
1. Write **\*.tf** file
2. init command
3. plan command to review what terraform will do
4. Apply command to apply terraform changes
#### Providers on Terraform
![[img-20240917-022100-e5251f40.png]]
