* securityGroup -> securityGroups.

svn path=/nixos/trunk/; revision=30014
This commit is contained in:
Eelco Dolstra 2011-10-25 15:27:29 +00:00
parent e4a6ea0632
commit a9cfde0df1

View File

@ -95,6 +95,7 @@ let cfg = config.deployment; in
deployment.ec2.keyPair = mkOption { deployment.ec2.keyPair = mkOption {
example = "my-keypair"; example = "my-keypair";
type = types.uniq types.string;
description = '' description = ''
Name of the SSH key pair to be used to communicate securely Name of the SSH key pair to be used to communicate securely
with the instance. Key pairs can be created using the with the instance. Key pairs can be created using the
@ -102,11 +103,13 @@ let cfg = config.deployment; in
''; '';
}; };
deployment.ec2.securityGroup = mkOption { deployment.ec2.securityGroups = mkOption {
default = ""; default = [ "default" ];
example = "my-group"; example = [ "my-group" "my-other-group" ];
type = types.list types.string;
description = '' description = ''
Security group for the instance. Security groups for the instance. These determine the
firewall rules applied to the instance.
''; '';
}; };