ec2-amis.nix: Create a "latest" attribute for NixOps
commit4b89d478870d211672737fc492b52aefb98ac574
authorEelco Dolstra <edolstra@gmail.com>
dateMon 3 Oct 2016, 18:16 (10 years ago)
parent39b75f3
nixos/modules/virtualisation/ec2-amis.nix+4−2
@@ -1,4 +1,4 @@
1−{
1+let self = {
22 "14.04".ap-northeast-1.hvm-ebs = "ami-71c6f470";
33 "14.04".ap-northeast-1.pv-ebs = "ami-4dcbf84c";
44 "14.04".ap-northeast-1.pv-s3 = "ami-8fc4f68e";
@@ -180,4 +180,6 @@
180180 "16.09".us-west-2.hvm-s3 = "ami-93fc25f3";
181181 "16.09".us-west-2.pv-ebs = "ami-14fe2774";
182182 "16.09".us-west-2.pv-s3 = "ami-74f12814";
183−}
183+
184+ latest = self."16.09";
185+}; in self