From b699a8358b1e9dfa0a3461d3647501153b6b36d8 Mon Sep 17 00:00:00 2001 From: Michael Brewer Date: Mon, 7 Mar 2022 21:42:25 -0800 Subject: [PATCH] fix(docs): Correct the terraform example --- docs/index.md | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/docs/index.md b/docs/index.md index ca850823ad4..8082f9d7dbe 100644 --- a/docs/index.md +++ b/docs/index.md @@ -100,49 +100,45 @@ You can include Lambda Powertools Lambda Layer using [AWS Lambda Console](https: === "Terraform" - ```terraform hl_lines="9 38" + ```terraform hl_lines="9 35" terraform { - required_version = "~> 1.0.5" + required_version = "~> 1.1.7" required_providers { - aws = "~> 3.50.0" + aws = "~> 4.4.0" } } provider "aws" { - region = "{region}" + region = "{region}" } resource "aws_iam_role" "iam_for_lambda" { name = "iam_for_lambda" - assume_role_policy = <