If not specified in the template, Terraform will try to read configuration from the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. You can also set your region with the AWS_DEFAULT_REGION variable. In this case, complete configuration goes down to the following:
provider "aws" {}