From 2f509f955e0cfb63848b3d782cdb279ad4ef7631 Mon Sep 17 00:00:00 2001 From: Grunet Date: Mon, 26 Aug 2024 02:30:51 +0000 Subject: [PATCH] include terraform init in ci --- .github/workflows/ci.yaml | 4 ++++ packages/aws-terraform/.gitignore | 1 + packages/aws-terraform/.terraform.lock.hcl | 21 +++++++++++++++++++++ packages/aws-terraform/Makefile | 2 ++ 4 files changed, 28 insertions(+) create mode 100644 packages/aws-terraform/.gitignore create mode 100644 packages/aws-terraform/.terraform.lock.hcl diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 439ff07..b936b82 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -155,6 +155,10 @@ jobs: cp ./terraform-temp/terraform ~/.local/bin/ rm -rf ./terraform-temp/ + - name: Init terraform + run: | + make init + - name: Check Formatting run: | make check-format diff --git a/packages/aws-terraform/.gitignore b/packages/aws-terraform/.gitignore new file mode 100644 index 0000000..0696b3e --- /dev/null +++ b/packages/aws-terraform/.gitignore @@ -0,0 +1 @@ +.terraform \ No newline at end of file diff --git a/packages/aws-terraform/.terraform.lock.hcl b/packages/aws-terraform/.terraform.lock.hcl new file mode 100644 index 0000000..9fa96dc --- /dev/null +++ b/packages/aws-terraform/.terraform.lock.hcl @@ -0,0 +1,21 @@ +# This file is maintained automatically by "terraform init". +# Manual edits may be lost in future updates. + +provider "registry.terraform.io/hashicorp/local" { + version = "2.5.1" + hashes = [ + "h1:8oTPe2VUL6E2d3OcrvqyjI4Nn/Y/UEQN26WLk5O/B0g=", + "zh:0af29ce2b7b5712319bf6424cb58d13b852bf9a777011a545fac99c7fdcdf561", + "zh:126063ea0d79dad1f68fa4e4d556793c0108ce278034f101d1dbbb2463924561", + "zh:196bfb49086f22fd4db46033e01655b0e5e036a5582d250412cc690fa7995de5", + "zh:37c92ec084d059d37d6cffdb683ccf68e3a5f8d2eb69dd73c8e43ad003ef8d24", + "zh:4269f01a98513651ad66763c16b268f4c2da76cc892ccfd54b401fff6cc11667", + "zh:51904350b9c728f963eef0c28f1d43e73d010333133eb7f30999a8fb6a0cc3d8", + "zh:73a66611359b83d0c3fcba2984610273f7954002febb8a57242bbb86d967b635", + "zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3", + "zh:7ae387993a92bcc379063229b3cce8af7eaf082dd9306598fcd42352994d2de0", + "zh:9e0f365f807b088646db6e4a8d4b188129d9ebdbcf2568c8ab33bddd1b82c867", + "zh:b5263acbd8ae51c9cbffa79743fbcadcb7908057c87eb22fd9048268056efbc4", + "zh:dfcd88ac5f13c0d04e24be00b686d069b4879cc4add1b7b1a8ae545783d97520", + ] +} diff --git a/packages/aws-terraform/Makefile b/packages/aws-terraform/Makefile index 909a532..18a3b13 100644 --- a/packages/aws-terraform/Makefile +++ b/packages/aws-terraform/Makefile @@ -1,3 +1,5 @@ +init: + terraform init check-format: terraform fmt --check format: