From a9cfde0df1c4cc1e04775e02a236d0e1406ba3f8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 25 Oct 2011 15:27:29 +0000 Subject: [PATCH] * securityGroup -> securityGroups. svn path=/nixos/trunk/; revision=30014 --- modules/misc/deployment.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/misc/deployment.nix b/modules/misc/deployment.nix index b9be81ebf57..9f3ca08c7d1 100644 --- a/modules/misc/deployment.nix +++ b/modules/misc/deployment.nix @@ -95,6 +95,7 @@ let cfg = config.deployment; in deployment.ec2.keyPair = mkOption { example = "my-keypair"; + type = types.uniq types.string; description = '' Name of the SSH key pair to be used to communicate securely with the instance. Key pairs can be created using the @@ -102,11 +103,13 @@ let cfg = config.deployment; in ''; }; - deployment.ec2.securityGroup = mkOption { - default = ""; - example = "my-group"; + deployment.ec2.securityGroups = mkOption { + default = [ "default" ]; + example = [ "my-group" "my-other-group" ]; + type = types.list types.string; description = '' - Security group for the instance. + Security groups for the instance. These determine the + firewall rules applied to the instance. ''; };