Skip to content

Commit f390fa2

Browse files
committed
Update docs
1 parent 91c9daa commit f390fa2

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

docs/data-sources/project_milestone.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,13 @@ data "gitlab_project_milestone" "example" {
3737
- `milestone_id` (Number) The instance-wide ID of the project’s milestone.
3838
- `project_id` (String) The ID or URL-encoded path of the project owned by the authenticated user.
3939

40-
### Optional
41-
42-
- `id` (String) The ID of this resource.
43-
4440
### Read-Only
4541

4642
- `created_at` (String) The time of creation of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
4743
- `description` (String) The description of the milestone.
4844
- `due_date` (String) The due date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
4945
- `expired` (Boolean) Bool, true if milestore expired.
46+
- `id` (String) The ID of this resource.
5047
- `iid` (Number) The ID of the project's milestone.
5148
- `start_date` (String) The start date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
5249
- `state` (String) The state of the milestone. Valid values are: `active`, `closed`.

docs/data-sources/project_milestones.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ data "gitlab_project_milestones" "example" {
3636

3737
### Optional
3838

39-
- `id` (String) The ID of this resource.
4039
- `iids` (List of Number) Return only the milestones having the given `iid` (Note: ignored if `include_parent_milestones` is set as `true`).
4140
- `include_parent_milestones` (Boolean) Include group milestones from parent group and its ancestors. Introduced in GitLab 13.4.
4241
- `search` (String) Return only milestones with a title or description matching the provided string.
@@ -45,6 +44,7 @@ data "gitlab_project_milestones" "example" {
4544

4645
### Read-Only
4746

47+
- `id` (String) The ID of this resource.
4848
- `milestones` (List of Object) List of milestones from a project. (see [below for nested schema](#nestedatt--milestones))
4949

5050
<a id="nestedatt--milestones"></a>

docs/resources/project_milestone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ resource "gitlab_project_milestone" "example" {
4242
- `created_at` (String) The time of creation of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
4343
- `description` (String) The description of the milestone.
4444
- `due_date` (String) The due date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
45-
- `id` (String) The ID of this resource.
4645
- `start_date` (String) The start date of the milestone. Date time string in the format YYYY-MM-DD, for example 2016-03-11.
4746
- `state` (String) The state of the milestone. Valid values are: `active`, `closed`.
4847
- `updated_at` (String) The last update time of the milestone. Date time string, ISO 8601 formatted, for example 2016-03-11T03:45:40Z.
4948

5049
### Read-Only
5150

5251
- `expired` (Boolean) Bool, true if milestore expired.
52+
- `id` (String) The ID of this resource.
5353
- `iid` (Number) The ID of the project's milestone.
5454
- `milestone_id` (Number) The instance-wide ID of the project’s milestone.
5555
- `web_url` (String) The web URL of the milestone.

0 commit comments

Comments
 (0)