AWS Lambda S3-bucket Terraform sample code which list all s3 buckets on AWS. Usage $ terraform init $ terraform plan $ terraform apply