pulumi-github 6.12.0__py3-none-any.whl → 6.12.0a1769172728__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.0a1769172728.dist-info}/METADATA +1 -1
- {pulumi_github-6.12.0.dist-info → pulumi_github-6.12.0a1769172728.dist-info}/RECORD +27 -31
- {pulumi_github-6.12.0.dist-info → pulumi_github-6.12.0a1769172728.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.0a1769172728.dist-info}/top_level.txt +0 -0
|
@@ -24,9 +24,9 @@ class ActionsVariableArgs:
|
|
|
24
24
|
variable_name: pulumi.Input[_builtins.str]):
|
|
25
25
|
"""
|
|
26
26
|
The set of arguments for constructing a ActionsVariable resource.
|
|
27
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
28
|
-
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
29
|
-
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
27
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
28
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
29
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
30
30
|
"""
|
|
31
31
|
pulumi.set(__self__, "repository", repository)
|
|
32
32
|
pulumi.set(__self__, "value", value)
|
|
@@ -36,7 +36,7 @@ class ActionsVariableArgs:
|
|
|
36
36
|
@pulumi.getter
|
|
37
37
|
def repository(self) -> pulumi.Input[_builtins.str]:
|
|
38
38
|
"""
|
|
39
|
-
Name of the repository
|
|
39
|
+
Name of the repository
|
|
40
40
|
"""
|
|
41
41
|
return pulumi.get(self, "repository")
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ class ActionsVariableArgs:
|
|
|
48
48
|
@pulumi.getter
|
|
49
49
|
def value(self) -> pulumi.Input[_builtins.str]:
|
|
50
50
|
"""
|
|
51
|
-
Value of the variable
|
|
51
|
+
Value of the variable
|
|
52
52
|
"""
|
|
53
53
|
return pulumi.get(self, "value")
|
|
54
54
|
|
|
@@ -60,7 +60,7 @@ class ActionsVariableArgs:
|
|
|
60
60
|
@pulumi.getter(name="variableName")
|
|
61
61
|
def variable_name(self) -> pulumi.Input[_builtins.str]:
|
|
62
62
|
"""
|
|
63
|
-
Name of the variable
|
|
63
|
+
Name of the variable
|
|
64
64
|
"""
|
|
65
65
|
return pulumi.get(self, "variable_name")
|
|
66
66
|
|
|
@@ -74,25 +74,21 @@ class _ActionsVariableState:
|
|
|
74
74
|
def __init__(__self__, *,
|
|
75
75
|
created_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
76
76
|
repository: Optional[pulumi.Input[_builtins.str]] = None,
|
|
77
|
-
repository_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
78
77
|
updated_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
79
78
|
value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
80
79
|
variable_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
81
80
|
"""
|
|
82
81
|
Input properties used for looking up and filtering ActionsVariable resources.
|
|
83
|
-
:param pulumi.Input[_builtins.str] created_at: Date
|
|
84
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
85
|
-
:param pulumi.Input[_builtins.
|
|
86
|
-
:param pulumi.Input[_builtins.str]
|
|
87
|
-
:param pulumi.Input[_builtins.str]
|
|
88
|
-
:param pulumi.Input[_builtins.str] variable_name: Name of the variable.
|
|
82
|
+
:param pulumi.Input[_builtins.str] created_at: Date of actions_variable creation.
|
|
83
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
84
|
+
:param pulumi.Input[_builtins.str] updated_at: Date of actions_variable update.
|
|
85
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
86
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
89
87
|
"""
|
|
90
88
|
if created_at is not None:
|
|
91
89
|
pulumi.set(__self__, "created_at", created_at)
|
|
92
90
|
if repository is not None:
|
|
93
91
|
pulumi.set(__self__, "repository", repository)
|
|
94
|
-
if repository_id is not None:
|
|
95
|
-
pulumi.set(__self__, "repository_id", repository_id)
|
|
96
92
|
if updated_at is not None:
|
|
97
93
|
pulumi.set(__self__, "updated_at", updated_at)
|
|
98
94
|
if value is not None:
|
|
@@ -104,7 +100,7 @@ class _ActionsVariableState:
|
|
|
104
100
|
@pulumi.getter(name="createdAt")
|
|
105
101
|
def created_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
106
102
|
"""
|
|
107
|
-
Date
|
|
103
|
+
Date of actions_variable creation.
|
|
108
104
|
"""
|
|
109
105
|
return pulumi.get(self, "created_at")
|
|
110
106
|
|
|
@@ -116,7 +112,7 @@ class _ActionsVariableState:
|
|
|
116
112
|
@pulumi.getter
|
|
117
113
|
def repository(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
118
114
|
"""
|
|
119
|
-
Name of the repository
|
|
115
|
+
Name of the repository
|
|
120
116
|
"""
|
|
121
117
|
return pulumi.get(self, "repository")
|
|
122
118
|
|
|
@@ -124,23 +120,11 @@ class _ActionsVariableState:
|
|
|
124
120
|
def repository(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
125
121
|
pulumi.set(self, "repository", value)
|
|
126
122
|
|
|
127
|
-
@_builtins.property
|
|
128
|
-
@pulumi.getter(name="repositoryId")
|
|
129
|
-
def repository_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
130
|
-
"""
|
|
131
|
-
ID of the repository.
|
|
132
|
-
"""
|
|
133
|
-
return pulumi.get(self, "repository_id")
|
|
134
|
-
|
|
135
|
-
@repository_id.setter
|
|
136
|
-
def repository_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
137
|
-
pulumi.set(self, "repository_id", value)
|
|
138
|
-
|
|
139
123
|
@_builtins.property
|
|
140
124
|
@pulumi.getter(name="updatedAt")
|
|
141
125
|
def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
142
126
|
"""
|
|
143
|
-
Date
|
|
127
|
+
Date of actions_variable update.
|
|
144
128
|
"""
|
|
145
129
|
return pulumi.get(self, "updated_at")
|
|
146
130
|
|
|
@@ -152,7 +136,7 @@ class _ActionsVariableState:
|
|
|
152
136
|
@pulumi.getter
|
|
153
137
|
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
154
138
|
"""
|
|
155
|
-
Value of the variable
|
|
139
|
+
Value of the variable
|
|
156
140
|
"""
|
|
157
141
|
return pulumi.get(self, "value")
|
|
158
142
|
|
|
@@ -164,7 +148,7 @@ class _ActionsVariableState:
|
|
|
164
148
|
@pulumi.getter(name="variableName")
|
|
165
149
|
def variable_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
166
150
|
"""
|
|
167
|
-
Name of the variable
|
|
151
|
+
Name of the variable
|
|
168
152
|
"""
|
|
169
153
|
return pulumi.get(self, "variable_name")
|
|
170
154
|
|
|
@@ -201,19 +185,17 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
201
185
|
|
|
202
186
|
## Import
|
|
203
187
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
The following command imports a GitHub actions variable named `myvariable` for the repo `myrepo` to a `github_actions_variable` resource named `example`.
|
|
188
|
+
GitHub Actions variables can be imported using an ID made up of `repository:variable_name`, e.g.
|
|
207
189
|
|
|
208
190
|
```sh
|
|
209
|
-
$ pulumi import github:index/actionsVariable:ActionsVariable
|
|
191
|
+
$ pulumi import github:index/actionsVariable:ActionsVariable myvariable myrepo:myvariable
|
|
210
192
|
```
|
|
211
193
|
|
|
212
194
|
:param str resource_name: The name of the resource.
|
|
213
195
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
214
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
215
|
-
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
216
|
-
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
196
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
197
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
198
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
217
199
|
"""
|
|
218
200
|
...
|
|
219
201
|
@overload
|
|
@@ -239,12 +221,10 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
239
221
|
|
|
240
222
|
## Import
|
|
241
223
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
The following command imports a GitHub actions variable named `myvariable` for the repo `myrepo` to a `github_actions_variable` resource named `example`.
|
|
224
|
+
GitHub Actions variables can be imported using an ID made up of `repository:variable_name`, e.g.
|
|
245
225
|
|
|
246
226
|
```sh
|
|
247
|
-
$ pulumi import github:index/actionsVariable:ActionsVariable
|
|
227
|
+
$ pulumi import github:index/actionsVariable:ActionsVariable myvariable myrepo:myvariable
|
|
248
228
|
```
|
|
249
229
|
|
|
250
230
|
:param str resource_name: The name of the resource.
|
|
@@ -284,7 +264,6 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
284
264
|
raise TypeError("Missing required property 'variable_name'")
|
|
285
265
|
__props__.__dict__["variable_name"] = variable_name
|
|
286
266
|
__props__.__dict__["created_at"] = None
|
|
287
|
-
__props__.__dict__["repository_id"] = None
|
|
288
267
|
__props__.__dict__["updated_at"] = None
|
|
289
268
|
super(ActionsVariable, __self__).__init__(
|
|
290
269
|
'github:index/actionsVariable:ActionsVariable',
|
|
@@ -298,7 +277,6 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
298
277
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
299
278
|
created_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
279
|
repository: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
|
-
repository_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
302
280
|
updated_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
303
281
|
value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
304
282
|
variable_name: Optional[pulumi.Input[_builtins.str]] = None) -> 'ActionsVariable':
|
|
@@ -309,12 +287,11 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
309
287
|
:param str resource_name: The unique name of the resulting resource.
|
|
310
288
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
311
289
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
312
|
-
:param pulumi.Input[_builtins.str] created_at: Date
|
|
313
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
314
|
-
:param pulumi.Input[_builtins.
|
|
315
|
-
:param pulumi.Input[_builtins.str]
|
|
316
|
-
:param pulumi.Input[_builtins.str]
|
|
317
|
-
:param pulumi.Input[_builtins.str] variable_name: Name of the variable.
|
|
290
|
+
:param pulumi.Input[_builtins.str] created_at: Date of actions_variable creation.
|
|
291
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
292
|
+
:param pulumi.Input[_builtins.str] updated_at: Date of actions_variable update.
|
|
293
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
294
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
318
295
|
"""
|
|
319
296
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
320
297
|
|
|
@@ -322,7 +299,6 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
322
299
|
|
|
323
300
|
__props__.__dict__["created_at"] = created_at
|
|
324
301
|
__props__.__dict__["repository"] = repository
|
|
325
|
-
__props__.__dict__["repository_id"] = repository_id
|
|
326
302
|
__props__.__dict__["updated_at"] = updated_at
|
|
327
303
|
__props__.__dict__["value"] = value
|
|
328
304
|
__props__.__dict__["variable_name"] = variable_name
|
|
@@ -332,7 +308,7 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
332
308
|
@pulumi.getter(name="createdAt")
|
|
333
309
|
def created_at(self) -> pulumi.Output[_builtins.str]:
|
|
334
310
|
"""
|
|
335
|
-
Date
|
|
311
|
+
Date of actions_variable creation.
|
|
336
312
|
"""
|
|
337
313
|
return pulumi.get(self, "created_at")
|
|
338
314
|
|
|
@@ -340,23 +316,15 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
340
316
|
@pulumi.getter
|
|
341
317
|
def repository(self) -> pulumi.Output[_builtins.str]:
|
|
342
318
|
"""
|
|
343
|
-
Name of the repository
|
|
319
|
+
Name of the repository
|
|
344
320
|
"""
|
|
345
321
|
return pulumi.get(self, "repository")
|
|
346
322
|
|
|
347
|
-
@_builtins.property
|
|
348
|
-
@pulumi.getter(name="repositoryId")
|
|
349
|
-
def repository_id(self) -> pulumi.Output[_builtins.int]:
|
|
350
|
-
"""
|
|
351
|
-
ID of the repository.
|
|
352
|
-
"""
|
|
353
|
-
return pulumi.get(self, "repository_id")
|
|
354
|
-
|
|
355
323
|
@_builtins.property
|
|
356
324
|
@pulumi.getter(name="updatedAt")
|
|
357
325
|
def updated_at(self) -> pulumi.Output[_builtins.str]:
|
|
358
326
|
"""
|
|
359
|
-
Date
|
|
327
|
+
Date of actions_variable update.
|
|
360
328
|
"""
|
|
361
329
|
return pulumi.get(self, "updated_at")
|
|
362
330
|
|
|
@@ -364,7 +332,7 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
364
332
|
@pulumi.getter
|
|
365
333
|
def value(self) -> pulumi.Output[_builtins.str]:
|
|
366
334
|
"""
|
|
367
|
-
Value of the variable
|
|
335
|
+
Value of the variable
|
|
368
336
|
"""
|
|
369
337
|
return pulumi.get(self, "value")
|
|
370
338
|
|
|
@@ -372,7 +340,7 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
372
340
|
@pulumi.getter(name="variableName")
|
|
373
341
|
def variable_name(self) -> pulumi.Output[_builtins.str]:
|
|
374
342
|
"""
|
|
375
|
-
Name of the variable
|
|
343
|
+
Name of the variable
|
|
376
344
|
"""
|
|
377
345
|
return pulumi.get(self, "variable_name")
|
|
378
346
|
|
|
@@ -115,14 +115,14 @@ class AppInstallationRepositories(pulumi.CustomResource):
|
|
|
115
115
|
> **Note**: This resource is not compatible with the GitHub App Installation authentication method.
|
|
116
116
|
|
|
117
117
|
This resource manages relationships between app installations and repositories
|
|
118
|
-
in your GitHub organization
|
|
118
|
+
in your GitHub organization.
|
|
119
119
|
|
|
120
120
|
Creating this resource installs a particular app on multiple repositories.
|
|
121
121
|
|
|
122
122
|
The app installation and the repositories must all belong to the same
|
|
123
|
-
organization
|
|
123
|
+
organization on GitHub. Note: you can review your organization's installations
|
|
124
124
|
by the following the instructions at this
|
|
125
|
-
[link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations)
|
|
125
|
+
[link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations).
|
|
126
126
|
|
|
127
127
|
## Import
|
|
128
128
|
|
|
@@ -150,14 +150,14 @@ class AppInstallationRepositories(pulumi.CustomResource):
|
|
|
150
150
|
> **Note**: This resource is not compatible with the GitHub App Installation authentication method.
|
|
151
151
|
|
|
152
152
|
This resource manages relationships between app installations and repositories
|
|
153
|
-
in your GitHub organization
|
|
153
|
+
in your GitHub organization.
|
|
154
154
|
|
|
155
155
|
Creating this resource installs a particular app on multiple repositories.
|
|
156
156
|
|
|
157
157
|
The app installation and the repositories must all belong to the same
|
|
158
|
-
organization
|
|
158
|
+
organization on GitHub. Note: you can review your organization's installations
|
|
159
159
|
by the following the instructions at this
|
|
160
|
-
[link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations)
|
|
160
|
+
[link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations).
|
|
161
161
|
|
|
162
162
|
## Import
|
|
163
163
|
|
|
@@ -119,14 +119,14 @@ class AppInstallationRepository(pulumi.CustomResource):
|
|
|
119
119
|
> **Note**: This resource is not compatible with the GitHub App Installation authentication method.
|
|
120
120
|
|
|
121
121
|
This resource manages relationships between app installations and repositories
|
|
122
|
-
in your GitHub organization
|
|
122
|
+
in your GitHub organization.
|
|
123
123
|
|
|
124
124
|
Creating this resource installs a particular app on a particular repository.
|
|
125
125
|
|
|
126
126
|
The app installation and the repository must both belong to the same
|
|
127
|
-
organization
|
|
127
|
+
organization on GitHub. Note: you can review your organization's installations
|
|
128
128
|
by the following the instructions at this
|
|
129
|
-
[link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations)
|
|
129
|
+
[link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations).
|
|
130
130
|
|
|
131
131
|
## Example Usage
|
|
132
132
|
|
|
@@ -165,14 +165,14 @@ class AppInstallationRepository(pulumi.CustomResource):
|
|
|
165
165
|
> **Note**: This resource is not compatible with the GitHub App Installation authentication method.
|
|
166
166
|
|
|
167
167
|
This resource manages relationships between app installations and repositories
|
|
168
|
-
in your GitHub organization
|
|
168
|
+
in your GitHub organization.
|
|
169
169
|
|
|
170
170
|
Creating this resource installs a particular app on a particular repository.
|
|
171
171
|
|
|
172
172
|
The app installation and the repository must both belong to the same
|
|
173
|
-
organization
|
|
173
|
+
organization on GitHub. Note: you can review your organization's installations
|
|
174
174
|
by the following the instructions at this
|
|
175
|
-
[link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations)
|
|
175
|
+
[link](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/reviewing-your-organizations-installed-integrations).
|
|
176
176
|
|
|
177
177
|
## Example Usage
|
|
178
178
|
|