-
-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
28 changed files
with
540 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ config, pkgs, uuid, name, ... }: | ||
|
||
with pkgs.lib; | ||
|
||
{ | ||
|
||
options = { | ||
|
||
name = mkOption { | ||
example = "My Big Fat Disk"; | ||
default = "nixops-${uuid}-${name}"; | ||
type = types.str; | ||
description = "Description of the EBS volume. This is the <literal>Name</literal> tag of the disk."; | ||
}; | ||
|
||
region = mkOption { | ||
example = "us-east-1"; | ||
type = types.str; | ||
description = "Amazon EC2 region."; | ||
}; | ||
|
||
zone = mkOption { | ||
example = "us-east-1c"; | ||
type = types.str; | ||
description = '' | ||
The EC2 availability zone in which the volume should be | ||
created. | ||
''; | ||
}; | ||
|
||
accessKeyId = mkOption { | ||
type = types.str; | ||
description = "The AWS Access Key ID."; | ||
}; | ||
|
||
size = mkOption { | ||
example = 100; | ||
type = types.int; | ||
description = "Volume size (in gigabytes)."; | ||
}; | ||
|
||
}; | ||
|
||
config._type = "ebs-volume"; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.