This page covers the prerequisites and setup required to use Patterned Designs Terraform modules.

Install Terraform

Download and install Terraform from the official website.

# Verify installation
terraform version

Configure AWS Credentials

Patterned Designs modules deploy to AWS. Configure your credentials using one of these methods:

Environment Variables

export AWS_ACCESS_KEY_ID="your-access-key"
export AWS_SECRET_ACCESS_KEY="your-secret-key"
export AWS_DEFAULT_REGION="us-east-1"

AWS CLI Profile

aws configure --profile your-profile

Use IAM roles with your CI/CD platform for secure, credential-free authentication.

Verify Setup

# Test AWS connectivity
aws sts get-caller-identity

# Initialize a test directory
terraform init

Next Steps