From 5df04df06a4cf8d20d9c548596bbefa160ee5b61 Mon Sep 17 00:00:00 2001 From: tetsuya28 Date: Mon, 1 Jan 2024 02:55:38 +0900 Subject: [PATCH] Fix Terraform module, download release --- module/main.tf | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/module/main.tf b/module/main.tf index 94b7255..3fbdc94 100644 --- a/module/main.tf +++ b/module/main.tf @@ -21,22 +21,24 @@ data "github_release" "this" { resource "null_resource" "this" { triggers = { - build_version = var.build_version + timestamp = timestamp() } provisioner "local-exec" { - command = "wget -O ${local.lambda_zip_file} ${data.github_release.this.assets[2].browser_download_url}" + command = <