while running terraform script to launch aws instance getting this error
Error: Invalid AWS Region: us-west-2a
on provider.tf line 1, in provider "aws":
1: provider "aws" {
This is my provider.tf
provider "aws" {
region = "${var.region}"
version = "~> 2.0"
}
can anybody help out?