Thomas Hartenstein
Implementing Feature Environments with AWS and Terraform
#1about 3 minutes
Understanding the concept of feature environments
Feature environments create short-lived, automated copies of your infrastructure for each feature branch, preventing developers from blocking each other.
#2about 2 minutes
Weighing the pros and cons of feature environments
While feature environments prevent development bottlenecks and allow safe testing, they introduce extra costs, setup effort, and require team discipline.
#3about 2 minutes
How Terraform manages infrastructure as code
Terraform is a tool that translates declarative configuration files into API calls to provision and manage infrastructure across various cloud providers.
#4about 13 minutes
Implementing feature environments with Terraform workspaces
Terraform workspaces allow you to manage multiple, independent state files from a single configuration, enabling the creation of isolated environments.
#5about 4 minutes
Creating unique AWS resources using workspace variables
By appending the `terraform.workspace` variable to resource names, you can provision unique AWS resources like S3 buckets for each feature environment.
#6about 3 minutes
Managing AWS naming rules with Terraform functions
Use Terraform's built-in functions like `lower`, `substring`, and `replace` to sanitize feature branch names to comply with strict AWS resource naming restrictions.
#7about 14 minutes
Automating environment creation with a CI/CD pipeline
A CI/CD pipeline can be configured to automatically trigger on new feature branches, create a corresponding Terraform workspace, and apply the infrastructure.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
03:31 MIN
Exploring the features of Terraform Cloud for teams
Terraform for Developers
41:11 MIN
Managing infrastructure with a GitOps workflow
Infrastructure as Code: The Developer's Secret Weapon
01:55 MIN
Introducing Terraform for multi-cloud infrastructure management
Terraform for Developers
25:50 MIN
Managing Terraform state and CI/CD integration
Terraform for Developers
10:39 MIN
Managing the high cost of ephemeral development environments
Cloud as the new mainframe: why the cloud hype does not reflect the dev reality
19:46 MIN
Adopting best practices for production-ready Terraform code
Infrastructure as Code: The Developer's Secret Weapon
26:57 MIN
Automating with IaC and configuration management tools
#90DaysOfDevOps - The DevOps Learning Journey
17:00 MIN
Building a serverless web app with Terraform
Serverless: Past, Present and Future
Featured Partners
Related Videos
Infrastructure as Code: The Developer's Secret Weapon
Hennie Francis
Building Applications with Infrastructure as Code
Talia Nassi
Terraform for Developers
Devlin Duldulao
Dev & Test in the Cloud? Deploy your cloud environments with Ansible & Terraform
Goetz Rieger
Program your infrastructure with CDK and TypeScript
Robert Hoffmann
GitOps keeps focus on apps, not on infrastructure
Chad Carlson
Solve the “But it works on my machine!” problem with cloud-based development environments
Toma Puljak
Enabling automated 1-click customer deployments with built-in quality and security
Christoph Ruggenthaler
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.


Azure Platform Engineer (all genders) in Hamburg
PRODYNA SE
Hamburg, Germany
Intermediate
Senior
Terraform

Azure Platform Engineer (all genders) in Düsseldorf
PRODYNA SE
Düsseldorf, Germany
Intermediate
Senior
Terraform

Azure Platform Engineer (all genders) in Stuttgart
PRODYNA SE
Stuttgart, Germany
Intermediate
Senior
Terraform




