@pulumiverse/buildkite 2.3.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/README.md +5 -0
  2. package/agent/agentToken.d.ts +13 -19
  3. package/agent/agentToken.js +6 -6
  4. package/agent/agentToken.js.map +1 -1
  5. package/cluster/cluster.d.ts +76 -20
  6. package/cluster/cluster.js +56 -6
  7. package/cluster/cluster.js.map +1 -1
  8. package/cluster/clusterAgentToken.d.ts +51 -15
  9. package/cluster/clusterAgentToken.js +28 -8
  10. package/cluster/clusterAgentToken.js.map +1 -1
  11. package/cluster/clusterDefaultQueue.d.ts +132 -0
  12. package/cluster/clusterDefaultQueue.js +123 -0
  13. package/cluster/clusterDefaultQueue.js.map +1 -0
  14. package/cluster/clusterQueue.d.ts +44 -50
  15. package/cluster/clusterQueue.js +37 -43
  16. package/cluster/clusterQueue.js.map +1 -1
  17. package/cluster/getCluster.d.ts +52 -5
  18. package/cluster/getCluster.js +44 -0
  19. package/cluster/getCluster.js.map +1 -1
  20. package/cluster/index.d.ts +3 -0
  21. package/cluster/index.js +6 -1
  22. package/cluster/index.js.map +1 -1
  23. package/config/vars.d.ts +9 -7
  24. package/config/vars.js +6 -0
  25. package/config/vars.js.map +1 -1
  26. package/getMeta.d.ts +55 -1
  27. package/getMeta.js +55 -1
  28. package/getMeta.js.map +1 -1
  29. package/index.d.ts +1 -0
  30. package/index.js +3 -2
  31. package/index.js.map +1 -1
  32. package/organization/banner.d.ts +106 -0
  33. package/organization/banner.js +104 -0
  34. package/organization/banner.js.map +1 -0
  35. package/organization/getOrganization.d.ts +12 -21
  36. package/organization/getOrganization.js +9 -21
  37. package/organization/getOrganization.js.map +1 -1
  38. package/organization/index.d.ts +4 -3
  39. package/organization/index.js +8 -7
  40. package/organization/index.js.map +1 -1
  41. package/organization/organization.d.ts +31 -13
  42. package/organization/organization.js +12 -10
  43. package/organization/organization.js.map +1 -1
  44. package/package.json +2 -3
  45. package/package.json.bak +1 -2
  46. package/pipeline/getPipeline.d.ts +26 -18
  47. package/pipeline/getPipeline.js +12 -14
  48. package/pipeline/getPipeline.js.map +1 -1
  49. package/pipeline/getSignedSteps.d.ts +143 -0
  50. package/pipeline/getSignedSteps.js +95 -0
  51. package/pipeline/getSignedSteps.js.map +1 -0
  52. package/pipeline/getTemplate.d.ts +120 -0
  53. package/pipeline/getTemplate.js +83 -0
  54. package/pipeline/getTemplate.js.map +1 -0
  55. package/pipeline/index.d.ts +9 -0
  56. package/pipeline/index.js +12 -1
  57. package/pipeline/index.js.map +1 -1
  58. package/pipeline/pipeline.d.ts +116 -101
  59. package/pipeline/pipeline.js +18 -16
  60. package/pipeline/pipeline.js.map +1 -1
  61. package/pipeline/schedule.d.ts +64 -53
  62. package/pipeline/schedule.js +38 -27
  63. package/pipeline/schedule.js.map +1 -1
  64. package/pipeline/team.d.ts +42 -31
  65. package/pipeline/team.js +34 -23
  66. package/pipeline/team.js.map +1 -1
  67. package/pipeline/template.d.ts +157 -0
  68. package/pipeline/template.js +125 -0
  69. package/pipeline/template.js.map +1 -0
  70. package/provider.d.ts +23 -9
  71. package/provider.js +1 -0
  72. package/provider.js.map +1 -1
  73. package/team/getTeam.d.ts +33 -34
  74. package/team/getTeam.js +18 -16
  75. package/team/getTeam.js.map +1 -1
  76. package/team/member.d.ts +44 -44
  77. package/team/member.js +33 -33
  78. package/team/team.d.ts +45 -43
  79. package/team/team.js +26 -24
  80. package/team/team.js.map +1 -1
  81. package/testsuite/team.d.ts +48 -52
  82. package/testsuite/team.js +43 -47
  83. package/testsuite/team.js.map +1 -1
  84. package/testsuite/testSuite.d.ts +21 -27
  85. package/testsuite/testSuite.js +6 -12
  86. package/testsuite/testSuite.js.map +1 -1
  87. package/types/input.d.ts +37 -21
  88. package/types/output.d.ts +34 -18
  89. package/utilities.d.ts +4 -0
  90. package/utilities.js +33 -1
  91. package/utilities.js.map +1 -1
  92. package/organization/settings.d.ts +0 -80
  93. package/organization/settings.js +0 -81
  94. package/organization/settings.js.map +0 -1
  95. package/scripts/install-pulumi-plugin.js +0 -26
@@ -1,64 +1,75 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## # Resource: pipelineSchedule
3
+ * A pipeline schedule is a schedule that triggers a pipeline to run at a specific time.
4
4
  *
5
- * This resource allows you to create and manage pipeline schedules.
6
- *
7
- * Buildkite Documentation: https://buildkite.com/docs/pipelines/scheduled-builds
5
+ * You can find more information in the [documentation](https://buildkite.com/docs/pipelines/scheduled-builds).
8
6
  *
9
7
  * ## Example Usage
10
8
  *
9
+ * <!--Start PulumiCodeChooser -->
11
10
  * ```typescript
12
11
  * import * as pulumi from "@pulumi/pulumi";
13
12
  * import * as buildkite from "@pulumiverse/buildkite";
14
13
  *
15
- * const repo2Nightly = new buildkite.pipeline.Schedule("repo2Nightly", {
16
- * pipelineId: buildkite_pipeline.repo2.id,
14
+ * // create a pipeline
15
+ * const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
16
+ * // schedule a build at midnight every day
17
+ * const nightly = new buildkite.pipeline.Schedule("nightly", {
18
+ * pipelineId: buildkite_pipeline.repo.id,
17
19
  * label: "Nightly build",
18
20
  * cronline: "@midnight",
19
- * branch: buildkite_pipeline.repo2.default_branch,
21
+ * branch: buildkite_pipeline.repo.default_branch,
20
22
  * });
21
23
  * ```
24
+ * <!--End PulumiCodeChooser -->
22
25
  *
23
26
  * ## Import
24
27
  *
25
- * Pipeline schedules can be imported using their `GraphQL ID`, e.g.
28
+ * import a pipeline schedule resource using the schedules GraphQL ID
26
29
  *
27
- * ```sh
28
- * $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
29
- * ```
30
+ * #
31
+ *
32
+ * you can use this query to find the schedule:
33
+ *
34
+ * query getPipelineScheduleId {
30
35
  *
31
- * Your pipeline schedules' GraphQL ID can be found with the below GraphQL query below. Alternatively, you could use this [pre-saved query](https://buildkite.com/user/graphql/console/45687b7c-2565-4acb-8a74-750a3647875f), specifying the organisation slug (when known) and the pipeline search term (PIPELINE_SEARCH_TERM). graphql query getPipelineScheduleId {
36
+ * organization(slug: "ORGANIZATION_SLUG") {
32
37
  *
33
- * organization(slug"ORGANIZATION_SLUG") { pipelines(first5, search"PIPELINE_SEARCH_TERM") {
38
+ * pipelines(first: 5, search: "PIPELINE_SEARCH_TERM") {
34
39
  *
35
- * edges{
40
+ * edges{
36
41
  *
37
- * node{
42
+ * node{
38
43
  *
39
- * name
44
+ * name
40
45
  *
41
- * schedules{
46
+ * schedules{
42
47
  *
43
- * edges{
48
+ * edges{
44
49
  *
45
- * node{
50
+ * node{
46
51
  *
47
- * id
52
+ * id
48
53
  *
49
- * }
54
+ * }
50
55
  *
51
- * }
56
+ * }
52
57
  *
53
- * }
58
+ * }
54
59
  *
55
- * }
60
+ * }
56
61
  *
57
- * }
62
+ * }
58
63
  *
59
- * }
64
+ * }
60
65
  *
61
- * } }
66
+ * }
67
+ *
68
+ * }
69
+ *
70
+ * ```sh
71
+ * $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
72
+ * ```
62
73
  */
63
74
  export declare class Schedule extends pulumi.CustomResource {
64
75
  /**
@@ -77,41 +88,41 @@ export declare class Schedule extends pulumi.CustomResource {
77
88
  */
78
89
  static isInstance(obj: any): obj is Schedule;
79
90
  /**
80
- * The branch to use for the build.
91
+ * The branch that the schedule should run on.
81
92
  */
82
93
  readonly branch: pulumi.Output<string>;
83
94
  /**
84
- * The commit ref to use for the build.
95
+ * The commit that the schedule should run on.
85
96
  */
86
97
  readonly commit: pulumi.Output<string>;
87
98
  /**
88
- * Schedule interval (see [docs](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals)).
99
+ * The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.
89
100
  */
90
101
  readonly cronline: pulumi.Output<string>;
91
102
  /**
92
- * Whether the schedule should run.
103
+ * Whether the schedule is enabled or not.
93
104
  */
94
105
  readonly enabled: pulumi.Output<boolean>;
95
106
  /**
96
- * A map of environment variables to use for the build.
107
+ * The environment variables that scheduled builds should use.
97
108
  */
98
109
  readonly env: pulumi.Output<{
99
110
  [key: string]: string;
100
111
  } | undefined>;
101
112
  /**
102
- * Schedule label.
113
+ * A label to describe the schedule.
103
114
  */
104
115
  readonly label: pulumi.Output<string>;
105
116
  /**
106
- * The message to use for the build.
117
+ * The message the builds show for builds created by this schedule.
107
118
  */
108
119
  readonly message: pulumi.Output<string | undefined>;
109
120
  /**
110
- * The ID of the pipeline that this schedule belongs to.
121
+ * The GraphQL ID of the pipeline that this schedule belongs to.
111
122
  */
112
123
  readonly pipelineId: pulumi.Output<string>;
113
124
  /**
114
- * The UUID of the pipeline schedule
125
+ * The UUID of the schedule.
115
126
  */
116
127
  readonly uuid: pulumi.Output<string>;
117
128
  /**
@@ -128,41 +139,41 @@ export declare class Schedule extends pulumi.CustomResource {
128
139
  */
129
140
  export interface ScheduleState {
130
141
  /**
131
- * The branch to use for the build.
142
+ * The branch that the schedule should run on.
132
143
  */
133
144
  branch?: pulumi.Input<string>;
134
145
  /**
135
- * The commit ref to use for the build.
146
+ * The commit that the schedule should run on.
136
147
  */
137
148
  commit?: pulumi.Input<string>;
138
149
  /**
139
- * Schedule interval (see [docs](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals)).
150
+ * The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.
140
151
  */
141
152
  cronline?: pulumi.Input<string>;
142
153
  /**
143
- * Whether the schedule should run.
154
+ * Whether the schedule is enabled or not.
144
155
  */
145
156
  enabled?: pulumi.Input<boolean>;
146
157
  /**
147
- * A map of environment variables to use for the build.
158
+ * The environment variables that scheduled builds should use.
148
159
  */
149
160
  env?: pulumi.Input<{
150
161
  [key: string]: pulumi.Input<string>;
151
162
  }>;
152
163
  /**
153
- * Schedule label.
164
+ * A label to describe the schedule.
154
165
  */
155
166
  label?: pulumi.Input<string>;
156
167
  /**
157
- * The message to use for the build.
168
+ * The message the builds show for builds created by this schedule.
158
169
  */
159
170
  message?: pulumi.Input<string>;
160
171
  /**
161
- * The ID of the pipeline that this schedule belongs to.
172
+ * The GraphQL ID of the pipeline that this schedule belongs to.
162
173
  */
163
174
  pipelineId?: pulumi.Input<string>;
164
175
  /**
165
- * The UUID of the pipeline schedule
176
+ * The UUID of the schedule.
166
177
  */
167
178
  uuid?: pulumi.Input<string>;
168
179
  }
@@ -171,37 +182,37 @@ export interface ScheduleState {
171
182
  */
172
183
  export interface ScheduleArgs {
173
184
  /**
174
- * The branch to use for the build.
185
+ * The branch that the schedule should run on.
175
186
  */
176
187
  branch: pulumi.Input<string>;
177
188
  /**
178
- * The commit ref to use for the build.
189
+ * The commit that the schedule should run on.
179
190
  */
180
191
  commit?: pulumi.Input<string>;
181
192
  /**
182
- * Schedule interval (see [docs](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals)).
193
+ * The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.
183
194
  */
184
195
  cronline: pulumi.Input<string>;
185
196
  /**
186
- * Whether the schedule should run.
197
+ * Whether the schedule is enabled or not.
187
198
  */
188
199
  enabled?: pulumi.Input<boolean>;
189
200
  /**
190
- * A map of environment variables to use for the build.
201
+ * The environment variables that scheduled builds should use.
191
202
  */
192
203
  env?: pulumi.Input<{
193
204
  [key: string]: pulumi.Input<string>;
194
205
  }>;
195
206
  /**
196
- * Schedule label.
207
+ * A label to describe the schedule.
197
208
  */
198
209
  label: pulumi.Input<string>;
199
210
  /**
200
- * The message to use for the build.
211
+ * The message the builds show for builds created by this schedule.
201
212
  */
202
213
  message?: pulumi.Input<string>;
203
214
  /**
204
- * The ID of the pipeline that this schedule belongs to.
215
+ * The GraphQL ID of the pipeline that this schedule belongs to.
205
216
  */
206
217
  pipelineId: pulumi.Input<string>;
207
218
  }
@@ -6,65 +6,76 @@ exports.Schedule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * ## # Resource: pipelineSchedule
9
+ * A pipeline schedule is a schedule that triggers a pipeline to run at a specific time.
10
10
  *
11
- * This resource allows you to create and manage pipeline schedules.
12
- *
13
- * Buildkite Documentation: https://buildkite.com/docs/pipelines/scheduled-builds
11
+ * You can find more information in the [documentation](https://buildkite.com/docs/pipelines/scheduled-builds).
14
12
  *
15
13
  * ## Example Usage
16
14
  *
15
+ * <!--Start PulumiCodeChooser -->
17
16
  * ```typescript
18
17
  * import * as pulumi from "@pulumi/pulumi";
19
18
  * import * as buildkite from "@pulumiverse/buildkite";
20
19
  *
21
- * const repo2Nightly = new buildkite.pipeline.Schedule("repo2Nightly", {
22
- * pipelineId: buildkite_pipeline.repo2.id,
20
+ * // create a pipeline
21
+ * const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
22
+ * // schedule a build at midnight every day
23
+ * const nightly = new buildkite.pipeline.Schedule("nightly", {
24
+ * pipelineId: buildkite_pipeline.repo.id,
23
25
  * label: "Nightly build",
24
26
  * cronline: "@midnight",
25
- * branch: buildkite_pipeline.repo2.default_branch,
27
+ * branch: buildkite_pipeline.repo.default_branch,
26
28
  * });
27
29
  * ```
30
+ * <!--End PulumiCodeChooser -->
28
31
  *
29
32
  * ## Import
30
33
  *
31
- * Pipeline schedules can be imported using their `GraphQL ID`, e.g.
34
+ * import a pipeline schedule resource using the schedules GraphQL ID
32
35
  *
33
- * ```sh
34
- * $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
35
- * ```
36
+ * #
37
+ *
38
+ * you can use this query to find the schedule:
39
+ *
40
+ * query getPipelineScheduleId {
36
41
  *
37
- * Your pipeline schedules' GraphQL ID can be found with the below GraphQL query below. Alternatively, you could use this [pre-saved query](https://buildkite.com/user/graphql/console/45687b7c-2565-4acb-8a74-750a3647875f), specifying the organisation slug (when known) and the pipeline search term (PIPELINE_SEARCH_TERM). graphql query getPipelineScheduleId {
42
+ * organization(slug: "ORGANIZATION_SLUG") {
38
43
  *
39
- * organization(slug"ORGANIZATION_SLUG") { pipelines(first5, search"PIPELINE_SEARCH_TERM") {
44
+ * pipelines(first: 5, search: "PIPELINE_SEARCH_TERM") {
40
45
  *
41
- * edges{
46
+ * edges{
42
47
  *
43
- * node{
48
+ * node{
44
49
  *
45
- * name
50
+ * name
46
51
  *
47
- * schedules{
52
+ * schedules{
48
53
  *
49
- * edges{
54
+ * edges{
50
55
  *
51
- * node{
56
+ * node{
52
57
  *
53
- * id
58
+ * id
54
59
  *
55
- * }
60
+ * }
56
61
  *
57
- * }
62
+ * }
58
63
  *
59
- * }
64
+ * }
60
65
  *
61
- * }
66
+ * }
62
67
  *
63
- * }
68
+ * }
64
69
  *
65
- * }
70
+ * }
66
71
  *
67
- * } }
72
+ * }
73
+ *
74
+ * }
75
+ *
76
+ * ```sh
77
+ * $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
78
+ * ```
68
79
  */
69
80
  class Schedule extends pulumi.CustomResource {
70
81
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../pipeline/schedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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51 +1,62 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## # Resource: pipelineTeam
4
- *
5
- * This resource allows you to create and manage team configuration in a pipeline.
6
- *
7
- * Buildkite Documentation: https://buildkite.com/docs/pipelines/permissions#permissions-with-teams-pipeline-level-permissions
3
+ * Manage team access to a pipeline.
8
4
  *
9
5
  * ## Example Usage
10
6
  *
7
+ * <!--Start PulumiCodeChooser -->
11
8
  * ```typescript
12
9
  * import * as pulumi from "@pulumi/pulumi";
13
10
  * import * as buildkite from "@pulumiverse/buildkite";
14
11
  *
15
- * const developers = new buildkite.pipeline.Team("developers", {
16
- * pipelineId: buildkite_pipeline.repo2,
17
- * teamId: buildkite_team.test.id,
18
- * accessLevel: "MANAGE_BUILD_AND_READ",
12
+ * const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
13
+ * const team = new buildkite.team.Team("team", {
14
+ * privacy: "VISIBLE",
15
+ * defaultTeam: false,
16
+ * defaultMemberRole: "MEMBER",
17
+ * });
18
+ * // allow everyone in the "Everyone" team read-only access to pipeline
19
+ * const pipelineTeam = new buildkite.pipeline.Team("pipelineTeam", {
20
+ * pipelineId: pipeline.id,
21
+ * teamId: team.id,
22
+ * accessLevel: "READ_ONLY",
19
23
  * });
20
24
  * ```
25
+ * <!--End PulumiCodeChooser -->
21
26
  *
22
27
  * ## Import
23
28
  *
24
- * Pipeline teams can be imported using their `GraphQL ID`, e.g.
29
+ * import a pipeline team resource using the GraphQL ID
25
30
  *
26
- * ```sh
27
- * $ pulumi import buildkite:Pipeline/team:Team guests VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==
28
- * ```
31
+ * #
29
32
  *
30
- * Your pipeline team's GraphQL ID can be found with the below GraphQL query below.
33
+ * you can use this query to find the ID:
31
34
  *
32
- * graphql query getPipelineTeamId {
35
+ * query getPipelineTeamId {
33
36
  *
34
- * pipeline(slug"ORGANIZATION_SLUG/PIPELINE_SLUG") { teams(first5, search"PIPELINE_SEARCH_TERM") {
37
+ * pipeline(slug: "ORGANIZATION_SLUG/PIPELINE_SLUG") {
35
38
  *
36
- * edges{
39
+ * teams(first: 5, search: "PIPELINE_SEARCH_TERM") {
37
40
  *
38
- * node{
41
+ * edges{
39
42
  *
40
- * id
43
+ * node{
41
44
  *
42
- * }
45
+ * id
43
46
  *
44
- * }
47
+ * }
45
48
  *
46
- * }
49
+ * }
47
50
  *
48
- * } }
51
+ * }
52
+ *
53
+ * }
54
+ *
55
+ * }
56
+ *
57
+ * ```sh
58
+ * $ pulumi import buildkite:Pipeline/team:Team guests VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==
59
+ * ```
49
60
  */
50
61
  export declare class Team extends pulumi.CustomResource {
51
62
  /**
@@ -64,7 +75,7 @@ export declare class Team extends pulumi.CustomResource {
64
75
  */
65
76
  static isInstance(obj: any): obj is Team;
66
77
  /**
67
- * The level of access to grant. Must be one of `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
78
+ * The access level for the team. Either `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
68
79
  */
69
80
  readonly accessLevel: pulumi.Output<string>;
70
81
  /**
@@ -72,11 +83,11 @@ export declare class Team extends pulumi.CustomResource {
72
83
  */
73
84
  readonly pipelineId: pulumi.Output<string>;
74
85
  /**
75
- * The GraphQL ID of the team to add to/remove from.
86
+ * The GraphQL ID of the team.
76
87
  */
77
88
  readonly teamId: pulumi.Output<string>;
78
89
  /**
79
- * The UUID of the pipeline schedule
90
+ * The UUID of the pipeline-team relationship.
80
91
  */
81
92
  readonly uuid: pulumi.Output<string>;
82
93
  /**
@@ -93,7 +104,7 @@ export declare class Team extends pulumi.CustomResource {
93
104
  */
94
105
  export interface TeamState {
95
106
  /**
96
- * The level of access to grant. Must be one of `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
107
+ * The access level for the team. Either `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
97
108
  */
98
109
  accessLevel?: pulumi.Input<string>;
99
110
  /**
@@ -101,11 +112,11 @@ export interface TeamState {
101
112
  */
102
113
  pipelineId?: pulumi.Input<string>;
103
114
  /**
104
- * The GraphQL ID of the team to add to/remove from.
115
+ * The GraphQL ID of the team.
105
116
  */
106
117
  teamId?: pulumi.Input<string>;
107
118
  /**
108
- * The UUID of the pipeline schedule
119
+ * The UUID of the pipeline-team relationship.
109
120
  */
110
121
  uuid?: pulumi.Input<string>;
111
122
  }
@@ -114,7 +125,7 @@ export interface TeamState {
114
125
  */
115
126
  export interface TeamArgs {
116
127
  /**
117
- * The level of access to grant. Must be one of `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
128
+ * The access level for the team. Either `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
118
129
  */
119
130
  accessLevel: pulumi.Input<string>;
120
131
  /**
@@ -122,7 +133,7 @@ export interface TeamArgs {
122
133
  */
123
134
  pipelineId: pulumi.Input<string>;
124
135
  /**
125
- * The GraphQL ID of the team to add to/remove from.
136
+ * The GraphQL ID of the team.
126
137
  */
127
138
  teamId: pulumi.Input<string>;
128
139
  }
package/pipeline/team.js CHANGED
@@ -6,52 +6,63 @@ exports.Team = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * ## # Resource: pipelineTeam
10
- *
11
- * This resource allows you to create and manage team configuration in a pipeline.
12
- *
13
- * Buildkite Documentation: https://buildkite.com/docs/pipelines/permissions#permissions-with-teams-pipeline-level-permissions
9
+ * Manage team access to a pipeline.
14
10
  *
15
11
  * ## Example Usage
16
12
  *
13
+ * <!--Start PulumiCodeChooser -->
17
14
  * ```typescript
18
15
  * import * as pulumi from "@pulumi/pulumi";
19
16
  * import * as buildkite from "@pulumiverse/buildkite";
20
17
  *
21
- * const developers = new buildkite.pipeline.Team("developers", {
22
- * pipelineId: buildkite_pipeline.repo2,
23
- * teamId: buildkite_team.test.id,
24
- * accessLevel: "MANAGE_BUILD_AND_READ",
18
+ * const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
19
+ * const team = new buildkite.team.Team("team", {
20
+ * privacy: "VISIBLE",
21
+ * defaultTeam: false,
22
+ * defaultMemberRole: "MEMBER",
23
+ * });
24
+ * // allow everyone in the "Everyone" team read-only access to pipeline
25
+ * const pipelineTeam = new buildkite.pipeline.Team("pipelineTeam", {
26
+ * pipelineId: pipeline.id,
27
+ * teamId: team.id,
28
+ * accessLevel: "READ_ONLY",
25
29
  * });
26
30
  * ```
31
+ * <!--End PulumiCodeChooser -->
27
32
  *
28
33
  * ## Import
29
34
  *
30
- * Pipeline teams can be imported using their `GraphQL ID`, e.g.
35
+ * import a pipeline team resource using the GraphQL ID
31
36
  *
32
- * ```sh
33
- * $ pulumi import buildkite:Pipeline/team:Team guests VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==
34
- * ```
37
+ * #
35
38
  *
36
- * Your pipeline team's GraphQL ID can be found with the below GraphQL query below.
39
+ * you can use this query to find the ID:
37
40
  *
38
- * graphql query getPipelineTeamId {
41
+ * query getPipelineTeamId {
39
42
  *
40
- * pipeline(slug"ORGANIZATION_SLUG/PIPELINE_SLUG") { teams(first5, search"PIPELINE_SEARCH_TERM") {
43
+ * pipeline(slug: "ORGANIZATION_SLUG/PIPELINE_SLUG") {
41
44
  *
42
- * edges{
45
+ * teams(first: 5, search: "PIPELINE_SEARCH_TERM") {
43
46
  *
44
- * node{
47
+ * edges{
45
48
  *
46
- * id
49
+ * node{
47
50
  *
48
- * }
51
+ * id
49
52
  *
50
- * }
53
+ * }
51
54
  *
52
- * }
55
+ * }
53
56
  *
54
- * } }
57
+ * }
58
+ *
59
+ * }
60
+ *
61
+ * }
62
+ *
63
+ * ```sh
64
+ * $ pulumi import buildkite:Pipeline/team:Team guests VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==
65
+ * ```
55
66
  */
56
67
  class Team extends pulumi.CustomResource {
57
68
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"team.js","sourceRoot":"","sources":["../../pipeline/team.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC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