From 6b23ad38a52dfc204a0473b5b2d9fb5a78b8265a Mon Sep 17 00:00:00 2001 From: Vladimir Samoylov <51059484+cageyv@users.noreply.github.com> Date: Tue, 19 Apr 2022 22:11:15 +0700 Subject: [PATCH] feat: Updated AWS provider to version 4.8+ (#22) * Update versions.tf * update lambda to 3.1.1 --- main.tf | 2 +- versions.tf | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) 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" + } } }