From de106298d66bf7b00a83e1fd79d4d79c03d36bcc Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Tue, 7 May 2024 15:37:28 -0400 Subject: [PATCH] Revert "debug: terraform cycle" This reverts commit b34997257ce2fd01b7a5d32ebe8383c62fcf33dc. --- hosts/arrow/aws/image.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/arrow/aws/image.tf b/hosts/arrow/aws/image.tf index 6b12ec9..53cc979 100644 --- a/hosts/arrow/aws/image.tf +++ b/hosts/arrow/aws/image.tf @@ -75,7 +75,7 @@ resource "aws_ebs_snapshot_import" "image" { # Convert to AMI resource "aws_ami" "image" { description = "Created with NixOS." - name = replace(basename("arrow.vhd"), "/\\.vhd$/", "") + name = replace(basename(data.aws_s3_object.image.key), "/\\.vhd$/", "") virtualization_type = "hvm" root_device_name = "/dev/xvda" ena_support = true