Skip to content

Commit

Permalink
Fix document
Browse files Browse the repository at this point in the history
  • Loading branch information
HuyPhanNguyen committed Aug 12, 2024
1 parent cf4c13e commit a03eab3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/resources/tag.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ This resource manages tags in Octopus Deploy.

### Required

- `color` (String)
- `name` (String) The name of this resource.
- `color` (String) The color of the tag.
- `name` (String) The name of the tag.
- `tag_set_id` (String) The ID of the associated tag set.

### Optional

- `description` (String) The description of this tag.
- `id` (String) The unique ID for this resource.
- `sort_order` (Number)
- `tag_set_space_id` (String) The Space ID of the associated tag set. Required if the tag set is not in the same space as what is configured on the provider
- `description` (String) The description of the tag.
- `id` (String) The ID of this resource.
- `sort_order` (Number) The sort order of the tag.
- `tag_set_space_id` (String) The Space ID of the associated tag set. Required if the tag set is not in the same space as what is configured on the provider.

### Read-Only

- `canonical_tag_name` (String)
- `canonical_tag_name` (String) The canonical name of the tag.


1 change: 1 addition & 0 deletions octopusdeploy_framework/schemas/tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ func GetTagResourceSchema() resourceSchema.Schema {
Description: "This resource manages tags in Octopus Deploy.",
Attributes: map[string]resourceSchema.Attribute{
"id": util.ResourceString().
Optional().
Computed().
Description("The ID of this resource.").
Build(),
Expand Down

0 comments on commit a03eab3

Please sign in to comment.