pulumi-github 6.11.0a1768542226__py3-none-any.whl → 6.12.0__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 +37 -0
- pulumi_github/_inputs.py +527 -34
- pulumi_github/actions_environment_secret.py +141 -12
- pulumi_github/actions_environment_variable.py +73 -39
- pulumi_github/actions_organization_permissions.py +50 -3
- pulumi_github/actions_organization_secret.py +164 -55
- pulumi_github/actions_organization_secret_repositories.py +44 -28
- pulumi_github/actions_organization_secret_repository.py +44 -28
- pulumi_github/actions_organization_variable.py +44 -47
- pulumi_github/actions_organization_variable_repositories.py +262 -0
- pulumi_github/actions_organization_variable_repository.py +262 -0
- pulumi_github/actions_organization_workflow_permissions.py +320 -0
- pulumi_github/actions_repository_permissions.py +50 -3
- pulumi_github/actions_secret.py +176 -41
- pulumi_github/actions_variable.py +65 -33
- pulumi_github/app_installation_repositories.py +6 -6
- pulumi_github/app_installation_repository.py +6 -6
- pulumi_github/dependabot_organization_secret.py +128 -59
- pulumi_github/dependabot_organization_secret_repositories.py +44 -36
- pulumi_github/dependabot_organization_secret_repository.py +262 -0
- pulumi_github/dependabot_secret.py +154 -41
- pulumi_github/emu_group_mapping.py +62 -6
- pulumi_github/get_ip_ranges.py +3 -0
- pulumi_github/get_release_asset.py +370 -0
- pulumi_github/get_repository.py +17 -2
- pulumi_github/get_team.py +29 -13
- pulumi_github/organization_ruleset.py +11 -17
- pulumi_github/outputs.py +404 -25
- pulumi_github/pulumi-plugin.json +1 -1
- pulumi_github/repository.py +88 -23
- pulumi_github/repository_custom_property.py +2 -2
- pulumi_github/repository_environment.py +11 -11
- pulumi_github/repository_environment_deployment_policy.py +4 -4
- pulumi_github/repository_ruleset.py +7 -7
- pulumi_github/team.py +70 -21
- {pulumi_github-6.11.0a1768542226.dist-info → pulumi_github-6.12.0.dist-info}/METADATA +1 -1
- {pulumi_github-6.11.0a1768542226.dist-info → pulumi_github-6.12.0.dist-info}/RECORD +39 -34
- {pulumi_github-6.11.0a1768542226.dist-info → pulumi_github-6.12.0.dist-info}/WHEEL +1 -1
- {pulumi_github-6.11.0a1768542226.dist-info → pulumi_github-6.12.0.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,21 +74,25 @@ 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,
|
|
77
78
|
updated_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
78
79
|
value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
79
80
|
variable_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
80
81
|
"""
|
|
81
82
|
Input properties used for looking up and filtering ActionsVariable resources.
|
|
82
|
-
:param pulumi.Input[_builtins.str] created_at: Date
|
|
83
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
84
|
-
:param pulumi.Input[_builtins.
|
|
85
|
-
:param pulumi.Input[_builtins.str]
|
|
86
|
-
:param pulumi.Input[_builtins.str]
|
|
83
|
+
:param pulumi.Input[_builtins.str] created_at: Date the variable was created.
|
|
84
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository.
|
|
85
|
+
:param pulumi.Input[_builtins.int] repository_id: ID of the repository.
|
|
86
|
+
:param pulumi.Input[_builtins.str] updated_at: Date the variable was last updated.
|
|
87
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable.
|
|
88
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable.
|
|
87
89
|
"""
|
|
88
90
|
if created_at is not None:
|
|
89
91
|
pulumi.set(__self__, "created_at", created_at)
|
|
90
92
|
if repository is not None:
|
|
91
93
|
pulumi.set(__self__, "repository", repository)
|
|
94
|
+
if repository_id is not None:
|
|
95
|
+
pulumi.set(__self__, "repository_id", repository_id)
|
|
92
96
|
if updated_at is not None:
|
|
93
97
|
pulumi.set(__self__, "updated_at", updated_at)
|
|
94
98
|
if value is not None:
|
|
@@ -100,7 +104,7 @@ class _ActionsVariableState:
|
|
|
100
104
|
@pulumi.getter(name="createdAt")
|
|
101
105
|
def created_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
102
106
|
"""
|
|
103
|
-
Date
|
|
107
|
+
Date the variable was created.
|
|
104
108
|
"""
|
|
105
109
|
return pulumi.get(self, "created_at")
|
|
106
110
|
|
|
@@ -112,7 +116,7 @@ class _ActionsVariableState:
|
|
|
112
116
|
@pulumi.getter
|
|
113
117
|
def repository(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
114
118
|
"""
|
|
115
|
-
Name of the repository
|
|
119
|
+
Name of the repository.
|
|
116
120
|
"""
|
|
117
121
|
return pulumi.get(self, "repository")
|
|
118
122
|
|
|
@@ -120,11 +124,23 @@ class _ActionsVariableState:
|
|
|
120
124
|
def repository(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
121
125
|
pulumi.set(self, "repository", value)
|
|
122
126
|
|
|
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
|
+
|
|
123
139
|
@_builtins.property
|
|
124
140
|
@pulumi.getter(name="updatedAt")
|
|
125
141
|
def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
126
142
|
"""
|
|
127
|
-
Date
|
|
143
|
+
Date the variable was last updated.
|
|
128
144
|
"""
|
|
129
145
|
return pulumi.get(self, "updated_at")
|
|
130
146
|
|
|
@@ -136,7 +152,7 @@ class _ActionsVariableState:
|
|
|
136
152
|
@pulumi.getter
|
|
137
153
|
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
138
154
|
"""
|
|
139
|
-
Value of the variable
|
|
155
|
+
Value of the variable.
|
|
140
156
|
"""
|
|
141
157
|
return pulumi.get(self, "value")
|
|
142
158
|
|
|
@@ -148,7 +164,7 @@ class _ActionsVariableState:
|
|
|
148
164
|
@pulumi.getter(name="variableName")
|
|
149
165
|
def variable_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
150
166
|
"""
|
|
151
|
-
Name of the variable
|
|
167
|
+
Name of the variable.
|
|
152
168
|
"""
|
|
153
169
|
return pulumi.get(self, "variable_name")
|
|
154
170
|
|
|
@@ -185,17 +201,19 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
185
201
|
|
|
186
202
|
## Import
|
|
187
203
|
|
|
188
|
-
|
|
204
|
+
### Import Command
|
|
205
|
+
|
|
206
|
+
The following command imports a GitHub actions variable named `myvariable` for the repo `myrepo` to a `github_actions_variable` resource named `example`.
|
|
189
207
|
|
|
190
208
|
```sh
|
|
191
|
-
$ pulumi import github:index/actionsVariable:ActionsVariable
|
|
209
|
+
$ pulumi import github:index/actionsVariable:ActionsVariable example myrepo:myvariable
|
|
192
210
|
```
|
|
193
211
|
|
|
194
212
|
:param str resource_name: The name of the resource.
|
|
195
213
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
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
|
|
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.
|
|
199
217
|
"""
|
|
200
218
|
...
|
|
201
219
|
@overload
|
|
@@ -221,10 +239,12 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
221
239
|
|
|
222
240
|
## Import
|
|
223
241
|
|
|
224
|
-
|
|
242
|
+
### Import Command
|
|
243
|
+
|
|
244
|
+
The following command imports a GitHub actions variable named `myvariable` for the repo `myrepo` to a `github_actions_variable` resource named `example`.
|
|
225
245
|
|
|
226
246
|
```sh
|
|
227
|
-
$ pulumi import github:index/actionsVariable:ActionsVariable
|
|
247
|
+
$ pulumi import github:index/actionsVariable:ActionsVariable example myrepo:myvariable
|
|
228
248
|
```
|
|
229
249
|
|
|
230
250
|
:param str resource_name: The name of the resource.
|
|
@@ -264,6 +284,7 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
264
284
|
raise TypeError("Missing required property 'variable_name'")
|
|
265
285
|
__props__.__dict__["variable_name"] = variable_name
|
|
266
286
|
__props__.__dict__["created_at"] = None
|
|
287
|
+
__props__.__dict__["repository_id"] = None
|
|
267
288
|
__props__.__dict__["updated_at"] = None
|
|
268
289
|
super(ActionsVariable, __self__).__init__(
|
|
269
290
|
'github:index/actionsVariable:ActionsVariable',
|
|
@@ -277,6 +298,7 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
277
298
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
278
299
|
created_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
279
300
|
repository: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
|
+
repository_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
280
302
|
updated_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
281
303
|
value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
282
304
|
variable_name: Optional[pulumi.Input[_builtins.str]] = None) -> 'ActionsVariable':
|
|
@@ -287,11 +309,12 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
287
309
|
:param str resource_name: The unique name of the resulting resource.
|
|
288
310
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
289
311
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
290
|
-
:param pulumi.Input[_builtins.str] created_at: Date
|
|
291
|
-
:param pulumi.Input[_builtins.str] repository: Name of the repository
|
|
292
|
-
:param pulumi.Input[_builtins.
|
|
293
|
-
:param pulumi.Input[_builtins.str]
|
|
294
|
-
:param pulumi.Input[_builtins.str]
|
|
312
|
+
:param pulumi.Input[_builtins.str] created_at: Date the variable was created.
|
|
313
|
+
:param pulumi.Input[_builtins.str] repository: Name of the repository.
|
|
314
|
+
:param pulumi.Input[_builtins.int] repository_id: ID of the repository.
|
|
315
|
+
:param pulumi.Input[_builtins.str] updated_at: Date the variable was last updated.
|
|
316
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable.
|
|
317
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable.
|
|
295
318
|
"""
|
|
296
319
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
297
320
|
|
|
@@ -299,6 +322,7 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
299
322
|
|
|
300
323
|
__props__.__dict__["created_at"] = created_at
|
|
301
324
|
__props__.__dict__["repository"] = repository
|
|
325
|
+
__props__.__dict__["repository_id"] = repository_id
|
|
302
326
|
__props__.__dict__["updated_at"] = updated_at
|
|
303
327
|
__props__.__dict__["value"] = value
|
|
304
328
|
__props__.__dict__["variable_name"] = variable_name
|
|
@@ -308,7 +332,7 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
308
332
|
@pulumi.getter(name="createdAt")
|
|
309
333
|
def created_at(self) -> pulumi.Output[_builtins.str]:
|
|
310
334
|
"""
|
|
311
|
-
Date
|
|
335
|
+
Date the variable was created.
|
|
312
336
|
"""
|
|
313
337
|
return pulumi.get(self, "created_at")
|
|
314
338
|
|
|
@@ -316,15 +340,23 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
316
340
|
@pulumi.getter
|
|
317
341
|
def repository(self) -> pulumi.Output[_builtins.str]:
|
|
318
342
|
"""
|
|
319
|
-
Name of the repository
|
|
343
|
+
Name of the repository.
|
|
320
344
|
"""
|
|
321
345
|
return pulumi.get(self, "repository")
|
|
322
346
|
|
|
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
|
+
|
|
323
355
|
@_builtins.property
|
|
324
356
|
@pulumi.getter(name="updatedAt")
|
|
325
357
|
def updated_at(self) -> pulumi.Output[_builtins.str]:
|
|
326
358
|
"""
|
|
327
|
-
Date
|
|
359
|
+
Date the variable was last updated.
|
|
328
360
|
"""
|
|
329
361
|
return pulumi.get(self, "updated_at")
|
|
330
362
|
|
|
@@ -332,7 +364,7 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
332
364
|
@pulumi.getter
|
|
333
365
|
def value(self) -> pulumi.Output[_builtins.str]:
|
|
334
366
|
"""
|
|
335
|
-
Value of the variable
|
|
367
|
+
Value of the variable.
|
|
336
368
|
"""
|
|
337
369
|
return pulumi.get(self, "value")
|
|
338
370
|
|
|
@@ -340,7 +372,7 @@ class ActionsVariable(pulumi.CustomResource):
|
|
|
340
372
|
@pulumi.getter(name="variableName")
|
|
341
373
|
def variable_name(self) -> pulumi.Output[_builtins.str]:
|
|
342
374
|
"""
|
|
343
|
-
Name of the variable
|
|
375
|
+
Name of the variable.
|
|
344
376
|
"""
|
|
345
377
|
return pulumi.get(self, "variable_name")
|
|
346
378
|
|
|
@@ -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 or your user account.
|
|
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 on GitHub. Note: you can review your organization's installations
|
|
123
|
+
organization or user account 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) or for your user account at this [link](https://docs.github.com/en/apps/using-github-apps/reviewing-and-modifying-installed-github-apps).
|
|
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 or your user account.
|
|
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 on GitHub. Note: you can review your organization's installations
|
|
158
|
+
organization or user account 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) or for your user account at this [link](https://docs.github.com/en/apps/using-github-apps/reviewing-and-modifying-installed-github-apps).
|
|
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 or your user account.
|
|
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 on GitHub. Note: you can review your organization's installations
|
|
127
|
+
organization or user account 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) or for your user account at this [link](https://docs.github.com/en/apps/using-github-apps/reviewing-and-modifying-installed-github-apps).
|
|
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 or your user account.
|
|
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 on GitHub. Note: you can review your organization's installations
|
|
173
|
+
organization or user account 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) or for your user account at this [link](https://docs.github.com/en/apps/using-github-apps/reviewing-and-modifying-installed-github-apps).
|
|
176
176
|
|
|
177
177
|
## Example Usage
|
|
178
178
|
|