terraform.aws-baseline-infra/examples/lambda-layers/provider.tf

19 lines
348 B
HCL

provider "aws" {
region = "ap-east-1"
default_tags {
tags = {
TerraformMode = "managed"
TerraformDir = join("/", reverse(slice(reverse(split("/", path.cwd)), 0, 2)))
}
}
}
terraform {
required_version = ">= 1.3.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = ">= 4.40"
}
}
}