Skip to content

New data source platform_dashboard_folders should return list #1253

@mgriffin13

Description

@mgriffin13

The new harness_platform_dashboard_folders resource is misleading. The resource name is plural, but it only operates on a single folder.

I would expect there to be

  • resource harness_platform_dashboard_folder which takes a name and creates a single folder
  • data harness_platform_dashboard_folder which takes a name and returns an existing dashboard folder
  • data harness_platform_dashboard_folders which optionally takes a filter and returns a list of all dashboard folders

As designed now, the provider doesn't really have any method of discovering existing dashboard folders, you must know in advance any dashboard folder you're interested in using.

https://registry.terraform.io/providers/harness/harness/latest/docs/resources/platform_dashboard_folders
https://registry.terraform.io/providers/harness/harness/latest/docs/data-sources/platform_dashboard_folders

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions