diff --git a/nixos/tests/ec2.nix b/nixos/tests/ec2.nix index 7a336445d793..ae9a79db5403 100644 --- a/nixos/tests/ec2.nix +++ b/nixos/tests/ec2.nix @@ -59,7 +59,7 @@ let } ]; }).config; - image = "${imageCfg.system.build.amazonImage}/${imageCfg.image.imageFile}"; + image = "${imageCfg.system.build.amazonImage}/${imageCfg.image.fileName}"; sshKeys = import ./ssh-keys.nix pkgs; snakeOilPrivateKey = sshKeys.snakeOilPrivateKey.text;