Challenge LabBeginner

Challenge - Write and Apply Your First Terraform Configuration

Write a Terraform config to deploy a DynamoDB table with point-in-time recovery and tags, then verify the deployment.

45 minEstimated time
1Guided step
AutoVerification
IsolatedSandbox
Challenge - Write and Apply Your First Terraform Configuration

Lab overview

Terraform is an infrastructure as code tool that lets you define cloud resources in declarative configuration files instead of creating them by hand. You describe the end state you want, and Terraform works out which API calls are needed to reach it. Because that description lives in a file, your infrastructure becomes reviewable, repeatable, and version controlled like any other part of your codebase.

The workflow rests on three commands. terraform init downloads the provider plugins your configuration references, terraform plan compares your configuration against recorded state and reports exactly what will change, and terraform apply carries those changes out. The plan step is what separates Terraform from a deployment script: you see the consequences before anything is created.

By completing this Beginner challenge, you will be able to:

  • Write a Terraform configuration from scratch using the AWS provider and a DynamoDB table resource
  • Configure point-in-time recovery and resource tags through Terraform arguments
  • Drive the full Terraform workflow end to end, from init through plan to apply
  • Apply a configuration so the table meets specific naming, recovery, and tagging requirements

Prerequisites

Before attempting this challenge, you should be comfortable with:

  • Writing and editing Terraform configuration files (HCL syntax)
  • Understanding the core Terraform workflow (init, plan, apply)
  • Running Terraform CLI commands
  • Navigating AWS resources such as DynamoDB tables

Recommended Lab: Introduction to Infrastructure as Code with Terraform on AWS

Verified against your live environment

An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed — not multiple choice, real-world proficiency.

[CHECK] validation_activelive
Inspecting deployed resources...
Verifying configuration state...
✓ Step requirements satisfied

More labs like this

Related reading

PremiumIncluded in Premium
Duration
45 min
Steps
1

Environment

Browser Code IDELive Cloud Environment

Every lab includes

  • Real environment, pre-credentialed
  • Automated checks on every step
  • Isolated sandbox, auto cleanup
  • AI-recommended next steps

Lab curriculum

  1. 01

    Challenge Scenario - Write, Deploy, and Verify a DynamoDB Table with Terraform

    3 automated checks

Skills validated

TerraformAmazon DynamoDB

Not the lab you were looking for?

Browse 150+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.

Explore the catalog