@cryptotaxi247 / infra-1 / commits / 87e98f27

Set EC2 tags

Eelco Dolstra committed Feb 2, 2015 at 17:29 UTC 87e98f270d1d570fe00d524e8ae68ae591653b6c
1 file changed +6 -4
nixos-org/network.nix
+6 -4
@@ -5,22 +5,22 @@ let
5 in
6
7 {
8 - network.description = "Nixos.org Infrastructure";
8 + network.description = "NixOS.org Infrastructure";
9
10 resources.ebsVolumes.tarballs =
11 - { name = "Nixpkgs source tarball mirror";
11 + { tags.Name = "Nixpkgs source tarball mirror";
12 inherit region zone accessKeyId;
13 size = 100;
14 };
15
16 resources.ebsVolumes.releases =
17 - { name = "Nix/Nixpkgs/NixOS releases";
17 + { tags.Name = "Nix/Nixpkgs/NixOS releases";
18 inherit region zone accessKeyId;
19 size = 500;
20 };
21
22 resources.ebsVolumes.data =
23 - { name = "Misc. data";
23 + { tags.Name = "Misc. NixOS.org data";
24 inherit region zone accessKeyId;
25 size = 10;
26 };
@@ -37,6 +37,8 @@ in
37 { config, pkgs, resources, ... }:
38
39 { deployment.targetEnv = "ec2";
40 + deployment.ec2.tags.Name = "NixOS.org Webserver";
41 + deployment.owners = [ "eelco.dolstra@logicblox.com" "rob.vermaas@logicblox.com" ];
42 deployment.ec2.region = region;
43 deployment.ec2.zone = zone;
44 deployment.ec2.instanceType = "m3.medium";