mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-25 05:24:52 +00:00
fix: reference to removed var in tf
This commit is contained in:
parent
e561d5984b
commit
ddfaf0064c
@ -75,7 +75,7 @@ resource "aws_ebs_snapshot_import" "image" {
|
||||
# Convert to AMI
|
||||
resource "aws_ami" "image" {
|
||||
description = "Created with NixOS."
|
||||
name = replace(basename(local.image_file), "/\\.vhd$/", "")
|
||||
name = replace(basename(data.aws_s3_object.image.key), "/\\.vhd$/", "")
|
||||
virtualization_type = "hvm"
|
||||
root_device_name = "/dev/xvda"
|
||||
ena_support = true
|
||||
|
Loading…
Reference in New Issue
Block a user