From: Peter Mikus Date: Mon, 2 Oct 2023 14:11:10 +0000 (+0200) Subject: fix(core): Pin terraform provider version X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F39602%2F2;p=ci-management.git fix(core): Pin terraform provider version Signed-off-by: Peter Mikus Change-Id: I6f243a8cf05c0d5242177f5ae8a4c99bbd83ebf3 --- diff --git a/jjb/scripts/terraform_s3_docs_ship.sh b/jjb/scripts/terraform_s3_docs_ship.sh index d70fa6c91..7200cbf3c 100644 --- a/jjb/scripts/terraform_s3_docs_ship.sh +++ b/jjb/scripts/terraform_s3_docs_ship.sh @@ -18,6 +18,15 @@ echo "---> terraform_s3_docs_ship.sh" set -exuo pipefail cat >"/w/workspace/main.tf" <<'END_OF_TERRAFORM_SCRIPT' +terraform { + required_providers { + aws = { + source = "hashicorp/aws" + version = "5.18.1" + } + } +} + provider "aws" { region = "us-east-1" profile = "default"