Create IAM Policies
Use Terraform to apply policy permissions to IAM user and S3 bucket resources. Refactor your policy with the IAM policy document data source to automatically format your JSON policies for reuse.
Serverless Applications with AWS Lambda and API Gateway
Learn to deploy serverless web applications with Terraform provisioning AWS Lambda functions and the Amazon API Gateway
Use Application Load Balancers for Blue-Green and Canary Deployments
Configure AWS application load balancers with Terraform to release an application in a rolling upgrade with near-zero downtime. In this tutorial, you will use a combination of blue-green, canary, and rolling deployments to incrementally promote a new application version via Terraform feature toggles.
Host a Static Website with S3 and Cloudflare
Use Terraform to set up a static website using AWS S3 as an object store and Cloudflare for DNS, SSL and CDN. Create Cloudflare page rules to always redirect HTTPS and temporarily redirect certain paths. Alternatively, you can use ACM for SSL certificate management and Cloudfront for CDN.