@pulumi/github 6.13.0-alpha.1777011674 → 6.13.0

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 (75) hide show
  1. package/actionsEnvironmentSecret.d.ts +52 -16
  2. package/actionsEnvironmentSecret.js +10 -6
  3. package/actionsEnvironmentSecret.js.map +1 -1
  4. package/actionsOrganizationPermissions.d.ts +3 -3
  5. package/actionsOrganizationSecret.d.ts +56 -20
  6. package/actionsOrganizationSecret.js +13 -9
  7. package/actionsOrganizationSecret.js.map +1 -1
  8. package/actionsOrganizationSecretRepositories.d.ts +1 -1
  9. package/actionsOrganizationSecretRepositories.js +1 -1
  10. package/actionsOrganizationSecretRepository.d.ts +1 -1
  11. package/actionsOrganizationSecretRepository.js +1 -1
  12. package/actionsOrganizationVariableRepositories.d.ts +1 -1
  13. package/actionsOrganizationVariableRepositories.js +1 -1
  14. package/actionsOrganizationVariableRepository.d.ts +1 -1
  15. package/actionsOrganizationVariableRepository.js +1 -1
  16. package/actionsRepositoryPermissions.d.ts +3 -3
  17. package/actionsSecret.d.ts +51 -15
  18. package/actionsSecret.js +11 -7
  19. package/actionsSecret.js.map +1 -1
  20. package/dependabotOrganizationSecret.d.ts +57 -15
  21. package/dependabotOrganizationSecret.js +11 -7
  22. package/dependabotOrganizationSecret.js.map +1 -1
  23. package/dependabotOrganizationSecretRepositories.d.ts +1 -1
  24. package/dependabotOrganizationSecretRepositories.js +1 -1
  25. package/dependabotOrganizationSecretRepository.d.ts +1 -1
  26. package/dependabotOrganizationSecretRepository.js +1 -1
  27. package/dependabotSecret.d.ts +54 -18
  28. package/dependabotSecret.js +11 -7
  29. package/dependabotSecret.js.map +1 -1
  30. package/emuGroupMapping.d.ts +12 -6
  31. package/emuGroupMapping.js +2 -2
  32. package/emuGroupMapping.js.map +1 -1
  33. package/enterpriseIpAllowListEntry.d.ts +125 -0
  34. package/enterpriseIpAllowListEntry.js +90 -0
  35. package/enterpriseIpAllowListEntry.js.map +1 -0
  36. package/getIpRanges.d.ts +28 -4
  37. package/getIpRanges.js.map +1 -1
  38. package/getOrganizationAppInstallations.d.ts +45 -0
  39. package/getOrganizationAppInstallations.js +46 -0
  40. package/getOrganizationAppInstallations.js.map +1 -0
  41. package/getRepository.d.ts +3 -1
  42. package/getRepository.js.map +1 -1
  43. package/getRepositoryPages.d.ts +96 -0
  44. package/getRepositoryPages.js +50 -0
  45. package/getRepositoryPages.js.map +1 -0
  46. package/index.d.ts +15 -0
  47. package/index.js +26 -5
  48. package/index.js.map +1 -1
  49. package/organizationRuleset.d.ts +38 -0
  50. package/organizationRuleset.js +38 -0
  51. package/organizationRuleset.js.map +1 -1
  52. package/package.json +2 -2
  53. package/repository.d.ts +28 -35
  54. package/repository.js +0 -19
  55. package/repository.js.map +1 -1
  56. package/repositoryCollaborators.d.ts +8 -8
  57. package/repositoryCollaborators.js +2 -8
  58. package/repositoryCollaborators.js.map +1 -1
  59. package/repositoryEnvironment.d.ts +13 -1
  60. package/repositoryEnvironment.js +7 -1
  61. package/repositoryEnvironment.js.map +1 -1
  62. package/repositoryEnvironmentDeploymentPolicy.d.ts +21 -1
  63. package/repositoryEnvironmentDeploymentPolicy.js +9 -1
  64. package/repositoryEnvironmentDeploymentPolicy.js.map +1 -1
  65. package/repositoryPages.d.ts +228 -0
  66. package/repositoryPages.js +150 -0
  67. package/repositoryPages.js.map +1 -0
  68. package/repositoryVulnerabilityAlerts.d.ts +98 -0
  69. package/repositoryVulnerabilityAlerts.js +86 -0
  70. package/repositoryVulnerabilityAlerts.js.map +1 -0
  71. package/teamSettings.d.ts +35 -12
  72. package/teamSettings.js +21 -8
  73. package/teamSettings.js.map +1 -1
  74. package/types/input.d.ts +52 -8
  75. package/types/output.d.ts +118 -8
@@ -6,9 +6,9 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  * Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is
7
7
  * interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
8
8
  *
9
- * For the purposes of security, the contents of the `plaintextValue` field have been marked as `sensitive` to Terraform,
9
+ * For the purposes of security, the contents of the `value` field have been marked as `sensitive` to Terraform,
10
10
  * but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always.
11
- * It is also advised that you do not store plaintext values in your code but rather populate the `encryptedValue`
11
+ * It is also advised that you do not store plaintext values in your code but rather populate the `valueEncrypted`
12
12
  * using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible
13
13
  * in your code. See below for an example of this abstraction.
14
14
  *
@@ -21,12 +21,12 @@ import * as pulumi from "@pulumi/pulumi";
21
21
  * const examplePlaintext = new github.DependabotSecret("example_plaintext", {
22
22
  * repository: "example_repository",
23
23
  * secretName: "example_secret_name",
24
- * plaintextValue: someSecretString,
24
+ * value: someSecretString,
25
25
  * });
26
26
  * const exampleEncrypted = new github.DependabotSecret("example_encrypted", {
27
27
  * repository: "example_repository",
28
28
  * secretName: "example_secret_name",
29
- * encryptedValue: someEncryptedSecretString,
29
+ * valueEncrypted: someEncryptedSecretString,
30
30
  * });
31
31
  * ```
32
32
  *
@@ -41,7 +41,7 @@ import * as pulumi from "@pulumi/pulumi";
41
41
  * const exampleAllowDrift = new github.DependabotSecret("example_allow_drift", {
42
42
  * repository: "example_repository",
43
43
  * secretName: "example_secret_name",
44
- * plaintextValue: "placeholder",
44
+ * value: "placeholder",
45
45
  * });
46
46
  * ```
47
47
  *
@@ -49,7 +49,7 @@ import * as pulumi from "@pulumi/pulumi";
49
49
  *
50
50
  * This resource can be imported using an ID made of the repository name, and secret name separated by a `:`.
51
51
  *
52
- * > **Note**: When importing secrets, the `plaintextValue` or `encryptedValue` fields will not be populated in the state. You may need to ignore changes for these as a workaround if you're not planning on updating the secret through Terraform.
52
+ * > **Note**: When importing secrets, the `value`, `valueEncrypted`, `encryptedValue`, or `plaintextValue` fields will not be populated in the state. You may need to ignore changes for these as a workaround if you're not planning on updating the secret through Terraform.
53
53
  *
54
54
  * ### Import Command
55
55
  *
@@ -80,17 +80,21 @@ export declare class DependabotSecret extends pulumi.CustomResource {
80
80
  */
81
81
  readonly createdAt: pulumi.Output<string>;
82
82
  /**
83
- * Encrypted value of the secret using the GitHub public key in Base64 format.
83
+ * (Optional) Please use `valueEncrypted`.
84
+ *
85
+ * @deprecated Use valueEncrypted and key_id.
84
86
  */
85
87
  readonly encryptedValue: pulumi.Output<string | undefined>;
86
88
  /**
87
- * ID of the public key used to encrypt the secret. This should be provided when setting `encryptedValue`; if it isn't then the current public key will be looked up, which could cause a missmatch. This conflicts with `plaintextValue`.
89
+ * ID of the public key used to encrypt the secret, required when setting `encryptedValue`.
88
90
  */
89
91
  readonly keyId: pulumi.Output<string>;
90
92
  /**
91
- * Plaintext value of the secret to be encrypted.
93
+ * (Optional) Please use `value`.
94
+ *
95
+ * > **Note**: One of either `value`, `valueEncrypted`, `encryptedValue`, or `plaintextValue` must be specified.
92
96
  *
93
- * > **Note**: One of either `encryptedValue` or `plaintextValue` must be specified.
97
+ * @deprecated Use value.
94
98
  */
95
99
  readonly plaintextValue: pulumi.Output<string | undefined>;
96
100
  /**
@@ -113,6 +117,14 @@ export declare class DependabotSecret extends pulumi.CustomResource {
113
117
  * Date the secret was last updated by the provider.
114
118
  */
115
119
  readonly updatedAt: pulumi.Output<string>;
120
+ /**
121
+ * Plaintext value of the secret to be encrypted. This conflicts with `valueEncrypted`, `encryptedValue` & `plaintextValue`.
122
+ */
123
+ readonly value: pulumi.Output<string | undefined>;
124
+ /**
125
+ * Encrypted value of the secret using the GitHub public key in Base64 format, `keyId` is required with this value. This conflicts with `value`, `encryptedValue` & `plaintextValue`.
126
+ */
127
+ readonly valueEncrypted: pulumi.Output<string | undefined>;
116
128
  /**
117
129
  * Create a DependabotSecret resource with the given unique name, arguments, and options.
118
130
  *
@@ -131,17 +143,21 @@ export interface DependabotSecretState {
131
143
  */
132
144
  createdAt?: pulumi.Input<string>;
133
145
  /**
134
- * Encrypted value of the secret using the GitHub public key in Base64 format.
146
+ * (Optional) Please use `valueEncrypted`.
147
+ *
148
+ * @deprecated Use valueEncrypted and key_id.
135
149
  */
136
150
  encryptedValue?: pulumi.Input<string>;
137
151
  /**
138
- * ID of the public key used to encrypt the secret. This should be provided when setting `encryptedValue`; if it isn't then the current public key will be looked up, which could cause a missmatch. This conflicts with `plaintextValue`.
152
+ * ID of the public key used to encrypt the secret, required when setting `encryptedValue`.
139
153
  */
140
154
  keyId?: pulumi.Input<string>;
141
155
  /**
142
- * Plaintext value of the secret to be encrypted.
156
+ * (Optional) Please use `value`.
143
157
  *
144
- * > **Note**: One of either `encryptedValue` or `plaintextValue` must be specified.
158
+ * > **Note**: One of either `value`, `valueEncrypted`, `encryptedValue`, or `plaintextValue` must be specified.
159
+ *
160
+ * @deprecated Use value.
145
161
  */
146
162
  plaintextValue?: pulumi.Input<string>;
147
163
  /**
@@ -164,23 +180,35 @@ export interface DependabotSecretState {
164
180
  * Date the secret was last updated by the provider.
165
181
  */
166
182
  updatedAt?: pulumi.Input<string>;
183
+ /**
184
+ * Plaintext value of the secret to be encrypted. This conflicts with `valueEncrypted`, `encryptedValue` & `plaintextValue`.
185
+ */
186
+ value?: pulumi.Input<string>;
187
+ /**
188
+ * Encrypted value of the secret using the GitHub public key in Base64 format, `keyId` is required with this value. This conflicts with `value`, `encryptedValue` & `plaintextValue`.
189
+ */
190
+ valueEncrypted?: pulumi.Input<string>;
167
191
  }
168
192
  /**
169
193
  * The set of arguments for constructing a DependabotSecret resource.
170
194
  */
171
195
  export interface DependabotSecretArgs {
172
196
  /**
173
- * Encrypted value of the secret using the GitHub public key in Base64 format.
197
+ * (Optional) Please use `valueEncrypted`.
198
+ *
199
+ * @deprecated Use valueEncrypted and key_id.
174
200
  */
175
201
  encryptedValue?: pulumi.Input<string>;
176
202
  /**
177
- * ID of the public key used to encrypt the secret. This should be provided when setting `encryptedValue`; if it isn't then the current public key will be looked up, which could cause a missmatch. This conflicts with `plaintextValue`.
203
+ * ID of the public key used to encrypt the secret, required when setting `encryptedValue`.
178
204
  */
179
205
  keyId?: pulumi.Input<string>;
180
206
  /**
181
- * Plaintext value of the secret to be encrypted.
207
+ * (Optional) Please use `value`.
208
+ *
209
+ * > **Note**: One of either `value`, `valueEncrypted`, `encryptedValue`, or `plaintextValue` must be specified.
182
210
  *
183
- * > **Note**: One of either `encryptedValue` or `plaintextValue` must be specified.
211
+ * @deprecated Use value.
184
212
  */
185
213
  plaintextValue?: pulumi.Input<string>;
186
214
  /**
@@ -191,4 +219,12 @@ export interface DependabotSecretArgs {
191
219
  * Name of the secret.
192
220
  */
193
221
  secretName: pulumi.Input<string>;
222
+ /**
223
+ * Plaintext value of the secret to be encrypted. This conflicts with `valueEncrypted`, `encryptedValue` & `plaintextValue`.
224
+ */
225
+ value?: pulumi.Input<string>;
226
+ /**
227
+ * Encrypted value of the secret using the GitHub public key in Base64 format, `keyId` is required with this value. This conflicts with `value`, `encryptedValue` & `plaintextValue`.
228
+ */
229
+ valueEncrypted?: pulumi.Input<string>;
194
230
  }
@@ -12,9 +12,9 @@ const utilities = require("./utilities");
12
12
  * Secret values are encrypted using the [Go '/crypto/box' module](https://godoc.org/golang.org/x/crypto/nacl/box) which is
13
13
  * interoperable with [libsodium](https://libsodium.gitbook.io/doc/). Libsodium is used by GitHub to decrypt secret values.
14
14
  *
15
- * For the purposes of security, the contents of the `plaintextValue` field have been marked as `sensitive` to Terraform,
15
+ * For the purposes of security, the contents of the `value` field have been marked as `sensitive` to Terraform,
16
16
  * but it is important to note that **this does not hide it from state files**. You should treat state as sensitive always.
17
- * It is also advised that you do not store plaintext values in your code but rather populate the `encryptedValue`
17
+ * It is also advised that you do not store plaintext values in your code but rather populate the `valueEncrypted`
18
18
  * using fields from a resource, data source or variable as, while encrypted in state, these will be easily accessible
19
19
  * in your code. See below for an example of this abstraction.
20
20
  *
@@ -27,12 +27,12 @@ const utilities = require("./utilities");
27
27
  * const examplePlaintext = new github.DependabotSecret("example_plaintext", {
28
28
  * repository: "example_repository",
29
29
  * secretName: "example_secret_name",
30
- * plaintextValue: someSecretString,
30
+ * value: someSecretString,
31
31
  * });
32
32
  * const exampleEncrypted = new github.DependabotSecret("example_encrypted", {
33
33
  * repository: "example_repository",
34
34
  * secretName: "example_secret_name",
35
- * encryptedValue: someEncryptedSecretString,
35
+ * valueEncrypted: someEncryptedSecretString,
36
36
  * });
37
37
  * ```
38
38
  *
@@ -47,7 +47,7 @@ const utilities = require("./utilities");
47
47
  * const exampleAllowDrift = new github.DependabotSecret("example_allow_drift", {
48
48
  * repository: "example_repository",
49
49
  * secretName: "example_secret_name",
50
- * plaintextValue: "placeholder",
50
+ * value: "placeholder",
51
51
  * });
52
52
  * ```
53
53
  *
@@ -55,7 +55,7 @@ const utilities = require("./utilities");
55
55
  *
56
56
  * This resource can be imported using an ID made of the repository name, and secret name separated by a `:`.
57
57
  *
58
- * > **Note**: When importing secrets, the `plaintextValue` or `encryptedValue` fields will not be populated in the state. You may need to ignore changes for these as a workaround if you're not planning on updating the secret through Terraform.
58
+ * > **Note**: When importing secrets, the `value`, `valueEncrypted`, `encryptedValue`, or `plaintextValue` fields will not be populated in the state. You may need to ignore changes for these as a workaround if you're not planning on updating the secret through Terraform.
59
59
  *
60
60
  * ### Import Command
61
61
  *
@@ -102,6 +102,8 @@ class DependabotSecret extends pulumi.CustomResource {
102
102
  resourceInputs["repositoryId"] = state?.repositoryId;
103
103
  resourceInputs["secretName"] = state?.secretName;
104
104
  resourceInputs["updatedAt"] = state?.updatedAt;
105
+ resourceInputs["value"] = state?.value;
106
+ resourceInputs["valueEncrypted"] = state?.valueEncrypted;
105
107
  }
106
108
  else {
107
109
  const args = argsOrState;
@@ -116,13 +118,15 @@ class DependabotSecret extends pulumi.CustomResource {
116
118
  resourceInputs["plaintextValue"] = args?.plaintextValue ? pulumi.secret(args.plaintextValue) : undefined;
117
119
  resourceInputs["repository"] = args?.repository;
118
120
  resourceInputs["secretName"] = args?.secretName;
121
+ resourceInputs["value"] = args?.value ? pulumi.secret(args.value) : undefined;
122
+ resourceInputs["valueEncrypted"] = args?.valueEncrypted ? pulumi.secret(args.valueEncrypted) : undefined;
119
123
  resourceInputs["createdAt"] = undefined /*out*/;
120
124
  resourceInputs["remoteUpdatedAt"] = undefined /*out*/;
121
125
  resourceInputs["repositoryId"] = undefined /*out*/;
122
126
  resourceInputs["updatedAt"] = undefined /*out*/;
123
127
  }
124
128
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
125
- const secretOpts = { additionalSecretOutputs: ["encryptedValue", "plaintextValue"] };
129
+ const secretOpts = { additionalSecretOutputs: ["encryptedValue", "plaintextValue", "value", "valueEncrypted"] };
126
130
  opts = pulumi.mergeOptions(opts, secretOpts);
127
131
  super(DependabotSecret.__pulumiType, name, resourceInputs, opts);
128
132
  }
@@ -1 +1 @@
1
- {"version":3,"file":"dependabotSecret.js","sourceRoot":"","sources":["../dependabotSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;I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SAAS,CAAC;YACzG,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,EAAE,gBAAgB,CAAC,EAAE,CAAC;QAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA/HL,4CAgIC;AAlHG,gBAAgB;AACO,6BAAY,GAAG,gDAAgD,CAAC"}
@@ -16,10 +16,10 @@ import * as pulumi from "@pulumi/pulumi";
16
16
  *
17
17
  * ## Import
18
18
  *
19
- * GitHub EMU External Group Mappings can be imported using the `teamSlug` and external `groupId` separated by a colon, e.g.
19
+ * GitHub EMU External Group Mappings can be imported using the external `groupId` and `teamSlug` separated by a colon, e.g.
20
20
  *
21
21
  * ```sh
22
- * $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping emu-test-team:28836
22
+ * $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping 28836:emu-test-team
23
23
  * ```
24
24
  */
25
25
  export declare class EmuGroupMapping extends pulumi.CustomResource {
@@ -38,17 +38,20 @@ export declare class EmuGroupMapping extends pulumi.CustomResource {
38
38
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
39
  */
40
40
  static isInstance(obj: any): obj is EmuGroupMapping;
41
+ /**
42
+ * An etag representing the external group state
43
+ */
41
44
  readonly etag: pulumi.Output<string>;
42
45
  /**
43
46
  * Integer corresponding to the external group ID to be linked
44
47
  */
45
48
  readonly groupId: pulumi.Output<number>;
46
49
  /**
47
- * Name of the external group.
50
+ * The name of the external group
48
51
  */
49
52
  readonly groupName: pulumi.Output<string>;
50
53
  /**
51
- * ID of the GitHub team.
54
+ * The ID of the GitHub team
52
55
  */
53
56
  readonly teamId: pulumi.Output<number>;
54
57
  /**
@@ -68,17 +71,20 @@ export declare class EmuGroupMapping extends pulumi.CustomResource {
68
71
  * Input properties used for looking up and filtering EmuGroupMapping resources.
69
72
  */
70
73
  export interface EmuGroupMappingState {
74
+ /**
75
+ * An etag representing the external group state
76
+ */
71
77
  etag?: pulumi.Input<string>;
72
78
  /**
73
79
  * Integer corresponding to the external group ID to be linked
74
80
  */
75
81
  groupId?: pulumi.Input<number>;
76
82
  /**
77
- * Name of the external group.
83
+ * The name of the external group
78
84
  */
79
85
  groupName?: pulumi.Input<string>;
80
86
  /**
81
- * ID of the GitHub team.
87
+ * The ID of the GitHub team
82
88
  */
83
89
  teamId?: pulumi.Input<number>;
84
90
  /**
@@ -22,10 +22,10 @@ const utilities = require("./utilities");
22
22
  *
23
23
  * ## Import
24
24
  *
25
- * GitHub EMU External Group Mappings can be imported using the `teamSlug` and external `groupId` separated by a colon, e.g.
25
+ * GitHub EMU External Group Mappings can be imported using the external `groupId` and `teamSlug` separated by a colon, e.g.
26
26
  *
27
27
  * ```sh
28
- * $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping emu-test-team:28836
28
+ * $ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping 28836:emu-test-team
29
29
  * ```
30
30
  */
31
31
  class EmuGroupMapping extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"emuGroupMapping.js","sourceRoot":"","sources":["../emuGroupMapping.ts"],"names":[],"mappings":";AAAA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CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAnFL,0CAoFC;AAtEG,gBAAgB;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
@@ -0,0 +1,125 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource allows you to create and manage IP allow list entries for a GitHub Enterprise account. IP allow list entries define IP addresses or ranges that are permitted to access private resources in the enterprise.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as github from "@pulumi/github";
10
+ *
11
+ * const test = new github.EnterpriseIpAllowListEntry("test", {
12
+ * enterpriseSlug: "my-enterprise",
13
+ * ip: "192.168.1.0/20",
14
+ * name: "My IP Range Name",
15
+ * isActive: true,
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * This resource can be imported using the ID of the IP allow list entry:
22
+ *
23
+ * ```sh
24
+ * $ pulumi import github:index/enterpriseIpAllowListEntry:EnterpriseIpAllowListEntry test IALE_kwHOC1234567890a
25
+ * ```
26
+ */
27
+ export declare class EnterpriseIpAllowListEntry extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing EnterpriseIpAllowListEntry resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: EnterpriseIpAllowListEntryState, opts?: pulumi.CustomResourceOptions): EnterpriseIpAllowListEntry;
38
+ /**
39
+ * Returns true if the given object is an instance of EnterpriseIpAllowListEntry. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is EnterpriseIpAllowListEntry;
43
+ /**
44
+ * Timestamp of when the entry was created.
45
+ */
46
+ readonly createdAt: pulumi.Output<string>;
47
+ /**
48
+ * The slug of the enterprise.
49
+ */
50
+ readonly enterpriseSlug: pulumi.Output<string>;
51
+ /**
52
+ * An IP address or range of IP addresses in CIDR notation.
53
+ */
54
+ readonly ip: pulumi.Output<string>;
55
+ /**
56
+ * Whether the entry is currently active. Default: true.
57
+ */
58
+ readonly isActive: pulumi.Output<boolean | undefined>;
59
+ /**
60
+ * A descriptive name for the IP allow list entry.
61
+ */
62
+ readonly name: pulumi.Output<string>;
63
+ /**
64
+ * Timestamp of when the entry was last updated.
65
+ */
66
+ readonly updatedAt: pulumi.Output<string>;
67
+ /**
68
+ * Create a EnterpriseIpAllowListEntry resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args: EnterpriseIpAllowListEntryArgs, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering EnterpriseIpAllowListEntry resources.
78
+ */
79
+ export interface EnterpriseIpAllowListEntryState {
80
+ /**
81
+ * Timestamp of when the entry was created.
82
+ */
83
+ createdAt?: pulumi.Input<string>;
84
+ /**
85
+ * The slug of the enterprise.
86
+ */
87
+ enterpriseSlug?: pulumi.Input<string>;
88
+ /**
89
+ * An IP address or range of IP addresses in CIDR notation.
90
+ */
91
+ ip?: pulumi.Input<string>;
92
+ /**
93
+ * Whether the entry is currently active. Default: true.
94
+ */
95
+ isActive?: pulumi.Input<boolean>;
96
+ /**
97
+ * A descriptive name for the IP allow list entry.
98
+ */
99
+ name?: pulumi.Input<string>;
100
+ /**
101
+ * Timestamp of when the entry was last updated.
102
+ */
103
+ updatedAt?: pulumi.Input<string>;
104
+ }
105
+ /**
106
+ * The set of arguments for constructing a EnterpriseIpAllowListEntry resource.
107
+ */
108
+ export interface EnterpriseIpAllowListEntryArgs {
109
+ /**
110
+ * The slug of the enterprise.
111
+ */
112
+ enterpriseSlug: pulumi.Input<string>;
113
+ /**
114
+ * An IP address or range of IP addresses in CIDR notation.
115
+ */
116
+ ip: pulumi.Input<string>;
117
+ /**
118
+ * Whether the entry is currently active. Default: true.
119
+ */
120
+ isActive?: pulumi.Input<boolean>;
121
+ /**
122
+ * A descriptive name for the IP allow list entry.
123
+ */
124
+ name?: pulumi.Input<string>;
125
+ }
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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.EnterpriseIpAllowListEntry = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you to create and manage IP allow list entries for a GitHub Enterprise account. IP allow list entries define IP addresses or ranges that are permitted to access private resources in the enterprise.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as github from "@pulumi/github";
16
+ *
17
+ * const test = new github.EnterpriseIpAllowListEntry("test", {
18
+ * enterpriseSlug: "my-enterprise",
19
+ * ip: "192.168.1.0/20",
20
+ * name: "My IP Range Name",
21
+ * isActive: true,
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * This resource can be imported using the ID of the IP allow list entry:
28
+ *
29
+ * ```sh
30
+ * $ pulumi import github:index/enterpriseIpAllowListEntry:EnterpriseIpAllowListEntry test IALE_kwHOC1234567890a
31
+ * ```
32
+ */
33
+ class EnterpriseIpAllowListEntry extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing EnterpriseIpAllowListEntry resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, state, opts) {
44
+ return new EnterpriseIpAllowListEntry(name, state, { ...opts, id: id });
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of EnterpriseIpAllowListEntry. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === EnterpriseIpAllowListEntry.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["createdAt"] = state?.createdAt;
62
+ resourceInputs["enterpriseSlug"] = state?.enterpriseSlug;
63
+ resourceInputs["ip"] = state?.ip;
64
+ resourceInputs["isActive"] = state?.isActive;
65
+ resourceInputs["name"] = state?.name;
66
+ resourceInputs["updatedAt"] = state?.updatedAt;
67
+ }
68
+ else {
69
+ const args = argsOrState;
70
+ if (args?.enterpriseSlug === undefined && !opts.urn) {
71
+ throw new Error("Missing required property 'enterpriseSlug'");
72
+ }
73
+ if (args?.ip === undefined && !opts.urn) {
74
+ throw new Error("Missing required property 'ip'");
75
+ }
76
+ resourceInputs["enterpriseSlug"] = args?.enterpriseSlug;
77
+ resourceInputs["ip"] = args?.ip;
78
+ resourceInputs["isActive"] = args?.isActive;
79
+ resourceInputs["name"] = args?.name;
80
+ resourceInputs["createdAt"] = undefined /*out*/;
81
+ resourceInputs["updatedAt"] = undefined /*out*/;
82
+ }
83
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
84
+ super(EnterpriseIpAllowListEntry.__pulumiType, name, resourceInputs, opts);
85
+ }
86
+ }
87
+ exports.EnterpriseIpAllowListEntry = EnterpriseIpAllowListEntry;
88
+ /** @internal */
89
+ EnterpriseIpAllowListEntry.__pulumiType = 'github:index/enterpriseIpAllowListEntry:EnterpriseIpAllowListEntry';
90
+ //# sourceMappingURL=enterpriseIpAllowListEntry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enterpriseIpAllowListEntry.js","sourceRoot":"","sources":["../enterpriseIpAllowListEntry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAA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AC"}
package/getIpRanges.d.ts CHANGED
@@ -17,7 +17,7 @@ export declare function getIpRanges(opts?: pulumi.InvokeOptions): Promise<GetIpR
17
17
  */
18
18
  export interface GetIpRangesResult {
19
19
  /**
20
- * An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub actions will originate from.
20
+ * An array of IP addresses in CIDR format specifying the addresses that incoming requests from GitHub Actions will originate from.
21
21
  */
22
22
  readonly actions: string[];
23
23
  /**
@@ -28,6 +28,18 @@ export interface GetIpRangesResult {
28
28
  * A subset of the `actions` array that contains IP addresses in IPv6 CIDR format.
29
29
  */
30
30
  readonly actionsIpv6s: string[];
31
+ /**
32
+ * An array of IP addresses in CIDR format specifying the addresses that GitHub Actions macOS runners will originate from.
33
+ */
34
+ readonly actionsMacos: string[];
35
+ /**
36
+ * A subset of the `actionsMacos` array that contains IP addresses in IPv4 CIDR format.
37
+ */
38
+ readonly actionsMacosIpv4s: string[];
39
+ /**
40
+ * A subset of the `actionsMacos` array that contains IP addresses in IPv6 CIDR format.
41
+ */
42
+ readonly actionsMacosIpv6s: string[];
31
43
  /**
32
44
  * A subset of the `api` array that contains IP addresses in IPv4 CIDR format.
33
45
  */
@@ -41,19 +53,19 @@ export interface GetIpRangesResult {
41
53
  */
42
54
  readonly apis: string[];
43
55
  /**
44
- * A subset of the `dependabot` array that contains IP addresses in IPv4 CIDR format.
56
+ * **Deprecated.** A subset of the `dependabot` array that contains IP addresses in IPv4 CIDR format.
45
57
  *
46
58
  * @deprecated This attribute is no longer returned form the API, Dependabot now uses the GitHub Actions IP addresses.
47
59
  */
48
60
  readonly dependabotIpv4s: string[];
49
61
  /**
50
- * A subset of the `dependabot` array that contains IP addresses in IPv6 CIDR format.
62
+ * **Deprecated.** A subset of the `dependabot` array that contains IP addresses in IPv6 CIDR format.
51
63
  *
52
64
  * @deprecated This attribute is no longer returned form the API, Dependabot now uses the GitHub Actions IP addresses.
53
65
  */
54
66
  readonly dependabotIpv6s: string[];
55
67
  /**
56
- * An array of IP addresses in CIDR format specifying the A records for dependabot.
68
+ * **Deprecated.** Dependabot now uses GitHub Actions IP addresses. An array of IP addresses in CIDR format specifying the A records for Dependabot.
57
69
  *
58
70
  * @deprecated This attribute is no longer returned form the API, Dependabot now uses the GitHub Actions IP addresses.
59
71
  */
@@ -66,6 +78,18 @@ export interface GetIpRangesResult {
66
78
  * A subset of the `git` array that contains IP addresses in IPv6 CIDR format.
67
79
  */
68
80
  readonly gitIpv6s: string[];
81
+ /**
82
+ * A subset of the `githubEnterpriseImporter` array that contains IP addresses in IPv4 CIDR format.
83
+ */
84
+ readonly githubEnterpriseImporterIpv4s: string[];
85
+ /**
86
+ * A subset of the `githubEnterpriseImporter` array that contains IP addresses in IPv6 CIDR format.
87
+ */
88
+ readonly githubEnterpriseImporterIpv6s: string[];
89
+ /**
90
+ * An array of IP addresses in CIDR format specifying the addresses that GitHub Enterprise Importer will originate from.
91
+ */
92
+ readonly githubEnterpriseImporters: string[];
69
93
  /**
70
94
  * An Array of IP addresses in CIDR format specifying the Git servers.
71
95
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getIpRanges.js","sourceRoot":"","sources":["../getIpRanges.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE,EACpE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AA6HD;;;;;;;;;;;GAWG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,C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