pulumi-github 6.12.0__py3-none-any.whl → 6.12.0a1768974154__py3-none-any.whl
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.
- pulumi_github/__init__.py +0 -28
- pulumi_github/_inputs.py +19 -324
- pulumi_github/actions_environment_secret.py +12 -141
- pulumi_github/actions_environment_variable.py +37 -71
- pulumi_github/actions_organization_permissions.py +3 -50
- pulumi_github/actions_organization_secret.py +55 -164
- pulumi_github/actions_organization_secret_repositories.py +28 -44
- pulumi_github/actions_organization_secret_repository.py +28 -44
- pulumi_github/actions_organization_variable.py +47 -44
- pulumi_github/actions_repository_permissions.py +3 -50
- pulumi_github/actions_secret.py +41 -176
- pulumi_github/actions_variable.py +33 -65
- pulumi_github/app_installation_repositories.py +6 -6
- pulumi_github/app_installation_repository.py +6 -6
- pulumi_github/dependabot_organization_secret.py +59 -128
- pulumi_github/dependabot_organization_secret_repositories.py +36 -44
- pulumi_github/dependabot_secret.py +41 -154
- pulumi_github/emu_group_mapping.py +4 -64
- pulumi_github/organization_ruleset.py +17 -11
- pulumi_github/outputs.py +13 -234
- pulumi_github/pulumi-plugin.json +1 -1
- pulumi_github/repository.py +27 -32
- pulumi_github/repository_ruleset.py +7 -7
- {pulumi_github-6.12.0.dist-info → pulumi_github-6.12.0a1768974154.dist-info}/METADATA +1 -1
- {pulumi_github-6.12.0.dist-info → pulumi_github-6.12.0a1768974154.dist-info}/RECORD +27 -31
- {pulumi_github-6.12.0.dist-info → pulumi_github-6.12.0a1768974154.dist-info}/WHEEL +1 -1
- pulumi_github/actions_organization_variable_repositories.py +0 -262
- pulumi_github/actions_organization_variable_repository.py +0 -262
- pulumi_github/dependabot_organization_secret_repository.py +0 -262
- pulumi_github/get_release_asset.py +0 -370
- {pulumi_github-6.12.0.dist-info → pulumi_github-6.12.0a1768974154.dist-info}/top_level.txt +0 -0
|
@@ -22,24 +22,18 @@ class DependabotSecretArgs:
|
|
|
22
22
|
repository: pulumi.Input[_builtins.str],
|
|
23
23
|
secret_name: pulumi.Input[_builtins.str],
|
|
24
24
|
encrypted_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
-
key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
25
|
plaintext_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
27
26
|
"""
|
|
28
27
|
The set of arguments for constructing a DependabotSecret resource.
|
|
29
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
30
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the secret
|
|
28
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
29
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the secret
|
|
31
30
|
:param pulumi.Input[_builtins.str] encrypted_value: Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
32
|
-
:param pulumi.Input[_builtins.str]
|
|
33
|
-
:param pulumi.Input[_builtins.str] plaintext_value: Plaintext value of the secret to be encrypted.
|
|
34
|
-
|
|
35
|
-
> **Note**: One of either `encrypted_value` or `plaintext_value` must be specified.
|
|
31
|
+
:param pulumi.Input[_builtins.str] plaintext_value: Plaintext value of the secret to be encrypted
|
|
36
32
|
"""
|
|
37
33
|
pulumi.set(__self__, "repository", repository)
|
|
38
34
|
pulumi.set(__self__, "secret_name", secret_name)
|
|
39
35
|
if encrypted_value is not None:
|
|
40
36
|
pulumi.set(__self__, "encrypted_value", encrypted_value)
|
|
41
|
-
if key_id is not None:
|
|
42
|
-
pulumi.set(__self__, "key_id", key_id)
|
|
43
37
|
if plaintext_value is not None:
|
|
44
38
|
pulumi.set(__self__, "plaintext_value", plaintext_value)
|
|
45
39
|
|
|
@@ -47,7 +41,7 @@ class DependabotSecretArgs:
|
|
|
47
41
|
@pulumi.getter
|
|
48
42
|
def repository(self) -> pulumi.Input[_builtins.str]:
|
|
49
43
|
"""
|
|
50
|
-
Name of the repository
|
|
44
|
+
Name of the repository
|
|
51
45
|
"""
|
|
52
46
|
return pulumi.get(self, "repository")
|
|
53
47
|
|
|
@@ -59,7 +53,7 @@ class DependabotSecretArgs:
|
|
|
59
53
|
@pulumi.getter(name="secretName")
|
|
60
54
|
def secret_name(self) -> pulumi.Input[_builtins.str]:
|
|
61
55
|
"""
|
|
62
|
-
Name of the secret
|
|
56
|
+
Name of the secret
|
|
63
57
|
"""
|
|
64
58
|
return pulumi.get(self, "secret_name")
|
|
65
59
|
|
|
@@ -79,25 +73,11 @@ class DependabotSecretArgs:
|
|
|
79
73
|
def encrypted_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
80
74
|
pulumi.set(self, "encrypted_value", value)
|
|
81
75
|
|
|
82
|
-
@_builtins.property
|
|
83
|
-
@pulumi.getter(name="keyId")
|
|
84
|
-
def key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
85
|
-
"""
|
|
86
|
-
ID of the public key used to encrypt the secret. This should be provided when setting `encrypted_value`; if it isn't then the current public key will be looked up, which could cause a missmatch. This conflicts with `plaintext_value`.
|
|
87
|
-
"""
|
|
88
|
-
return pulumi.get(self, "key_id")
|
|
89
|
-
|
|
90
|
-
@key_id.setter
|
|
91
|
-
def key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
92
|
-
pulumi.set(self, "key_id", value)
|
|
93
|
-
|
|
94
76
|
@_builtins.property
|
|
95
77
|
@pulumi.getter(name="plaintextValue")
|
|
96
78
|
def plaintext_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
97
79
|
"""
|
|
98
|
-
Plaintext value of the secret to be encrypted
|
|
99
|
-
|
|
100
|
-
> **Note**: One of either `encrypted_value` or `plaintext_value` must be specified.
|
|
80
|
+
Plaintext value of the secret to be encrypted
|
|
101
81
|
"""
|
|
102
82
|
return pulumi.get(self, "plaintext_value")
|
|
103
83
|
|
|
@@ -111,41 +91,27 @@ class _DependabotSecretState:
|
|
|
111
91
|
def __init__(__self__, *,
|
|
112
92
|
created_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
113
93
|
encrypted_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
|
-
key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
115
94
|
plaintext_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
116
|
-
remote_updated_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
95
|
repository: Optional[pulumi.Input[_builtins.str]] = None,
|
|
118
|
-
repository_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
119
96
|
secret_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
120
97
|
updated_at: Optional[pulumi.Input[_builtins.str]] = None):
|
|
121
98
|
"""
|
|
122
99
|
Input properties used for looking up and filtering DependabotSecret resources.
|
|
123
|
-
:param pulumi.Input[_builtins.str] created_at: Date
|
|
100
|
+
:param pulumi.Input[_builtins.str] created_at: Date of dependabot_secret creation.
|
|
124
101
|
:param pulumi.Input[_builtins.str] encrypted_value: Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
125
|
-
:param pulumi.Input[_builtins.str]
|
|
126
|
-
:param pulumi.Input[_builtins.str]
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
:param pulumi.Input[_builtins.str] remote_updated_at: Date the secret was last updated in GitHub.
|
|
130
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository.
|
|
131
|
-
:param pulumi.Input[_builtins.int] repository_id: ID of the repository.
|
|
132
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the secret.
|
|
133
|
-
:param pulumi.Input[_builtins.str] updated_at: Date the secret was last updated by the provider.
|
|
102
|
+
:param pulumi.Input[_builtins.str] plaintext_value: Plaintext value of the secret to be encrypted
|
|
103
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
104
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the secret
|
|
105
|
+
:param pulumi.Input[_builtins.str] updated_at: Date of dependabot_secret update.
|
|
134
106
|
"""
|
|
135
107
|
if created_at is not None:
|
|
136
108
|
pulumi.set(__self__, "created_at", created_at)
|
|
137
109
|
if encrypted_value is not None:
|
|
138
110
|
pulumi.set(__self__, "encrypted_value", encrypted_value)
|
|
139
|
-
if key_id is not None:
|
|
140
|
-
pulumi.set(__self__, "key_id", key_id)
|
|
141
111
|
if plaintext_value is not None:
|
|
142
112
|
pulumi.set(__self__, "plaintext_value", plaintext_value)
|
|
143
|
-
if remote_updated_at is not None:
|
|
144
|
-
pulumi.set(__self__, "remote_updated_at", remote_updated_at)
|
|
145
113
|
if repository is not None:
|
|
146
114
|
pulumi.set(__self__, "repository", repository)
|
|
147
|
-
if repository_id is not None:
|
|
148
|
-
pulumi.set(__self__, "repository_id", repository_id)
|
|
149
115
|
if secret_name is not None:
|
|
150
116
|
pulumi.set(__self__, "secret_name", secret_name)
|
|
151
117
|
if updated_at is not None:
|
|
@@ -155,7 +121,7 @@ class _DependabotSecretState:
|
|
|
155
121
|
@pulumi.getter(name="createdAt")
|
|
156
122
|
def created_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
157
123
|
"""
|
|
158
|
-
Date
|
|
124
|
+
Date of dependabot_secret creation.
|
|
159
125
|
"""
|
|
160
126
|
return pulumi.get(self, "created_at")
|
|
161
127
|
|
|
@@ -175,25 +141,11 @@ class _DependabotSecretState:
|
|
|
175
141
|
def encrypted_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
176
142
|
pulumi.set(self, "encrypted_value", value)
|
|
177
143
|
|
|
178
|
-
@_builtins.property
|
|
179
|
-
@pulumi.getter(name="keyId")
|
|
180
|
-
def key_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
181
|
-
"""
|
|
182
|
-
ID of the public key used to encrypt the secret. This should be provided when setting `encrypted_value`; if it isn't then the current public key will be looked up, which could cause a missmatch. This conflicts with `plaintext_value`.
|
|
183
|
-
"""
|
|
184
|
-
return pulumi.get(self, "key_id")
|
|
185
|
-
|
|
186
|
-
@key_id.setter
|
|
187
|
-
def key_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
188
|
-
pulumi.set(self, "key_id", value)
|
|
189
|
-
|
|
190
144
|
@_builtins.property
|
|
191
145
|
@pulumi.getter(name="plaintextValue")
|
|
192
146
|
def plaintext_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
193
147
|
"""
|
|
194
|
-
Plaintext value of the secret to be encrypted
|
|
195
|
-
|
|
196
|
-
> **Note**: One of either `encrypted_value` or `plaintext_value` must be specified.
|
|
148
|
+
Plaintext value of the secret to be encrypted
|
|
197
149
|
"""
|
|
198
150
|
return pulumi.get(self, "plaintext_value")
|
|
199
151
|
|
|
@@ -201,23 +153,11 @@ class _DependabotSecretState:
|
|
|
201
153
|
def plaintext_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
202
154
|
pulumi.set(self, "plaintext_value", value)
|
|
203
155
|
|
|
204
|
-
@_builtins.property
|
|
205
|
-
@pulumi.getter(name="remoteUpdatedAt")
|
|
206
|
-
def remote_updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
207
|
-
"""
|
|
208
|
-
Date the secret was last updated in GitHub.
|
|
209
|
-
"""
|
|
210
|
-
return pulumi.get(self, "remote_updated_at")
|
|
211
|
-
|
|
212
|
-
@remote_updated_at.setter
|
|
213
|
-
def remote_updated_at(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
214
|
-
pulumi.set(self, "remote_updated_at", value)
|
|
215
|
-
|
|
216
156
|
@_builtins.property
|
|
217
157
|
@pulumi.getter
|
|
218
158
|
def repository(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
219
159
|
"""
|
|
220
|
-
Name of the repository
|
|
160
|
+
Name of the repository
|
|
221
161
|
"""
|
|
222
162
|
return pulumi.get(self, "repository")
|
|
223
163
|
|
|
@@ -225,23 +165,11 @@ class _DependabotSecretState:
|
|
|
225
165
|
def repository(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
226
166
|
pulumi.set(self, "repository", value)
|
|
227
167
|
|
|
228
|
-
@_builtins.property
|
|
229
|
-
@pulumi.getter(name="repositoryId")
|
|
230
|
-
def repository_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
231
|
-
"""
|
|
232
|
-
ID of the repository.
|
|
233
|
-
"""
|
|
234
|
-
return pulumi.get(self, "repository_id")
|
|
235
|
-
|
|
236
|
-
@repository_id.setter
|
|
237
|
-
def repository_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
238
|
-
pulumi.set(self, "repository_id", value)
|
|
239
|
-
|
|
240
168
|
@_builtins.property
|
|
241
169
|
@pulumi.getter(name="secretName")
|
|
242
170
|
def secret_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
243
171
|
"""
|
|
244
|
-
Name of the secret
|
|
172
|
+
Name of the secret
|
|
245
173
|
"""
|
|
246
174
|
return pulumi.get(self, "secret_name")
|
|
247
175
|
|
|
@@ -253,7 +181,7 @@ class _DependabotSecretState:
|
|
|
253
181
|
@pulumi.getter(name="updatedAt")
|
|
254
182
|
def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
255
183
|
"""
|
|
256
|
-
Date
|
|
184
|
+
Date of dependabot_secret update.
|
|
257
185
|
"""
|
|
258
186
|
return pulumi.get(self, "updated_at")
|
|
259
187
|
|
|
@@ -269,31 +197,29 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
269
197
|
resource_name: str,
|
|
270
198
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
271
199
|
encrypted_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
272
|
-
key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
273
200
|
plaintext_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
274
201
|
repository: Optional[pulumi.Input[_builtins.str]] = None,
|
|
275
202
|
secret_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
276
203
|
__props__=None):
|
|
277
204
|
"""
|
|
278
|
-
##
|
|
205
|
+
## Example Usage
|
|
279
206
|
|
|
280
|
-
|
|
207
|
+
## Import
|
|
281
208
|
|
|
282
|
-
|
|
209
|
+
This resource can be imported using an ID made up of the `repository` and `secret_name`:
|
|
283
210
|
|
|
284
211
|
```sh
|
|
285
|
-
$ pulumi import github:index/dependabotSecret:DependabotSecret
|
|
212
|
+
$ pulumi import github:index/dependabotSecret:DependabotSecret example_secret example_repository/example_secret
|
|
286
213
|
```
|
|
214
|
+
NOTE: the implementation is limited in that it won't fetch the value of the
|
|
215
|
+
`plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
|
|
287
216
|
|
|
288
217
|
:param str resource_name: The name of the resource.
|
|
289
218
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
290
219
|
:param pulumi.Input[_builtins.str] encrypted_value: Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
291
|
-
:param pulumi.Input[_builtins.str]
|
|
292
|
-
:param pulumi.Input[_builtins.str]
|
|
293
|
-
|
|
294
|
-
> **Note**: One of either `encrypted_value` or `plaintext_value` must be specified.
|
|
295
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository.
|
|
296
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the secret.
|
|
220
|
+
:param pulumi.Input[_builtins.str] plaintext_value: Plaintext value of the secret to be encrypted
|
|
221
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
222
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the secret
|
|
297
223
|
"""
|
|
298
224
|
...
|
|
299
225
|
@overload
|
|
@@ -302,15 +228,17 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
302
228
|
args: DependabotSecretArgs,
|
|
303
229
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
304
230
|
"""
|
|
305
|
-
##
|
|
231
|
+
## Example Usage
|
|
306
232
|
|
|
307
|
-
|
|
233
|
+
## Import
|
|
308
234
|
|
|
309
|
-
|
|
235
|
+
This resource can be imported using an ID made up of the `repository` and `secret_name`:
|
|
310
236
|
|
|
311
237
|
```sh
|
|
312
|
-
$ pulumi import github:index/dependabotSecret:DependabotSecret
|
|
238
|
+
$ pulumi import github:index/dependabotSecret:DependabotSecret example_secret example_repository/example_secret
|
|
313
239
|
```
|
|
240
|
+
NOTE: the implementation is limited in that it won't fetch the value of the
|
|
241
|
+
`plaintext_value` or `encrypted_value` fields when importing. You may need to ignore changes for these as a workaround.
|
|
314
242
|
|
|
315
243
|
:param str resource_name: The name of the resource.
|
|
316
244
|
:param DependabotSecretArgs args: The arguments to use to populate this resource's properties.
|
|
@@ -328,7 +256,6 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
328
256
|
resource_name: str,
|
|
329
257
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
330
258
|
encrypted_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
331
|
-
key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
332
259
|
plaintext_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
333
260
|
repository: Optional[pulumi.Input[_builtins.str]] = None,
|
|
334
261
|
secret_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -342,7 +269,6 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
342
269
|
__props__ = DependabotSecretArgs.__new__(DependabotSecretArgs)
|
|
343
270
|
|
|
344
271
|
__props__.__dict__["encrypted_value"] = None if encrypted_value is None else pulumi.Output.secret(encrypted_value)
|
|
345
|
-
__props__.__dict__["key_id"] = key_id
|
|
346
272
|
__props__.__dict__["plaintext_value"] = None if plaintext_value is None else pulumi.Output.secret(plaintext_value)
|
|
347
273
|
if repository is None and not opts.urn:
|
|
348
274
|
raise TypeError("Missing required property 'repository'")
|
|
@@ -351,8 +277,6 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
351
277
|
raise TypeError("Missing required property 'secret_name'")
|
|
352
278
|
__props__.__dict__["secret_name"] = secret_name
|
|
353
279
|
__props__.__dict__["created_at"] = None
|
|
354
|
-
__props__.__dict__["remote_updated_at"] = None
|
|
355
|
-
__props__.__dict__["repository_id"] = None
|
|
356
280
|
__props__.__dict__["updated_at"] = None
|
|
357
281
|
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["encryptedValue", "plaintextValue"])
|
|
358
282
|
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
|
@@ -368,11 +292,8 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
368
292
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
369
293
|
created_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
370
294
|
encrypted_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
371
|
-
key_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
372
295
|
plaintext_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
373
|
-
remote_updated_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
374
296
|
repository: Optional[pulumi.Input[_builtins.str]] = None,
|
|
375
|
-
repository_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
376
297
|
secret_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
377
298
|
updated_at: Optional[pulumi.Input[_builtins.str]] = None) -> 'DependabotSecret':
|
|
378
299
|
"""
|
|
@@ -382,17 +303,12 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
382
303
|
:param str resource_name: The unique name of the resulting resource.
|
|
383
304
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
384
305
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
385
|
-
:param pulumi.Input[_builtins.str] created_at: Date
|
|
306
|
+
:param pulumi.Input[_builtins.str] created_at: Date of dependabot_secret creation.
|
|
386
307
|
:param pulumi.Input[_builtins.str] encrypted_value: Encrypted value of the secret using the GitHub public key in Base64 format.
|
|
387
|
-
:param pulumi.Input[_builtins.str]
|
|
388
|
-
:param pulumi.Input[_builtins.str]
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
:param pulumi.Input[_builtins.str] remote_updated_at: Date the secret was last updated in GitHub.
|
|
392
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository.
|
|
393
|
-
:param pulumi.Input[_builtins.int] repository_id: ID of the repository.
|
|
394
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the secret.
|
|
395
|
-
:param pulumi.Input[_builtins.str] updated_at: Date the secret was last updated by the provider.
|
|
308
|
+
:param pulumi.Input[_builtins.str] plaintext_value: Plaintext value of the secret to be encrypted
|
|
309
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
310
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the secret
|
|
311
|
+
:param pulumi.Input[_builtins.str] updated_at: Date of dependabot_secret update.
|
|
396
312
|
"""
|
|
397
313
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
398
314
|
|
|
@@ -400,11 +316,8 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
400
316
|
|
|
401
317
|
__props__.__dict__["created_at"] = created_at
|
|
402
318
|
__props__.__dict__["encrypted_value"] = encrypted_value
|
|
403
|
-
__props__.__dict__["key_id"] = key_id
|
|
404
319
|
__props__.__dict__["plaintext_value"] = plaintext_value
|
|
405
|
-
__props__.__dict__["remote_updated_at"] = remote_updated_at
|
|
406
320
|
__props__.__dict__["repository"] = repository
|
|
407
|
-
__props__.__dict__["repository_id"] = repository_id
|
|
408
321
|
__props__.__dict__["secret_name"] = secret_name
|
|
409
322
|
__props__.__dict__["updated_at"] = updated_at
|
|
410
323
|
return DependabotSecret(resource_name, opts=opts, __props__=__props__)
|
|
@@ -413,7 +326,7 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
413
326
|
@pulumi.getter(name="createdAt")
|
|
414
327
|
def created_at(self) -> pulumi.Output[_builtins.str]:
|
|
415
328
|
"""
|
|
416
|
-
Date
|
|
329
|
+
Date of dependabot_secret creation.
|
|
417
330
|
"""
|
|
418
331
|
return pulumi.get(self, "created_at")
|
|
419
332
|
|
|
@@ -425,53 +338,27 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
425
338
|
"""
|
|
426
339
|
return pulumi.get(self, "encrypted_value")
|
|
427
340
|
|
|
428
|
-
@_builtins.property
|
|
429
|
-
@pulumi.getter(name="keyId")
|
|
430
|
-
def key_id(self) -> pulumi.Output[_builtins.str]:
|
|
431
|
-
"""
|
|
432
|
-
ID of the public key used to encrypt the secret. This should be provided when setting `encrypted_value`; if it isn't then the current public key will be looked up, which could cause a missmatch. This conflicts with `plaintext_value`.
|
|
433
|
-
"""
|
|
434
|
-
return pulumi.get(self, "key_id")
|
|
435
|
-
|
|
436
341
|
@_builtins.property
|
|
437
342
|
@pulumi.getter(name="plaintextValue")
|
|
438
343
|
def plaintext_value(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
439
344
|
"""
|
|
440
|
-
Plaintext value of the secret to be encrypted
|
|
441
|
-
|
|
442
|
-
> **Note**: One of either `encrypted_value` or `plaintext_value` must be specified.
|
|
345
|
+
Plaintext value of the secret to be encrypted
|
|
443
346
|
"""
|
|
444
347
|
return pulumi.get(self, "plaintext_value")
|
|
445
348
|
|
|
446
|
-
@_builtins.property
|
|
447
|
-
@pulumi.getter(name="remoteUpdatedAt")
|
|
448
|
-
def remote_updated_at(self) -> pulumi.Output[_builtins.str]:
|
|
449
|
-
"""
|
|
450
|
-
Date the secret was last updated in GitHub.
|
|
451
|
-
"""
|
|
452
|
-
return pulumi.get(self, "remote_updated_at")
|
|
453
|
-
|
|
454
349
|
@_builtins.property
|
|
455
350
|
@pulumi.getter
|
|
456
351
|
def repository(self) -> pulumi.Output[_builtins.str]:
|
|
457
352
|
"""
|
|
458
|
-
Name of the repository
|
|
353
|
+
Name of the repository
|
|
459
354
|
"""
|
|
460
355
|
return pulumi.get(self, "repository")
|
|
461
356
|
|
|
462
|
-
@_builtins.property
|
|
463
|
-
@pulumi.getter(name="repositoryId")
|
|
464
|
-
def repository_id(self) -> pulumi.Output[_builtins.int]:
|
|
465
|
-
"""
|
|
466
|
-
ID of the repository.
|
|
467
|
-
"""
|
|
468
|
-
return pulumi.get(self, "repository_id")
|
|
469
|
-
|
|
470
357
|
@_builtins.property
|
|
471
358
|
@pulumi.getter(name="secretName")
|
|
472
359
|
def secret_name(self) -> pulumi.Output[_builtins.str]:
|
|
473
360
|
"""
|
|
474
|
-
Name of the secret
|
|
361
|
+
Name of the secret
|
|
475
362
|
"""
|
|
476
363
|
return pulumi.get(self, "secret_name")
|
|
477
364
|
|
|
@@ -479,7 +366,7 @@ class DependabotSecret(pulumi.CustomResource):
|
|
|
479
366
|
@pulumi.getter(name="updatedAt")
|
|
480
367
|
def updated_at(self) -> pulumi.Output[_builtins.str]:
|
|
481
368
|
"""
|
|
482
|
-
Date
|
|
369
|
+
Date of dependabot_secret update.
|
|
483
370
|
"""
|
|
484
371
|
return pulumi.get(self, "updated_at")
|
|
485
372
|
|
|
@@ -59,24 +59,16 @@ class _EmuGroupMappingState:
|
|
|
59
59
|
def __init__(__self__, *,
|
|
60
60
|
etag: Optional[pulumi.Input[_builtins.str]] = None,
|
|
61
61
|
group_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
62
|
-
group_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
63
|
-
team_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
64
62
|
team_slug: Optional[pulumi.Input[_builtins.str]] = None):
|
|
65
63
|
"""
|
|
66
64
|
Input properties used for looking up and filtering EmuGroupMapping resources.
|
|
67
65
|
:param pulumi.Input[_builtins.int] group_id: Integer corresponding to the external group ID to be linked
|
|
68
|
-
:param pulumi.Input[_builtins.str] group_name: Name of the external group.
|
|
69
|
-
:param pulumi.Input[_builtins.str] team_id: ID of the GitHub team.
|
|
70
66
|
:param pulumi.Input[_builtins.str] team_slug: Slug of the GitHub team
|
|
71
67
|
"""
|
|
72
68
|
if etag is not None:
|
|
73
69
|
pulumi.set(__self__, "etag", etag)
|
|
74
70
|
if group_id is not None:
|
|
75
71
|
pulumi.set(__self__, "group_id", group_id)
|
|
76
|
-
if group_name is not None:
|
|
77
|
-
pulumi.set(__self__, "group_name", group_name)
|
|
78
|
-
if team_id is not None:
|
|
79
|
-
pulumi.set(__self__, "team_id", team_id)
|
|
80
72
|
if team_slug is not None:
|
|
81
73
|
pulumi.set(__self__, "team_slug", team_slug)
|
|
82
74
|
|
|
@@ -101,30 +93,6 @@ class _EmuGroupMappingState:
|
|
|
101
93
|
def group_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
102
94
|
pulumi.set(self, "group_id", value)
|
|
103
95
|
|
|
104
|
-
@_builtins.property
|
|
105
|
-
@pulumi.getter(name="groupName")
|
|
106
|
-
def group_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
107
|
-
"""
|
|
108
|
-
Name of the external group.
|
|
109
|
-
"""
|
|
110
|
-
return pulumi.get(self, "group_name")
|
|
111
|
-
|
|
112
|
-
@group_name.setter
|
|
113
|
-
def group_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
114
|
-
pulumi.set(self, "group_name", value)
|
|
115
|
-
|
|
116
|
-
@_builtins.property
|
|
117
|
-
@pulumi.getter(name="teamId")
|
|
118
|
-
def team_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
119
|
-
"""
|
|
120
|
-
ID of the GitHub team.
|
|
121
|
-
"""
|
|
122
|
-
return pulumi.get(self, "team_id")
|
|
123
|
-
|
|
124
|
-
@team_id.setter
|
|
125
|
-
def team_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
126
|
-
pulumi.set(self, "team_id", value)
|
|
127
|
-
|
|
128
96
|
@_builtins.property
|
|
129
97
|
@pulumi.getter(name="teamSlug")
|
|
130
98
|
def team_slug(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -148,8 +116,6 @@ class EmuGroupMapping(pulumi.CustomResource):
|
|
|
148
116
|
team_slug: Optional[pulumi.Input[_builtins.str]] = None,
|
|
149
117
|
__props__=None):
|
|
150
118
|
"""
|
|
151
|
-
This resource manages mappings between external groups for enterprise managed users and GitHub teams. It wraps the [Teams#ExternalGroups API](https://docs.github.com/en/rest/reference/teams#external-groups). Note that this is a distinct resource from `TeamSyncGroupMapping`. `EmuGroupMapping` is special to the Enterprise Managed User (EMU) external group feature, whereas `TeamSyncGroupMapping` is specific to Identity Provider Groups.
|
|
152
|
-
|
|
153
119
|
## Example Usage
|
|
154
120
|
|
|
155
121
|
```python
|
|
@@ -163,10 +129,10 @@ class EmuGroupMapping(pulumi.CustomResource):
|
|
|
163
129
|
|
|
164
130
|
## Import
|
|
165
131
|
|
|
166
|
-
GitHub EMU External Group Mappings can be imported using the `
|
|
132
|
+
GitHub EMU External Group Mappings can be imported using the external `group_id` and `team_slug` separated by a colon, e.g.
|
|
167
133
|
|
|
168
134
|
```sh
|
|
169
|
-
$ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping emu-test-team
|
|
135
|
+
$ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping 28836:emu-test-team
|
|
170
136
|
```
|
|
171
137
|
|
|
172
138
|
:param str resource_name: The name of the resource.
|
|
@@ -181,8 +147,6 @@ class EmuGroupMapping(pulumi.CustomResource):
|
|
|
181
147
|
args: EmuGroupMappingArgs,
|
|
182
148
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
183
149
|
"""
|
|
184
|
-
This resource manages mappings between external groups for enterprise managed users and GitHub teams. It wraps the [Teams#ExternalGroups API](https://docs.github.com/en/rest/reference/teams#external-groups). Note that this is a distinct resource from `TeamSyncGroupMapping`. `EmuGroupMapping` is special to the Enterprise Managed User (EMU) external group feature, whereas `TeamSyncGroupMapping` is specific to Identity Provider Groups.
|
|
185
|
-
|
|
186
150
|
## Example Usage
|
|
187
151
|
|
|
188
152
|
```python
|
|
@@ -196,10 +160,10 @@ class EmuGroupMapping(pulumi.CustomResource):
|
|
|
196
160
|
|
|
197
161
|
## Import
|
|
198
162
|
|
|
199
|
-
GitHub EMU External Group Mappings can be imported using the `
|
|
163
|
+
GitHub EMU External Group Mappings can be imported using the external `group_id` and `team_slug` separated by a colon, e.g.
|
|
200
164
|
|
|
201
165
|
```sh
|
|
202
|
-
$ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping emu-test-team
|
|
166
|
+
$ pulumi import github:index/emuGroupMapping:EmuGroupMapping example_emu_group_mapping 28836:emu-test-team
|
|
203
167
|
```
|
|
204
168
|
|
|
205
169
|
:param str resource_name: The name of the resource.
|
|
@@ -235,8 +199,6 @@ class EmuGroupMapping(pulumi.CustomResource):
|
|
|
235
199
|
raise TypeError("Missing required property 'team_slug'")
|
|
236
200
|
__props__.__dict__["team_slug"] = team_slug
|
|
237
201
|
__props__.__dict__["etag"] = None
|
|
238
|
-
__props__.__dict__["group_name"] = None
|
|
239
|
-
__props__.__dict__["team_id"] = None
|
|
240
202
|
super(EmuGroupMapping, __self__).__init__(
|
|
241
203
|
'github:index/emuGroupMapping:EmuGroupMapping',
|
|
242
204
|
resource_name,
|
|
@@ -249,8 +211,6 @@ class EmuGroupMapping(pulumi.CustomResource):
|
|
|
249
211
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
250
212
|
etag: Optional[pulumi.Input[_builtins.str]] = None,
|
|
251
213
|
group_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
252
|
-
group_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
253
|
-
team_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
254
214
|
team_slug: Optional[pulumi.Input[_builtins.str]] = None) -> 'EmuGroupMapping':
|
|
255
215
|
"""
|
|
256
216
|
Get an existing EmuGroupMapping resource's state with the given name, id, and optional extra
|
|
@@ -260,8 +220,6 @@ class EmuGroupMapping(pulumi.CustomResource):
|
|
|
260
220
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
261
221
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
262
222
|
:param pulumi.Input[_builtins.int] group_id: Integer corresponding to the external group ID to be linked
|
|
263
|
-
:param pulumi.Input[_builtins.str] group_name: Name of the external group.
|
|
264
|
-
:param pulumi.Input[_builtins.str] team_id: ID of the GitHub team.
|
|
265
223
|
:param pulumi.Input[_builtins.str] team_slug: Slug of the GitHub team
|
|
266
224
|
"""
|
|
267
225
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -270,8 +228,6 @@ class EmuGroupMapping(pulumi.CustomResource):
|
|
|
270
228
|
|
|
271
229
|
__props__.__dict__["etag"] = etag
|
|
272
230
|
__props__.__dict__["group_id"] = group_id
|
|
273
|
-
__props__.__dict__["group_name"] = group_name
|
|
274
|
-
__props__.__dict__["team_id"] = team_id
|
|
275
231
|
__props__.__dict__["team_slug"] = team_slug
|
|
276
232
|
return EmuGroupMapping(resource_name, opts=opts, __props__=__props__)
|
|
277
233
|
|
|
@@ -288,22 +244,6 @@ class EmuGroupMapping(pulumi.CustomResource):
|
|
|
288
244
|
"""
|
|
289
245
|
return pulumi.get(self, "group_id")
|
|
290
246
|
|
|
291
|
-
@_builtins.property
|
|
292
|
-
@pulumi.getter(name="groupName")
|
|
293
|
-
def group_name(self) -> pulumi.Output[_builtins.str]:
|
|
294
|
-
"""
|
|
295
|
-
Name of the external group.
|
|
296
|
-
"""
|
|
297
|
-
return pulumi.get(self, "group_name")
|
|
298
|
-
|
|
299
|
-
@_builtins.property
|
|
300
|
-
@pulumi.getter(name="teamId")
|
|
301
|
-
def team_id(self) -> pulumi.Output[_builtins.str]:
|
|
302
|
-
"""
|
|
303
|
-
ID of the GitHub team.
|
|
304
|
-
"""
|
|
305
|
-
return pulumi.get(self, "team_id")
|
|
306
|
-
|
|
307
247
|
@_builtins.property
|
|
308
248
|
@pulumi.getter(name="teamSlug")
|
|
309
249
|
def team_slug(self) -> pulumi.Output[_builtins.str]:
|