File tree Expand file tree Collapse file tree 4 files changed +25
-4
lines changed Expand file tree Collapse file tree 4 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ terraform {
7
7
required_providers {
8
8
diceroll = {
9
9
source = "briancain/diceroll"
10
- version = ">=0.1.3 "
10
+ version = ">=0.1.4 "
11
11
}
12
12
}
13
13
}
Original file line number Diff line number Diff line change 1
1
# terraform-provider-diceroll
2
2
3
- This provider is still a work in progress. These docs will be updated once it is functional.
3
+ A terraform provider to roll x number of y sided die :game_die :
4
+
5
+ ## Argument Reference
6
+
7
+ * ` description ` - (Optional) This field can be used to give a short description
8
+ of the die used in your resource.
9
+ * ` seed ` - (Required) This string is used to seed the random number generator
10
+ used to roll the die.
11
+ * ` sides ` - (Required, defaults to 1) Can be used to define how many sides
12
+ your die will have. There is no real upper limit to this number beyond what
13
+ Terraform supports as a ` TypeInt ` .
14
+ * ` quantity ` - (Optional, defaults to 1) The number of die to roll together
15
+ in the resource.
16
+
17
+ ### Computed Arguments
18
+
19
+ The following values are automatically computed by Terraform given the arguments
20
+ above defined in a resource.
21
+
22
+ * ` computed_total ` (int) This field is the sum of all die rolled for a given resource
23
+ * ` result ` (Array of Ints) This field contains the resulting roll for each die
24
+ defined inside the resource.
4
25
5
26
## Usage
6
27
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ terraform {
2
2
required_providers {
3
3
diceroll = {
4
4
source = " briancain/diceroll"
5
- version = " >=0.1.3 "
5
+ version = " >=0.1.4 "
6
6
}
7
7
}
8
8
}
Original file line number Diff line number Diff line change 1
- 0.1.3
1
+ 0.1.4
You can’t perform that action at this time.
0 commit comments