From dce0c225c65e151192f9c4df1999cab581b2cc60 Mon Sep 17 00:00:00 2001 From: Yousif Akbar <11247449+yhakbar@users.noreply.github.com> Date: Tue, 19 Nov 2024 15:00:06 -0500 Subject: [PATCH] fix: Adjusting provider pinning in `terraform-aws-lambda-example` --- examples/terraform-aws-lambda-example/main.tf | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/examples/terraform-aws-lambda-example/main.tf b/examples/terraform-aws-lambda-example/main.tf index ff3489a7d..a3ef57e55 100644 --- a/examples/terraform-aws-lambda-example/main.tf +++ b/examples/terraform-aws-lambda-example/main.tf @@ -11,10 +11,17 @@ terraform { # 0.12.26 as the minimum version, as that version added support for required_providers with source URLs, making it # forwards compatible with 0.13.x code. required_version = ">= 0.12.26" -} -provider "archive" { - version = "1.3" + required_providers { + archive = { + source = "hashicorp/archive" + version = "2.6" + } + aws = { + source = "hashicorp/aws" + version = "5.76" + } + } } data "archive_file" "zip" {