• HashiCorp Developer

  • HashiCorp Cloud Platform
  • Terraform
  • Packer
  • Consul
  • Vault
  • Boundary
  • Nomad
  • Waypoint
  • Vagrant
Terraform
  • Install
  • Tutorials
    • About the Docs
    • Configuration Language
    • Terraform CLI
    • Terraform Cloud
    • Terraform Enterprise
    • CDK for Terraform
    • Provider Use
    • Plugin Development
    • Registry Publishing
    • Integration Program
  • Registry(opens in new tab)
  • Try Cloud(opens in new tab)
  • Sign up
Terraform Home

Tutorials

Skip to main contentTutorials

Get Started

  • AWS
  • Azure
  • Docker
  • GCP
  • OCI
  • Terraform Cloud

Fundamentals

  • CLI
  • Configuration Language
  • Modules
  • Provision
  • State
  • Terraform Cloud

Use Cases

  • Applications
  • AWS Services
  • Azure Services
  • HashiCorp Products
  • IT/SaaS Providers
  • Kubernetes
  • Machine Images
  • Networking
  • Policy
  • Security

Certification Prep

  • Associate Prep (002)
  • Associate Prep (003)
  • Associate Tutorials (002)
  • Associate Tutorials (003)

Production

  • Automate Terraform
  • Enterprise Patterns
  • Terraform Enterprise

Integrations

  • CDK for Terraform
  • Community Providers
  • Custom Framework Providers
  • Custom SDK Providers
  • Secrets

  • Resources

  • Tutorial Library
  • Certifications
  • Community Forum
    (opens in new tab)
  • Support
    (opens in new tab)
  • GitHub
    (opens in new tab)
  • Terraform Registry
    (opens in new tab)
  1. Developer
  2. Terraform
  3. Tutorials
  4. HashiCorp Products

HashiCorp Products - Better Together

Use Terraform with other Hashicorp products including Vault, Boundary, Consul, Packer, and Hashicorp Cloud Platform.

Start
16 tutorials
  •  
    11min
    Inject Secrets into Terraform Using the Vault Provider
    Configure the AWS Secrets Engine to manage IAM credentials in Vault through Terraform. Then use the short-lived, Vault-generated, dynamic secrets to provision EC2 instances.
    • Vault
    • Terraform
  •  
    10min
    Terraform Cloud Secrets Engine
    Dynamically generate, manage, and revoke credentials for Terraform Cloud (TFC) and Terraform Enterprise (TFE).
    • Terraform
    • Vault
  •  
    10min
    Codify Management of Vault Using Terraform
    Use HashiCorp Terraform's Vault provider to codify Vault management to increase repeatability while reducing human errors.
    • Terraform
    • Vault
    • Interactive
  •  
    16min
    Codify Management of Vault Enterprise Using Terraform
    Use HashiCorp Terraform's Vault provider to codify Vault management to increase repeatability while reducing human errors.
    • Terraform
    • Vault
  •  
    20min
    AppRole With Terraform & Chef
    This tutorial discusses the concepts necessary to help users understand Vault's AppRole authentication pattern and how to use it to securely introduce a Vault authentication token to a target server, application, or container.
    • Terraform
    • Vault
    • Video
  •  
    14min
    Deploy HCP Vault with Terraform
    Automate HashiCorp Cloud Platform (HCP) Vault managed service deployment on AWS using the Terraform Vault provider.
    • Vault
    • Terraform
  •  
    15min
    Deploy Consul and Vault on Kubernetes with Run Triggers
    Deploy a Consul-backed Vault cluster on Kubernetes, by linking Terraform Cloud workspaces with run triggers. Share Kubernetes cluster credentials between workspaces within an organization using data resources.
    • Consul
    • Vault
    • Terraform
  •  
    12min
    Configure self-hosted Boundary using Terraform
    Configure your self-hosted Boundary environment using Terraform to codify the initial setup to make the process repeatable.
    • Terraform
    • Boundary
  •  
    18min
    Target-Aware Workers
    Instructions to deploy a Boundary environment and configure target-aware workers and query targets after applying worker filters.
    • Boundary
    • Terraform
  •  
    18min
    OIDC Authentication
    Instructions to configure Open-ID Connect (OIDC) authentication methods with Boundary, such as Auth0, Okta or Azure Active Directory.
    • Terraform
    • Boundary
  •  
    17min
    Network Infrastructure Automation with Consul-Terraform-Sync Intro
    Automate updates to network infrastructure including dynamic load balancing and firewall rules with Consul-Terraform-Sync.
    • Terraform
    • Consul
  •  
    9min
    Consul-Terraform-Sync Run Modes and Status Inspection
    Discover Consul-Terraform-Sync different run modes and inspect task execution status using REST API.
    • Terraform
    • Consul
  •  
    14min
    Use Terraform to Register External Services
    Register external services with Consul using the Terraform Consul provider.
    • Terraform
    • Consul
  •  
    12min
    Deploy HCP Consul with Terraform
    Automate the deployment of a Consul managed service on AWS using the Terraform HashiCorp Cloud Platform (HCP) Consul provider.
    • Terraform
    • Consul
  •  
    5min
    Provision Infrastructure with Packer
    Create an image with Packer, containing SSH keys, a new user, and a demo webapp, and deploy it with Terraform.
    • Packer
    • Terraform
  •  
    19min
    Use Application Load Balancers for Blue-Green and Canary Deployments
    Configure AWS application load balancers to release an application in a rolling upgrade with near-zero downtime. Incrementally promote a new canary application version to production by building a feature toggle with Terraform.
    • Terraform
Give Feedback(opens in new tab)
  • Certifications
  • System Status
  • Terms of Use
  • Security
  • Privacy
  • Trademark Policy
  • Trade Controls
  • Give Feedback(opens in new tab)