terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 4.21" } } required_version = ">= 1.2.4" } provider "aws" { region = var.aws_region }