
Terraform Variables and Data Sources Example
Terraform Variable and DataSource Example Terraform Variables and Datasources Pre-requisite Create a key(devops in this example I have taken) in AWS EC2 Key…
Tutoriels Terraform et Infrastructure as Code sur AWS : providers, variables, locals, boucles, modules, state distant, workspaces et provisioners.

Terraform Variable and DataSource Example Terraform Variables and Datasources Pre-requisite Create a key(devops in this example I have taken) in AWS EC2 Key…

Terraform DataSource Terraform Data Sources Terraform Data Sources are a kind of an API that fetches the data/information from the resources running under the…

Learn Terraform conditional expressions to conditionally create EC2 instances. Guide covers syntax, examples and best practices for Terraform 1.9+ on Ubuntu 24.04.

Learn when to use count, for_each and for expressions in Terraform, how to iterate over maps and sets, and how to migrate from count to for_each without destroying resources.

A practical guide to Terraform dynamic blocks: how they work, a complete security group example, nested dynamic blocks, and when a plain for_each resource is the better choice.

Understand the difference between Terraform input variables, locals and outputs, with type constraints, validation rules, tfvars precedence, sensitive values and a complete worked example.

Step-by-step guide to storing Terraform state in an S3 bucket with versioning, encryption and native S3 locking (use_lockfile), including migration from local state and from DynamoDB locks.

Terraform Blocks This block can be called in 3 ways.

Learn Terraform Blocks: settings, providers, resources, variables, outputs, locals, data sources, modules. Build clean code with Terraform 1.9+ on Ubuntu 24.04.

Step-01: Introduction Understand basic Terraform Commands terraform init terraform validate terraform plan terraform apply terraform destroy Step-02: Review…