```hcl
# -*- coding: utf-8; mode: terraform; -*-

provider "aws" {
  # https://www.terraform.io/docs/providers/aws/index.html
  version = "~> 1"

  region = var.starterkit_region
}
```

Switch to latest v2 AWS provider.
user
```hcl
# -*- coding: utf-8; mode: terraform; -*-

provider "aws" {
  # https://www.terraform.io/docs/providers/aws/index.html
  version = "~> 2"

  region = var.starterkit_region
}
```
assistant