Get Started
https://learn.hashicorp.com/terraform?utm_source=terraform_io&utm_content=terraform_io_hero
Build, change, and destroy infrastructure with Terraform. Start here to learn the basics of Terraform with your favorite cloud provider.
8 TUTORIALS
Build, change, and destroy AWS infrastructure using Terraform. Step-by-step, command-line tutorials will walk you through the…
8 TUTORIAls
Build, change, and destroy Azure infrastructure using Terraform. Step-by-step, command-line tutorials will walk you through the…
7 TUTORIALS
Build, change, and destroy Google Cloud Platform (GCP) infrastructure using Terraform. Step-by-step, command-line tutorials…
7 TUTORIALS
Build, change, and destroy Docker infrastructure using Terraform. Step-by-step, command-line tutorials will walk you through…
7 TUTORIALS
Build, change, and destroy a virtual cloud network and subnet on Oracle Cloud Infrastructure (OCI) using Terraform….
7 TUTORIALS
Collaborate on version-controlled configuration using Terraform Cloud. Follow this track to build, change, and destroy…
New Tutorials
Try the newest tutorials for common Terraform tasks and use cases.
-
19 MIN
Manage Azure Active Directory (Azure AD) Users and Groups
Codify your Azure Active Directory (AD) resources. Create and manage new users and assign them to groups.
25 MIN
Deploy Federated Multi-Cloud Kubernetes Clusters
Use Terraform to provision Kubernetes clusters in the Azure and AWS clouds, deploy Consul Helm charts enabling Consul…
9 MIN
Use AssumeRole to Provision AWS Resources Across Accounts
Define an AWS IAM role to allow a user in one AWS account to provision infrastructure in another.
11 MIN
Deploy an Application to a DigitalOcean Droplet
Use Terraform to provision a DigitalOcean Droplet and deploy an application to the Droplet.
18 MIN
Manage Kubernetes Custom Resources
Deploy an OpenFaaS serverless function on Kubernetes with a Custom Resources Definition. Use Terraform to update the function.
21 MIN
Implement Create and Read with the Terraform Plugin Framework
Use the next-generation Terraform Plugin Framework. Review provider and resource schemas then add create and read capabilities…
Get Certified
Prepare for Associate Certification with our prep materials, or follow tutorials that cover most of the major topics covered in the exam.
3 TUTORIALS
Prepare for Certification
Prepare for the HashiCorp Certified: Terraform Associate exam. These guides list the test objectives for the exam and the…
25 TUTORIALS
Associate Tutorial List
Study for the Terraform Associate exam by following these tutorials. Login to Learn and bookmark them to track your progress….
Version Control Infrastructure as Code
Use Terraform Cloud to collaborate on version controlled infrastructure as code.
-
3 MIN
Sign up for Terraform Cloud
Sign up for Terraform Cloud, which provides free remote state storage, a stable run environment, version control system (VCS)…
3 MIN
Create a Workspace
Create a Terraform Cloud workspace. Fork a demonstration GitHub repo containing Terraform configuration to create an EC2…
5 MIN
Create Infrastructure
Configure a Terraform Cloud workspace with AWS credentials by setting environment variables. Set EC2 instance attributes using…
All Terraform Tutorials
Associate Tutorial List
Introduction to Infrastructure as Code with Terraform
-
Install Terraform
-
Lock and Upgrade Provider Versions
-
Build Infrastructure
-
Destroy Infrastructure
-
Store Remote State
-
Log in to Terraform Cloud from the CLI
-
Migrate State to Terraform Cloud
-
Customize Terraform Configuration with Variables
-
Output Data from Terraform
-
Query Data Sources
-
Create Resource Dependencies
-
Perform Dynamic Operations with Functions
-
Manage Resources in Terraform State
-
Import Terraform Configuration
-
Manage Resource Drift
-
Use Refresh-Only Mode to Sync Terraform State
-
Troubleshoot Terraform
-
Modules Overview
-
Use Modules from the Registry
-
Host a Static Website with S3 and Cloudflare
-
Provision Infrastructure with Cloud-Init
-
Provision Infrastructure with Packer
-
Install the Sentinel CLI
-
Inject Secrets into Terraform Using the Vault Provider
Automate Terraform
-
Running Terraform in Automation
-
Deploy Terraform infrastructure with CircleCI
-
Automate Terraform with GitHub Actions
-
Automate Terraform Cloud Workflows
Call APIs with Custom Providers
-
Perform CRUD Operations with Providers
-
Setup and Implement Read
-
Add Authentication to a Provider
-
Implement Complex Read
-
Debug a Terraform Provider
-
Implement Create
-
Implement Update
-
Implement Delete
-
Implement Import
-
Release and Publish a Provider to the Terraform Registry
-
Implement Create and Read with the Terraform Plugin Framework
Collaborate using Terraform Cloud
-
Log in to Terraform Cloud from the CLI
-
Migrate State to Terraform Cloud
-
Connect Workspaces with Run Triggers
-
Manage Permissions in Terraform Cloud
-
Manage Terraform Versions in Terraform Cloud
-
Configure GitHub.com Access through OAuth
-
Manage Private Environments with Terraform Cloud Agents
-
Deploy Infrastructure with the Terraform Cloud Operator for Kubernetes
-
Deploy Consul and Vault on Kubernetes with Run Triggers
-
Automate Terraform Cloud Workflows
-
Version Remote State with the Terraform Cloud API
-
Terraform Cloud Secrets Engine
Community Providers
-
Create a Spotify Playlist with Terraform
Deploy and Monitor Applications
-
Use Application Load Balancers for Blue-Green and Canary Deployments
-
Host a Static Website with S3 and Cloudflare
-
Deploy, Manage, and Scale an Application on Heroku
-
Deploy an Application to a DigitalOcean Droplet
-
Deploy Federated Multi-Cloud Kubernetes Clusters
-
Automate Monitoring with the Terraform Datadog Provider
Enforce Policy with Sentinel
-
Install the Sentinel CLI
-
Generate Policy Mock Data
-
Write a Sentinel Policy for a Terraform Deployment
-
Test Sentinel Policies
-
Upload Your Sentinel Policy Set to Terraform Cloud
-
Control Costs with Policies
Get Started – AWS
-
Introduction to Infrastructure as Code with Terraform
-
Install Terraform
-
Build Infrastructure
-
Change Infrastructure
-
Destroy Infrastructure
-
Define Input Variables
-
Query Data with Outputs
-
Store Remote State
Get Started – Azure
-
Introduction to Infrastructure as Code with Terraform
-
Install Terraform
-
Build Infrastructure
-
Change Infrastructure
-
Destroy Infrastructure
-
Define Input Variables
-
Query Data with Output Variables
-
Store Remote State
Get Started – Docker
-
Introduction to Infrastructure as Code with Terraform
-
Install Terraform
-
Build Infrastructure
-
Change Infrastructure
-
Destroy Infrastructure
-
Define Input Variables
-
Query Data with Outputs
Get Started – Google Cloud
-
Introduction to Infrastructure as Code with Terraform
-
Install Terraform
-
Build Infrastructure
-
Change Infrastructure
-
Destroy Infrastructure
-
Define Input Variables
-
Query Data with Output Variables
Get Started – OCI
-
Introduction to Infrastructure as Code with Terraform
-
Install Terraform
-
Build Infrastructure
-
Change Infrastructure
-
Destroy Infrastructure
-
Define Input Variables
-
Query Data with Outputs
Get Started – Terraform Cloud
-
Sign up for Terraform Cloud
-
Create a Workspace
-
Create Infrastructure
-
Change Infrastructure
-
Destroy Resources and Workspaces
-
Enforce a Policy
-
Control Costs with Policies
HCP Vault
-
Peering an AWS VPC with HashiCorp Cloud Platform (HCP)
-
Connect an Amazon Transit Gateway to your HashiCorp Virtual Network
-
Deploy HCP Vault with Terraform
-
HCP Vault with Amazon Elastic Kubernetes Service
HashiConf Announcements – Terraform 1.0
-
Add Public Modules to your Private Module Registry
-
Build AWS Infrastructure with Go
-
Deploy Multiple Lambda Functions with TypeScript
-
Manage Terraform Versions
-
Lock and Upgrade Provider Versions
-
Manage Terraform Versions in Terraform Cloud
-
Version Remote State with the Terraform Cloud API
-
Use Refresh-Only Mode to Sync Terraform State
HashiCorp Product Integrations
-
Automatically Rotate Gossip Encryption Keys Secured in Vault
-
Generate mTLS Certificates for Consul with Vault
-
Administer Consul Access Control Tokens with Vault
-
Automate Consul Agent Security with Auto Config
-
Generate Nomad Tokens with HashiCorp Vault
-
Generate mTLS Certificates for Nomad using Vault
-
Vault Integration and Retrieving Dynamic Secrets
-
Deploy Consul and Vault on Kubernetes with Run Triggers
-
Inject Secrets into Terraform Using the Vault Provider
-
Deploy HCP Vault with Terraform
-
Vault Credential Brokering Quickstart
HashiCorp Products – Better Together
-
Inject Secrets into Terraform Using the Vault Provider
-
Terraform Cloud Secrets Engine
-
Codify Management of Vault Using Terraform
-
Codify Management of Vault Enterprise Using Terraform
-
AppRole With Terraform & Chef
-
Deploy HCP Vault with Terraform
-
Deploy Consul and Vault on Kubernetes with Run Triggers
-
Configure Boundary using Terraform
-
Target-Aware Workers
-
OIDC Authentication
-
Network Infrastructure Automation with Consul-Terraform-Sync Intro
-
Consul-Terraform-Sync Run Modes and Status Inspection
-
Use Terraform to Register External Services
-
Deploy HCP Consul with Terraform
-
Provision Infrastructure with Packer
-
Use Application Load Balancers for Blue-Green and Canary Deployments
IT/SaaS Providers
-
Manage Azure Active Directory (Azure AD) Users and Groups
-
Manage Your Google Workspace Organization
Inject Secrets with Vault
-
Inject Secrets into Terraform Using the Vault Provider
-
Terraform Cloud Secrets Engine
Interact with Security tools
-
Codify Management of Vault Using Terraform
-
Codify Management of Vault Enterprise Using Terraform
-
AppRole With Terraform & Chef
-
Deploy Consul and Vault on Kubernetes with Run Triggers
-
Inject Secrets into Terraform Using the Vault Provider
-
Terraform Cloud Secrets Engine
-
Configure Boundary using Terraform
-
Target-Aware Workers
-
OIDC Authentication
Kubernetes
-
Vault Installation to Minikube via Helm
-
Vault Installation to Red Hat OpenShift via Helm
-
Injecting Secrets into Kubernetes Pods via Vault Agent Containers
-
Integrate a Kubernetes Cluster with an External Vault
-
Vault Installation to Google Kubernetes Engine via Helm
-
Vault Installation to Azure Kubernetes Service via Helm
-
Vault Installation to Amazon Elastic Kubernetes Service via Helm
-
Mount Vault Secrets through Container Storage Interface (CSI) Volume
-
Configure Vault as a Certificate Manager in Kubernetes with Helm
-
Vault Agent with Kubernetes
-
Vault on Kubernetes Reference Architecture
-
Vault on Kubernetes Deployment Guide
-
Troubleshooting Vault on Kubernetes
-
Vault on Kubernetes Security Considerations
-
Deploy Consul and Vault on Kubernetes with Run Triggers
-
Automate Terraform Cloud Workflows
Manage AWS Services
-
Use AssumeRole to Provision AWS Resources Across Accounts
-
Configure Default Tags for AWS Resources
-
Create IAM Policies
-
Deploy Serverless Applications with AWS Lambda and API Gateway
-
Use Application Load Balancers for Blue-Green and Canary Deployments
-
Host a Static Website with S3 and Cloudflare
-
Manage AWS RDS Instances
-
Provision an EKS Cluster (AWS)
Manage Kubernetes with Terraform
-
Provision an EKS Cluster (AWS)
-
Provision an AKS Cluster (Azure)
-
Provision a GKE Cluster (Google Cloud)
-
Manage Kubernetes Resources via Terraform
-
Deploy Consul and Vault on Kubernetes with Run Triggers
-
Automate Terraform Cloud Workflows
-
Deploy Infrastructure with the Terraform Cloud Operator for Kubernetes
-
Deploy Applications with the Helm Provider
-
Manage Kubernetes Custom Resources
-
Deploy Federated Multi-Cloud Kubernetes Clusters
Manage Terraform State
-
Import Terraform Configuration
-
Migrate State to Terraform Cloud
-
Manage Resources in Terraform State
-
Target resources
-
Troubleshoot Terraform
-
Manage Resource Drift
-
Manage Resource Lifecycle
-
Version Remote State with the Terraform Cloud API
-
Use Refresh-Only Mode to Sync Terraform State
Manage Virtual Machine Images
-
Provision Infrastructure with Packer
-
Manage VMs and Snapshots on vSphere
Network Applications with Terraform
-
Network Infrastructure Automation with Consul-Terraform-Sync Intro
-
Consul-Terraform-Sync Run Modes and Status Inspection
-
Use Terraform to Register External Services
-
Use Application Load Balancers for Blue-Green and Canary Deployments
-
Deploy Federated Multi-Cloud Kubernetes Clusters
Prepare for Certification
-
Study Guide – Terraform Associate Certification
-
Sample Questions – Terraform Associate Certification
-
Exam Review – Terraform Associate Certification
Provision Infrastructure
-
Provision Infrastructure with Cloud-Init
-
Provision Infrastructure with Packer
Recommended Enterprise Patterns
-
Module Creation – Recommended Pattern
-
Terraform Enterprise Backup – Recommended Pattern
Reuse Configuration with Modules
-
Modules Overview
-
Use Modules from the Registry
-
Build and Use a Local Module
-
Share Modules in the Private Module Registry
-
Add Public Modules to your Private Module Registry
-
Refactor Monolithic Terraform Configuration
-
Module Creation – Recommended Pattern
Secrets Management
-
Static Secrets: Key/Value Secrets Engine
-
Versioned Key/Value Secrets Engine
-
Cubbyhole Response Wrapping
-
Dynamic Secrets: Database Secrets Engine
-
Couchbase Secrets Engine
-
Database Secrets Engine with MongoDB
-
Database Root Credential Rotation
-
Database Static Roles and Credential Rotation
-
Active Directory Service Account Check-out
-
OpenLDAP Secrets Engine
-
Azure Secrets Engine
-
Build Your Own Certificate Authority (CA)
-
SSH Secrets Engine: One-Time SSH Password
-
User Configurable Password Generation for Secret Engines
-
Username Templating
-
Key Management Secrets Engine
-
KMIP Secrets Engine
-
Terraform Cloud Secrets Engine
-
Build Your Own Plugins
-
Vault Secrets in a Browser Plugin Challenge
-
Generate Nomad Tokens with HashiCorp Vault
-
Generate mTLS Certificates for Nomad using Vault
-
Vault Integration and Retrieving Dynamic Secrets
-
Inject Secrets into Terraform Using the Vault Provider
原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/notes/147719.html