provider "aws" { region = var.aws-region default_tags { tags = { Environment = var.environment Project = var.project Application = var.application TerraformDir = join("/", reverse(slice(reverse(split("/", path.cwd)), 0, 2))) } } } terraform { required_version = ">= 1.11.0" required_providers { aws = { source = "hashicorp/aws" version = "~> 6.0" } } }