Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a data source to access the Tags in a TagSet #567

Open
garkenxian opened this issue Oct 25, 2023 · 0 comments · May be fixed by #591
Open

Provide a data source to access the Tags in a TagSet #567

garkenxian opened this issue Oct 25, 2023 · 0 comments · May be fixed by #591
Labels
kind/missing-functionality Issues where a resource exists, but there is missing functionality or properties vs API/UI

Comments

@garkenxian
Copy link

garkenxian commented Oct 25, 2023

Problem

Currently, there is no way from the octopusdeploy provider (as of 0.13.1) to get a list of the CanonicalTags that are associated with the TagSets. However, this data is returned as part of the standard /tagsets/all API call.

200 Call Result from /tagsets/all

ex:

[
  {
    "Description": "string",
    "Id": "string",
    "LastModifiedBy": "string",
    "LastModifiedOn": "2023-10-25T17:52:22.476Z",
    "Links": {
      "additionalProp1": "string",
      "additionalProp2": "string",
      "additionalProp3": "string"
    },
    "Name": "string",
    "SortOrder": 0,
    "SpaceId": "string",
    "Tags": [
      {
        "CanonicalTagName": "string",
        "Color": "string",
        "Description": "string",
        "Id": "string",
        "Name": "string",
        "SortOrder": 0
      }
    ]
  

Potential Solutions

  • As part of the data.octopusdeploy_tag_sets result, return a tag object array that includes the canonical tag names.
  • Create a separate data source for accessing Tags
@hans-m-song hans-m-song linked a pull request Jan 3, 2024 that will close this issue
@mjhilton mjhilton added the kind/missing-functionality Issues where a resource exists, but there is missing functionality or properties vs API/UI label Sep 20, 2024
@mjhilton mjhilton changed the title Have data.octopusdeploy_tag_sets call return the Tags Provide a data source to access the Tags in a TagSet Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/missing-functionality Issues where a resource exists, but there is missing functionality or properties vs API/UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants