I have written some examples for each concept in Terraform:
- conditional-expressions
- count
- custom-environment-variable
- data-source
- data-source-life-cycle
- dynamic-block
- for_each_map
- for_each_toset
- for-expressions
- input-variables-validation
- lifecycle
- local
- output
- provisioner-file
- provisioner-local-exec
- provisioner-remote-exec
- remote-backend-s3
- resource
- splat-expressions
- template-strings-for
- template-strings-if-else
- variables
Also I have added docker-compose for localstack:
You can find the full documentation of Terraform in the link below: