Skip to content
Knowledge sharing about terraform
HCL Shell Smarty Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Terraform Knowledge Sharing

  1. What is terraform? Benefits of using it?

    • Tool with DSL
    • Multi-cloud (AWS, Google Cloud, Azure, ...)
    • Infrastructure as code
      • Deploy from local
      • Deploy from pipelines
    • Keep the state of the infra locally (tfstate)
    • Incremental changes
    • terraform plan
    • terraform apply
    • terraform destroy
  2. Simple use (01-basics)

    • Create a dynamoDB table and a S3 bucket
  3. For each (02-for-each)

    • Create multiple dynamoDB tables and a S3 bucket
  4. Linking resources

    • Create resources that interacts between them (S3 -> Lambda)
  5. Templates

    • Example of reuse code with templates. Create two docker tasks exactly equals but passing different env vars


  • Generate a file with random content:
dd if=/dev/urandom of=scripts/example-file count=1024 bs=1000
You can’t perform that action at this time.