fix(core): Pin terraform provider version 02/39602/2
authorPeter Mikus <peter.mikus@protonmail.ch>
Mon, 2 Oct 2023 14:11:10 +0000 (16:11 +0200)
committerPeter Mikus <peter.mikus@protonmail.ch>
Mon, 2 Oct 2023 14:12:13 +0000 (14:12 +0000)
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch>
Change-Id: I6f243a8cf05c0d5242177f5ae8a4c99bbd83ebf3

jjb/scripts/terraform_s3_docs_ship.sh

index d70fa6c..7200cbf 100644 (file)
@@ -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"