diff --git a/modules/misc/deployment.nix b/modules/misc/deployment.nix index b45948efdd1..d8d3f28e42e 100644 --- a/modules/misc/deployment.nix +++ b/modules/misc/deployment.nix @@ -38,10 +38,11 @@ with pkgs.lib; # EC2/Nova/Eucalyptus-specific options. - deployment.ec2.url = mkOption { - example = "https://ec2.eu-west-1.amazonaws.com:443/"; + deployment.ec2.controller = mkOption { + example = https://ec2.eu-west-1.amazonaws.com:443/; description = '' - URL of an Amazon EC2-compatible web service, used to create virtual machines. + URI of an Amazon EC2-compatible cloud controller web service, + used to create and manage virtual machines. ''; }; @@ -63,6 +64,15 @@ with pkgs.lib; ''; }; + deployment.ec2.keyPair = mkOption { + example = "my-keypair"; + description = '' + Name of the SSH key pair to be used to communicate securely + with the instance. Key pairs can be created using the + ec2-add-keypair command. + ''; + }; + # Ad hoc cloud options. deployment.adhoc.controller = mkOption {