Terraform is a great IaaS framework that helps to automate cloud infrastructure easily. We will see how we can create an AWS lambda function with Terraform.Read more “How to create Lambda function with Terraform”
We often use AWS credentials file when using AWS CLI to switch between different accounts. You can also read AWS credential profiles with Terraform and use it to work with the terraform CLI commands. For that the cleanest method is to use the provider in
.tf file to define the config in your aws provider.