diff --git a/main.tf b/main.tf index f6f4a1a..099c484 100644 --- a/main.tf +++ b/main.tf @@ -1,6 +1,6 @@ module "lambda" { source = "terraform-aws-modules/lambda/aws" - version = "2.25.0" + version = "3.1.1" function_name = var.function_name description = "Send CloudTrail Events to Slack" diff --git a/versions.tf b/versions.tf index ac73fd3..74f1384 100644 --- a/versions.tf +++ b/versions.tf @@ -1,7 +1,22 @@ terraform { - required_version = ">= 0.12.31" + required_version = ">= 0.13.1" required_providers { - aws = "~>3.0, >= 3.43" + aws = { + source = "hashicorp/aws" + version = ">= 4.8" + } + external = { + source = "hashicorp/external" + version = ">= 1.0" + } + local = { + source = "hashicorp/local" + version = ">= 1.0" + } + null = { + source = "hashicorp/null" + version = ">= 2.0" + } } }