Skip to content

Commit 018e6d6

Browse files
committed
update docs and version
1 parent 5225e27 commit 018e6d6

File tree

6 files changed

+136
-6
lines changed

6 files changed

+136
-6
lines changed

docs/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
33
page_title: "doit Provider"
4-
subcategory: ""
54
description: |-
65
DoiT Provider. Notice that this provider is proof of concept and it is not currently supported.
76
---
@@ -17,7 +16,7 @@ terraform {
1716
required_providers {
1817
doit = {
1918
source = "doitintl/doit"
20-
version = "0.23.0"
19+
version = "0.25.0"
2120
}
2221
}
2322
}

docs/resources/allocation.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "doit_allocation Resource - terraform-provider-doit"
4+
subcategory: ""
5+
description: |-
6+
7+
---
8+
9+
# doit_allocation (Resource)
10+
11+
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Required
19+
20+
- `name` (String) Allocation name
21+
- `rule` (Attributes) (see [below for nested schema](#nestedatt--rule))
22+
23+
### Optional
24+
25+
- `description` (String) Allocation description
26+
27+
### Read-Only
28+
29+
- `allocation_type` (String) Type of the created allocation
30+
- `anomaly_detection` (Boolean) Whether anomaly detection is enabled for this allocation
31+
- `create_time` (Number) The time when the allocation was created (in UNIX timestamp).
32+
- `id` (String) ID of the created allocation
33+
- `type` (String) Type of allocation (preset or custom)
34+
- `update_time` (Number) Last time the allocation was modified (in UNIX timestamp).
35+
36+
<a id="nestedatt--rule"></a>
37+
### Nested Schema for `rule`
38+
39+
Optional:
40+
41+
- `components` (Attributes List) List of allocation filter components (see [below for nested schema](#nestedatt--rule--components))
42+
- `formula` (String) Formula for combining components (A is the first component, B is the second one, etc.)
43+
44+
<a id="nestedatt--rule--components"></a>
45+
### Nested Schema for `rule.components`
46+
47+
Required:
48+
49+
- `key` (String) Key of a dimension. Examples: "billing_account_id", "country", etc.
50+
- `mode` (String) Filter mode to apply
51+
- `type` (String)
52+
- `values` (List of String)
53+
54+
Optional:
55+
56+
- `include_null` (Boolean) Include null values
57+
- `inverse_selection` (Boolean) If true, all selected values will be excluded.

docs/resources/allocation_group.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "doit_allocation_group Resource - terraform-provider-doit"
4+
subcategory: ""
5+
description: |-
6+
7+
---
8+
9+
# doit_allocation_group (Resource)
10+
11+
12+
13+
14+
15+
<!-- schema generated by tfplugindocs -->
16+
## Schema
17+
18+
### Required
19+
20+
- `name` (String) Allocation group name
21+
- `rules` (Attributes List) Array of allocation rules for this group (see [below for nested schema](#nestedatt--rules))
22+
23+
### Optional
24+
25+
- `description` (String) Allocation group description
26+
- `unallocated_costs` (String) Custom label for any values that do not fit into attributions
27+
28+
### Read-Only
29+
30+
- `allocation_type` (String) Type of the created allocation
31+
- `cloud` (String) Cloud provider
32+
- `id` (String) ID of the created allocation
33+
- `time_created` (Number) The time when this allocation group was created (in UNIX timestamp).
34+
- `time_modified` (Number) Last time the allocation group was modified (in UNIX timestamp).
35+
- `type` (String) Type of allocation (preset or custom)
36+
37+
<a id="nestedatt--rules"></a>
38+
### Nested Schema for `rules`
39+
40+
Required:
41+
42+
- `action` (String) Action to perform with this rule
43+
44+
Optional:
45+
46+
- `components` (Attributes List) List of allocation filter components (required for 'create' or 'update' action) (see [below for nested schema](#nestedatt--rules--components))
47+
- `description` (String) Description for the allocation rule
48+
- `formula` (String) Formula for combining components (A is the first component, B is the second one, etc.)
49+
- `id` (String) ID of existing allocation (required for 'update' or 'select' action)
50+
- `name` (String) Name for the allocation rule
51+
52+
Read-Only:
53+
54+
- `allocation_type` (String) Type of allocation (single or group)
55+
- `create_time` (Number) The time when the allocation was created (in UNIX timestamp).
56+
- `owner` (String) Allocation owner
57+
- `type` (String) Type of allocation (preset or custom)
58+
- `update_time` (Number) Last time the allocation was modified (in UNIX timestamp).
59+
- `url_ui` (String) URL to view the allocation in DoiT Cloud Navigator.
60+
61+
<a id="nestedatt--rules--components"></a>
62+
### Nested Schema for `rules.components`
63+
64+
Required:
65+
66+
- `key` (String) Key of a dimension. Examples: "billing_account_id", "country", etc.
67+
- `mode` (String) Filter mode to apply
68+
- `type` (String)
69+
- `values` (List of String)
70+
71+
Optional:
72+
73+
- `include_null` (Boolean) Include null values
74+
- `inverse_selection` (Boolean) If true, all selected values will be excluded.

docs/resources/report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ Optional:
168168
- `value` (Number)
169169

170170
<a id="nestedatt--config--group--limit--metric"></a>
171-
### Nested Schema for `config.group.limit.value`
171+
### Nested Schema for `config.group.limit.metric`
172172

173173
Required:
174174

examples/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
doit = {
44
source = "doitintl/doit"
5-
version = "0.24.0"
5+
version = "0.25.0"
66
}
77
}
88
}
@@ -125,4 +125,4 @@ resource "doit_report" "my-report_january" {
125125
}
126126
]
127127
}
128-
}
128+
}

examples/provider/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
doit = {
44
source = "doitintl/doit"
5-
version = "0.24.0"
5+
version = "0.25.0"
66
}
77
}
88
}

0 commit comments

Comments
 (0)