@pulumiverse/buildkite 2.3.0 → 2.3.1

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 (52) hide show
  1. package/config/vars.d.ts +5 -1
  2. package/config/vars.js +6 -0
  3. package/config/vars.js.map +1 -1
  4. package/getMeta.d.ts +0 -3
  5. package/index.d.ts +2 -1
  6. package/index.js +3 -1
  7. package/index.js.map +1 -1
  8. package/organization/getOrganization.d.ts +2 -46
  9. package/organization/getOrganization.js +3 -32
  10. package/organization/getOrganization.js.map +1 -1
  11. package/organization/index.d.ts +4 -2
  12. package/organization/index.js +7 -3
  13. package/organization/index.js.map +1 -1
  14. package/organization/organization.d.ts +78 -0
  15. package/organization/organization.js +79 -0
  16. package/organization/organization.js.map +1 -0
  17. package/organization/settings.d.ts +2 -0
  18. package/organization/settings.js +2 -0
  19. package/organization/settings.js.map +1 -1
  20. package/package.json +2 -2
  21. package/pipeline/getPipeline.d.ts +1 -4
  22. package/pipeline/getPipeline.js.map +1 -1
  23. package/pipeline/index.d.ts +3 -0
  24. package/pipeline/index.js +6 -1
  25. package/pipeline/index.js.map +1 -1
  26. package/pipeline/pipeline.d.ts +35 -114
  27. package/pipeline/pipeline.js +0 -100
  28. package/pipeline/pipeline.js.map +1 -1
  29. package/pipeline/schedule.d.ts +17 -14
  30. package/pipeline/schedule.js +5 -11
  31. package/pipeline/schedule.js.map +1 -1
  32. package/pipeline/team.d.ts +128 -0
  33. package/pipeline/team.js +112 -0
  34. package/pipeline/team.js.map +1 -0
  35. package/provider.d.ts +6 -2
  36. package/provider.js +1 -0
  37. package/provider.js.map +1 -1
  38. package/team/getTeam.d.ts +24 -10
  39. package/team/getTeam.js +6 -4
  40. package/team/getTeam.js.map +1 -1
  41. package/team/team.d.ts +1 -1
  42. package/testsuite/index.d.ts +6 -0
  43. package/testsuite/index.js +27 -0
  44. package/testsuite/index.js.map +1 -0
  45. package/testsuite/team.d.ts +166 -0
  46. package/testsuite/team.js +150 -0
  47. package/testsuite/team.js.map +1 -0
  48. package/testsuite/testSuite.d.ts +120 -0
  49. package/testsuite/testSuite.js +91 -0
  50. package/testsuite/testSuite.js.map +1 -0
  51. package/types/input.d.ts +3 -4
  52. package/types/output.d.ts +8 -9
package/config/vars.d.ts CHANGED
@@ -1,7 +1,11 @@
1
1
  /**
2
- * API token with GraphQL access and `write_pipelines, read_pipelines` scopes
2
+ * API token with GraphQL access and `write_pipelines, read_pipelines` and `write_suites` REST API scopes
3
3
  */
4
4
  export declare const apiToken: string | undefined;
5
+ /**
6
+ * Archive pipelines when destroying instead of completely deleting.
7
+ */
8
+ export declare const archivePipelineOnDelete: boolean | undefined;
5
9
  /**
6
10
  * Base URL for the GraphQL API to use
7
11
  */
package/config/vars.js CHANGED
@@ -10,6 +10,12 @@ Object.defineProperty(exports, "apiToken", {
10
10
  },
11
11
  enumerable: true,
12
12
  });
13
+ Object.defineProperty(exports, "archivePipelineOnDelete", {
14
+ get() {
15
+ return __config.getObject("archivePipelineOnDelete");
16
+ },
17
+ enumerable: true,
18
+ });
13
19
  Object.defineProperty(exports, "graphqlUrl", {
14
20
  get() {
15
21
  return __config.get("graphqlUrl");
@@ -1 +1 @@
1
- {"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAMhD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAC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;IACxC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
package/getMeta.d.ts CHANGED
@@ -4,9 +4,6 @@ export declare function getMeta(opts?: pulumi.InvokeOptions): Promise<GetMetaRes
4
4
  * A collection of values returned by getMeta.
5
5
  */
6
6
  export interface GetMetaResult {
7
- /**
8
- * The provider-assigned unique ID for this managed resource.
9
- */
10
7
  readonly id: string;
11
8
  /**
12
9
  * A list of strings, each one an IP address (x.x.x.x) or CIDR address (x.x.x.x/32) that Buildkite may use to send webhooks and other external requests.
package/index.d.ts CHANGED
@@ -9,5 +9,6 @@ import * as config from "./config";
9
9
  import * as organization from "./organization";
10
10
  import * as pipeline from "./pipeline";
11
11
  import * as team from "./team";
12
+ import * as testsuite from "./testsuite";
12
13
  import * as types from "./types";
13
- export { agent, cluster, config, organization, pipeline, team, types, };
14
+ export { agent, cluster, config, organization, pipeline, team, testsuite, types, };
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.types = exports.team = exports.pipeline = exports.organization = exports.config = exports.cluster = exports.agent = exports.Provider = exports.getMeta = void 0;
5
+ exports.types = exports.testsuite = exports.team = exports.pipeline = exports.organization = exports.config = exports.cluster = exports.agent = exports.Provider = exports.getMeta = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  exports.getMeta = null;
@@ -22,6 +22,8 @@ const pipeline = require("./pipeline");
22
22
  exports.pipeline = pipeline;
23
23
  const team = require("./team");
24
24
  exports.team = team;
25
+ const testsuite = require("./testsuite");
26
+ exports.testsuite = testsuite;
25
27
  const types = require("./types");
26
28
  exports.types = types;
27
29
  pulumi.runtime.registerResourcePackage("buildkite", {
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAI5B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,iCAAiC;AAS7B,sBAAK;AART,qCAAqC;AASjC,0BAAO;AARX,mCAAmC;AAS/B,wBAAM;AARV,+CAA+C;AAS3C,oCAAY;AARhB,uCAAuC;AASnC,4BAAQ;AARZ,+BAA+B;AAS3B,oBAAI;AARR,iCAAiC;AAS7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAI5B,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAIxD,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,iCAAiC;AAU7B,sBAAK;AATT,qCAAqC;AAUjC,0BAAO;AATX,mCAAmC;AAU/B,wBAAM;AATV,+CAA+C;AAU3C,oCAAY;AAThB,uCAAuC;AAUnC,4BAAQ;AATZ,+BAA+B;AAU3B,oBAAI;AATR,yCAAyC;AAUrC,8BAAS;AATb,iCAAiC;AAU7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,WAAW,EAAE;IAChD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,4BAA4B,EAAE;YACvC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
@@ -21,16 +21,7 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * }]});
22
22
  * ```
23
23
  */
24
- export declare function getOrganization(args?: GetOrganizationArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
25
- /**
26
- * A collection of arguments for invoking getOrganization.
27
- */
28
- export interface GetOrganizationArgs {
29
- /**
30
- * list of IP addresses in CIDR format that are allowed to access the Buildkite API.
31
- */
32
- allowedApiIpAddresses?: string[];
33
- }
24
+ export declare function getOrganization(opts?: pulumi.InvokeOptions): Promise<GetOrganizationResult>;
34
25
  /**
35
26
  * A collection of values returned by getOrganization.
36
27
  */
@@ -38,42 +29,7 @@ export interface GetOrganizationResult {
38
29
  /**
39
30
  * list of IP addresses in CIDR format that are allowed to access the Buildkite API.
40
31
  */
41
- readonly allowedApiIpAddresses?: string[];
42
- /**
43
- * The provider-assigned unique ID for this managed resource.
44
- */
32
+ readonly allowedApiIpAddresses: string[];
45
33
  readonly id: string;
46
34
  readonly uuid: string;
47
35
  }
48
- /**
49
- * ## # Data Source: organization
50
- *
51
- * Use this data source to look up the organization settings. It currently supports
52
- * allowed_api_ip_addresses.
53
- *
54
- * ## Example Usage
55
- *
56
- * ```typescript
57
- * import * as pulumi from "@pulumi/pulumi";
58
- * import * as aws from "@pulumi/aws";
59
- * import * as buildkite from "@pulumi/buildkite";
60
- *
61
- * const testkite = buildkite.Organization.getOrganization({});
62
- * const fromBuildkite = new aws.ec2.SecurityGroup("fromBuildkite", {ingress: [{
63
- * fromPort: "*",
64
- * toPort: 443,
65
- * protocol: "tcp",
66
- * cidrBlocks: data.buildkite_organization.allowed_api_ip_addresses,
67
- * }]});
68
- * ```
69
- */
70
- export declare function getOrganizationOutput(args?: GetOrganizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetOrganizationResult>;
71
- /**
72
- * A collection of arguments for invoking getOrganization.
73
- */
74
- export interface GetOrganizationOutputArgs {
75
- /**
76
- * list of IP addresses in CIDR format that are allowed to access the Buildkite API.
77
- */
78
- allowedApiIpAddresses?: pulumi.Input<pulumi.Input<string>[]>;
79
- }
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.getOrganizationOutput = exports.getOrganization = void 0;
5
+ exports.getOrganization = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
@@ -27,38 +27,9 @@ const utilities = require("../utilities");
27
27
  * }]});
28
28
  * ```
29
29
  */
30
- function getOrganization(args, opts) {
31
- args = args || {};
30
+ function getOrganization(opts) {
32
31
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
33
- return pulumi.runtime.invoke("buildkite:Organization/getOrganization:getOrganization", {
34
- "allowedApiIpAddresses": args.allowedApiIpAddresses,
35
- }, opts);
32
+ return pulumi.runtime.invoke("buildkite:Organization/getOrganization:getOrganization", {}, opts);
36
33
  }
37
34
  exports.getOrganization = getOrganization;
38
- /**
39
- * ## # Data Source: organization
40
- *
41
- * Use this data source to look up the organization settings. It currently supports
42
- * allowed_api_ip_addresses.
43
- *
44
- * ## Example Usage
45
- *
46
- * ```typescript
47
- * import * as pulumi from "@pulumi/pulumi";
48
- * import * as aws from "@pulumi/aws";
49
- * import * as buildkite from "@pulumi/buildkite";
50
- *
51
- * const testkite = buildkite.Organization.getOrganization({});
52
- * const fromBuildkite = new aws.ec2.SecurityGroup("fromBuildkite", {ingress: [{
53
- * fromPort: "*",
54
- * toPort: 443,
55
- * protocol: "tcp",
56
- * cidrBlocks: data.buildkite_organization.allowed_api_ip_addresses,
57
- * }]});
58
- * ```
59
- */
60
- function getOrganizationOutput(args, opts) {
61
- return pulumi.output(args).apply((a) => getOrganization(a, opts));
62
- }
63
- exports.getOrganizationOutput = getOrganizationOutput;
64
35
  //# sourceMappingURL=getOrganization.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../../organization/getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AA0BD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
1
+ {"version":3,"file":"getOrganization.js","sourceRoot":"","sources":["../../organization/getOrganization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,eAAe,CAAC,IAA2B;IAEvD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE,EACtF,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
@@ -1,6 +1,8 @@
1
- export { GetOrganizationArgs, GetOrganizationResult, GetOrganizationOutputArgs } from "./getOrganization";
1
+ export { GetOrganizationResult } from "./getOrganization";
2
2
  export declare const getOrganization: typeof import("./getOrganization").getOrganization;
3
- export declare const getOrganizationOutput: typeof import("./getOrganization").getOrganizationOutput;
3
+ export { OrganizationArgs, OrganizationState } from "./organization";
4
+ export type Organization = import("./organization").Organization;
5
+ export declare const Organization: typeof import("./organization").Organization;
4
6
  export { SettingsArgs, SettingsState } from "./settings";
5
7
  export type Settings = import("./settings").Settings;
6
8
  export declare const Settings: typeof import("./settings").Settings;
@@ -2,18 +2,21 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Settings = exports.getOrganizationOutput = exports.getOrganization = void 0;
5
+ exports.Settings = exports.Organization = exports.getOrganization = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.getOrganization = null;
9
- exports.getOrganizationOutput = null;
10
- utilities.lazyLoad(exports, ["getOrganization", "getOrganizationOutput"], () => require("./getOrganization"));
9
+ utilities.lazyLoad(exports, ["getOrganization"], () => require("./getOrganization"));
10
+ exports.Organization = null;
11
+ utilities.lazyLoad(exports, ["Organization"], () => require("./organization"));
11
12
  exports.Settings = null;
12
13
  utilities.lazyLoad(exports, ["Settings"], () => require("./settings"));
13
14
  const _module = {
14
15
  version: utilities.getVersion(),
15
16
  construct: (name, type, urn) => {
16
17
  switch (type) {
18
+ case "buildkite:Organization/organization:Organization":
19
+ return new exports.Organization(name, undefined, { urn });
17
20
  case "buildkite:Organization/settings:Settings":
18
21
  return new exports.Settings(name, undefined, { urn });
19
22
  default:
@@ -21,5 +24,6 @@ const _module = {
21
24
  }
22
25
  },
23
26
  };
27
+ pulumi.runtime.registerResourceModule("buildkite", "Organization/organization", _module);
24
28
  pulumi.runtime.registerResourceModule("buildkite", "Organization/settings", _module);
25
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../organization/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0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CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAIlE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kDAAkD;gBACnD,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D,KAAK,0CAA0C;gBAC3C,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,2BAA2B,EAAE,OAAO,CAAC,CAAA;AACxF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,uBAAuB,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,78 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## # Resource: organization
4
+ *
5
+ * This resource allows you to manage the settings for an organization.
6
+ *
7
+ * You must be an organization administrator to manage organization settings.
8
+ *
9
+ * Note: The "Allowed API IP Addresses" feature must be enabled on your organization in order to manage the `allowedApiIpAddresses` attribute.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as buildkite from "@pulumiverse/buildkite";
16
+ *
17
+ * const testSettings = new buildkite.organization.Organization("testSettings", {allowedApiIpAddresses: ["1.1.1.1/32"]});
18
+ * ```
19
+ *
20
+ * ## Import
21
+ *
22
+ * Organization settings can be imported by passing the organization slug to the import command, along with the identifier of the resource.
23
+ *
24
+ * ```sh
25
+ * $ pulumi import buildkite:Organization/organization:Organization test_settings test_org
26
+ * ```
27
+ *
28
+ * Your organization's slug can be found in your organisation's [settings](https://buildkite.com/organizations/~/settings) page.
29
+ */
30
+ export declare class Organization extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing Organization resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OrganizationState, opts?: pulumi.CustomResourceOptions): Organization;
41
+ /**
42
+ * Returns true if the given object is an instance of Organization. This is designed to work even
43
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
44
+ */
45
+ static isInstance(obj: any): obj is Organization;
46
+ /**
47
+ * A list of IP addresses in CIDR format that are allowed to access the Buildkite API. If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0).
48
+ */
49
+ readonly allowedApiIpAddresses: pulumi.Output<string[] | undefined>;
50
+ readonly uuid: pulumi.Output<string>;
51
+ /**
52
+ * Create a Organization resource with the given unique name, arguments, and options.
53
+ *
54
+ * @param name The _unique_ name of the resource.
55
+ * @param args The arguments to use to populate this resource's properties.
56
+ * @param opts A bag of options that control this resource's behavior.
57
+ */
58
+ constructor(name: string, args?: OrganizationArgs, opts?: pulumi.CustomResourceOptions);
59
+ }
60
+ /**
61
+ * Input properties used for looking up and filtering Organization resources.
62
+ */
63
+ export interface OrganizationState {
64
+ /**
65
+ * A list of IP addresses in CIDR format that are allowed to access the Buildkite API. If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0).
66
+ */
67
+ allowedApiIpAddresses?: pulumi.Input<pulumi.Input<string>[]>;
68
+ uuid?: pulumi.Input<string>;
69
+ }
70
+ /**
71
+ * The set of arguments for constructing a Organization resource.
72
+ */
73
+ export interface OrganizationArgs {
74
+ /**
75
+ * A list of IP addresses in CIDR format that are allowed to access the Buildkite API. If not set, all IP addresses are allowed (the same as setting 0.0.0.0/0).
76
+ */
77
+ allowedApiIpAddresses?: pulumi.Input<pulumi.Input<string>[]>;
78
+ }
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Organization = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## # Resource: organization
10
+ *
11
+ * This resource allows you to manage the settings for an organization.
12
+ *
13
+ * You must be an organization administrator to manage organization settings.
14
+ *
15
+ * Note: The "Allowed API IP Addresses" feature must be enabled on your organization in order to manage the `allowedApiIpAddresses` attribute.
16
+ *
17
+ * ## Example Usage
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as buildkite from "@pulumiverse/buildkite";
22
+ *
23
+ * const testSettings = new buildkite.organization.Organization("testSettings", {allowedApiIpAddresses: ["1.1.1.1/32"]});
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Organization settings can be imported by passing the organization slug to the import command, along with the identifier of the resource.
29
+ *
30
+ * ```sh
31
+ * $ pulumi import buildkite:Organization/organization:Organization test_settings test_org
32
+ * ```
33
+ *
34
+ * Your organization's slug can be found in your organisation's [settings](https://buildkite.com/organizations/~/settings) page.
35
+ */
36
+ class Organization extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing Organization resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, state, opts) {
47
+ return new Organization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of Organization. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === Organization.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["allowedApiIpAddresses"] = state ? state.allowedApiIpAddresses : undefined;
65
+ resourceInputs["uuid"] = state ? state.uuid : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ resourceInputs["allowedApiIpAddresses"] = args ? args.allowedApiIpAddresses : undefined;
70
+ resourceInputs["uuid"] = undefined /*out*/;
71
+ }
72
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
73
+ super(Organization.__pulumiType, name, resourceInputs, opts);
74
+ }
75
+ }
76
+ exports.Organization = Organization;
77
+ /** @internal */
78
+ Organization.__pulumiType = 'buildkite:Organization/organization:Organization';
79
+ //# sourceMappingURL=organization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization.js","sourceRoot":"","sources":["../../organization/organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IA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+2,8 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * ## # Resource: organizationSettings
4
4
  *
5
+ * **Note**: This resource has been deprecated. In a future minor release, we will remove this resource in favour of the newer `buildkite.Organization.Organization` resource that aligns with the datasource of the same name.
6
+ *
5
7
  * This resource allows you to manage the settings for an organization.
6
8
  *
7
9
  * You must be an organization administrator to manage organization settings.
@@ -8,6 +8,8 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * ## # Resource: organizationSettings
10
10
  *
11
+ * **Note**: This resource has been deprecated. In a future minor release, we will remove this resource in favour of the newer `buildkite.Organization.Organization` resource that aligns with the datasource of the same name.
12
+ *
11
13
  * This resource allows you to manage the settings for an organization.
12
14
  *
13
15
  * You must be an organization administrator to manage organization settings.
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../organization/settings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAgBD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,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
4
4
  "description": "A Pulumi package for creating and managing Buildkite resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource buildkite v2.3.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource buildkite v2.3.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -40,9 +40,6 @@ export interface GetPipelineResult {
40
40
  * A description of the pipeline.
41
41
  */
42
42
  readonly description: string;
43
- /**
44
- * The provider-assigned unique ID for this managed resource.
45
- */
46
43
  readonly id: string;
47
44
  /**
48
45
  * The name of the pipeline.
@@ -54,7 +51,7 @@ export interface GetPipelineResult {
54
51
  readonly repository: string;
55
52
  readonly slug: string;
56
53
  /**
57
- * The default branch to prefill when new builds are created or triggered.
54
+ * The Buildkite webhook URL that triggers builds on this pipeline.
58
55
  */
59
56
  readonly webhookUrl: string;
60
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getPipeline.js","sourceRoot":"","sources":["../../pipeline/getPipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA0CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getPipeline.js","sourceRoot":"","sources":["../../pipeline/getPipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAuCD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -7,3 +7,6 @@ export declare const Pipeline: typeof import("./pipeline").Pipeline;
7
7
  export { ScheduleArgs, ScheduleState } from "./schedule";
8
8
  export type Schedule = import("./schedule").Schedule;
9
9
  export declare const Schedule: typeof import("./schedule").Schedule;
10
+ export { TeamArgs, TeamState } from "./team";
11
+ export type Team = import("./team").Team;
12
+ export declare const Team: typeof import("./team").Team;
package/pipeline/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Schedule = exports.Pipeline = exports.getPipelineOutput = exports.getPipeline = void 0;
5
+ exports.Team = exports.Schedule = exports.Pipeline = exports.getPipelineOutput = exports.getPipeline = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.getPipeline = null;
@@ -12,6 +12,8 @@ exports.Pipeline = null;
12
12
  utilities.lazyLoad(exports, ["Pipeline"], () => require("./pipeline"));
13
13
  exports.Schedule = null;
14
14
  utilities.lazyLoad(exports, ["Schedule"], () => require("./schedule"));
15
+ exports.Team = null;
16
+ utilities.lazyLoad(exports, ["Team"], () => require("./team"));
15
17
  const _module = {
16
18
  version: utilities.getVersion(),
17
19
  construct: (name, type, urn) => {
@@ -20,6 +22,8 @@ const _module = {
20
22
  return new exports.Pipeline(name, undefined, { urn });
21
23
  case "buildkite:Pipeline/schedule:Schedule":
22
24
  return new exports.Schedule(name, undefined, { urn });
25
+ case "buildkite:Pipeline/team:Team":
26
+ return new exports.Team(name, undefined, { urn });
23
27
  default:
24
28
  throw new Error(`unknown resource type ${type}`);
25
29
  }
@@ -27,4 +31,5 @@ const _module = {
27
31
  };
28
32
  pulumi.runtime.registerResourceModule("buildkite", "Pipeline/pipeline", _module);
29
33
  pulumi.runtime.registerResourceModule("buildkite", "Pipeline/schedule", _module);
34
+ pulumi.runtime.registerResourceModule("buildkite", "Pipeline/team", _module);
30
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../pipeline/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE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