Skip to content

New data sources - buildkite_clusters, buildkite_teams #971

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

Merged
merged 5 commits into from
Aug 7, 2025

Conversation

petetomasik
Copy link
Contributor

Creates new data sources:

  • buildkite_clusters
  • buildkite_teams

@petetomasik petetomasik requested a review from a team as a code owner August 5, 2025 13:35
@JoeColeman95
Copy link
Contributor

JoeColeman95 commented Aug 5, 2025

Nice!

   + all_clusters       = [
      + {
          + color         = null
          + default_queue = {
              + description = null
              + id          = "<REDACTED>"
              + key         = "default"
              + uuid        = "<REDACTED>"
            }
          + description   = null
          + emoji         = null
          + id            = "<REDACTED>"
          + name          = "Default cluster"
          + uuid          = "<REDACTED>"
        },
      + {
          + color         = null
          + default_queue = {
              + description = "Automatically created when the cluster was created"
              + id          = "<REDACTED>"
              + key         = "default"
              + uuid        = "<REDACTED>"
            }
          + description   = ""
          + emoji         = null
          + id            = "<REDACTED>"
          + name          = "TEST"
          + uuid          = "<REDACTED>"
        },
    ]
   + all_teams          = [
      + {
          + default_member_role          = "MEMBER"
          + description                  = ""
          + id                           = "<REDACTED>"
          + is_default_team              = true
          + members_can_create_pipelines = true
          + name                         = "Everyone"
          + privacy                      = "VISIBLE"
          + slug                         = "everyone"
          + uuid                         = "<REDACTED>"
        },
      + {
          + default_member_role          = "MEMBER"
          + description                  = ""
          + id                           = "<REDACTED>"
          + is_default_team              = false
          + members_can_create_pipelines = true
          + name                         = "test2"
          + privacy                      = "VISIBLE"
          + slug                         = "test2"
          + uuid                         = "<REDACTED>"
        },
      + {
          + default_member_role          = "MEMBER"
          + description                  = ""
          + id                           = "<REDACTED>"
          + is_default_team              = false
          + members_can_create_pipelines = true
          + name                         = "test3"
          + privacy                      = "VISIBLE"
          + slug                         = "test3"
          + uuid                         = "<REDACTED>"
        },
      + {
          + default_member_role          = "MEMBER"
          + description                  = ""
          + id                           = "<REDACTED>"
          + is_default_team              = false
          + members_can_create_pipelines = true
          + name                         = "Testing"
          + privacy                      = "VISIBLE"
          + slug                         = "testing"
          + uuid                         = "<REDACTED>"
        },
    ]
   + clusters_count     = 2
   + specific_team_info = {
      + id   = "<REDACTED>"
      + name = "Everyone"
      + slug = "everyone"
    }
   + teams_count        = 4

@tomowatt tomowatt enabled auto-merge (squash) August 7, 2025 09:08
@tomowatt tomowatt merged commit 81951b2 into main Aug 7, 2025
1 check passed
@tomowatt tomowatt deleted the SUP-4333-add-clusters-teams-data-sources branch August 7, 2025 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants