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
|
@@ -23,8 +23,8 @@ class ActionsOrganizationSecretRepositoriesArgs:
|
|
|
23
23
|
selected_repository_ids: pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]):
|
|
24
24
|
"""
|
|
25
25
|
The set of arguments for constructing a ActionsOrganizationSecretRepositories resource.
|
|
26
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the
|
|
27
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids:
|
|
26
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the existing secret
|
|
27
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository ids that can access the organization secret.
|
|
28
28
|
"""
|
|
29
29
|
pulumi.set(__self__, "secret_name", secret_name)
|
|
30
30
|
pulumi.set(__self__, "selected_repository_ids", selected_repository_ids)
|
|
@@ -33,7 +33,7 @@ class ActionsOrganizationSecretRepositoriesArgs:
|
|
|
33
33
|
@pulumi.getter(name="secretName")
|
|
34
34
|
def secret_name(self) -> pulumi.Input[_builtins.str]:
|
|
35
35
|
"""
|
|
36
|
-
Name of the
|
|
36
|
+
Name of the existing secret
|
|
37
37
|
"""
|
|
38
38
|
return pulumi.get(self, "secret_name")
|
|
39
39
|
|
|
@@ -45,7 +45,7 @@ class ActionsOrganizationSecretRepositoriesArgs:
|
|
|
45
45
|
@pulumi.getter(name="selectedRepositoryIds")
|
|
46
46
|
def selected_repository_ids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]:
|
|
47
47
|
"""
|
|
48
|
-
|
|
48
|
+
An array of repository ids that can access the organization secret.
|
|
49
49
|
"""
|
|
50
50
|
return pulumi.get(self, "selected_repository_ids")
|
|
51
51
|
|
|
@@ -61,8 +61,8 @@ class _ActionsOrganizationSecretRepositoriesState:
|
|
|
61
61
|
selected_repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None):
|
|
62
62
|
"""
|
|
63
63
|
Input properties used for looking up and filtering ActionsOrganizationSecretRepositories resources.
|
|
64
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the
|
|
65
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids:
|
|
64
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the existing secret
|
|
65
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository ids that can access the organization secret.
|
|
66
66
|
"""
|
|
67
67
|
if secret_name is not None:
|
|
68
68
|
pulumi.set(__self__, "secret_name", secret_name)
|
|
@@ -73,7 +73,7 @@ class _ActionsOrganizationSecretRepositoriesState:
|
|
|
73
73
|
@pulumi.getter(name="secretName")
|
|
74
74
|
def secret_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
75
75
|
"""
|
|
76
|
-
Name of the
|
|
76
|
+
Name of the existing secret
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "secret_name")
|
|
79
79
|
|
|
@@ -85,7 +85,7 @@ class _ActionsOrganizationSecretRepositoriesState:
|
|
|
85
85
|
@pulumi.getter(name="selectedRepositoryIds")
|
|
86
86
|
def selected_repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
|
|
87
87
|
"""
|
|
88
|
-
|
|
88
|
+
An array of repository ids that can access the organization secret.
|
|
89
89
|
"""
|
|
90
90
|
return pulumi.get(self, "selected_repository_ids")
|
|
91
91
|
|
|
@@ -104,7 +104,7 @@ class ActionsOrganizationSecretRepositories(pulumi.CustomResource):
|
|
|
104
104
|
selected_repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
105
105
|
__props__=None):
|
|
106
106
|
"""
|
|
107
|
-
This resource allows you to manage
|
|
107
|
+
This resource allows you to manage repository allow list for existing GitHub Actions secrets within your GitHub organization.
|
|
108
108
|
You must have write access to an organization secret to use this resource.
|
|
109
109
|
|
|
110
110
|
This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
@@ -115,32 +115,24 @@ class ActionsOrganizationSecretRepositories(pulumi.CustomResource):
|
|
|
115
115
|
import pulumi
|
|
116
116
|
import pulumi_github as github
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
example_repository = github.Repository("example",
|
|
123
|
-
name="myrepo",
|
|
124
|
-
visibility="public")
|
|
125
|
-
example_actions_organization_secret_repositories = github.ActionsOrganizationSecretRepositories("example",
|
|
126
|
-
secret_name=example.name,
|
|
127
|
-
selected_repository_ids=[example_repository.repo_id])
|
|
118
|
+
repo = github.get_repository(full_name="my-org/repo")
|
|
119
|
+
org_secret_repos = github.ActionsOrganizationSecretRepositories("org_secret_repos",
|
|
120
|
+
secret_name="existing_secret_name",
|
|
121
|
+
selected_repository_ids=[repo.repo_id])
|
|
128
122
|
```
|
|
129
123
|
|
|
130
124
|
## Import
|
|
131
125
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
The following command imports the repositories able to access the actions organization secret named `mysecret` to a `github_actions_organization_secret_repositories` resource named `example`.
|
|
126
|
+
This resource can be imported using an ID made up of the secret name:
|
|
135
127
|
|
|
136
128
|
```sh
|
|
137
|
-
$ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories
|
|
129
|
+
$ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories test_secret_repos test_secret_name
|
|
138
130
|
```
|
|
139
131
|
|
|
140
132
|
:param str resource_name: The name of the resource.
|
|
141
133
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
142
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the
|
|
143
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids:
|
|
134
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the existing secret
|
|
135
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository ids that can access the organization secret.
|
|
144
136
|
"""
|
|
145
137
|
...
|
|
146
138
|
@overload
|
|
@@ -149,7 +141,7 @@ class ActionsOrganizationSecretRepositories(pulumi.CustomResource):
|
|
|
149
141
|
args: ActionsOrganizationSecretRepositoriesArgs,
|
|
150
142
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
151
143
|
"""
|
|
152
|
-
This resource allows you to manage
|
|
144
|
+
This resource allows you to manage repository allow list for existing GitHub Actions secrets within your GitHub organization.
|
|
153
145
|
You must have write access to an organization secret to use this resource.
|
|
154
146
|
|
|
155
147
|
This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
@@ -160,26 +152,18 @@ class ActionsOrganizationSecretRepositories(pulumi.CustomResource):
|
|
|
160
152
|
import pulumi
|
|
161
153
|
import pulumi_github as github
|
|
162
154
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
example_repository = github.Repository("example",
|
|
168
|
-
name="myrepo",
|
|
169
|
-
visibility="public")
|
|
170
|
-
example_actions_organization_secret_repositories = github.ActionsOrganizationSecretRepositories("example",
|
|
171
|
-
secret_name=example.name,
|
|
172
|
-
selected_repository_ids=[example_repository.repo_id])
|
|
155
|
+
repo = github.get_repository(full_name="my-org/repo")
|
|
156
|
+
org_secret_repos = github.ActionsOrganizationSecretRepositories("org_secret_repos",
|
|
157
|
+
secret_name="existing_secret_name",
|
|
158
|
+
selected_repository_ids=[repo.repo_id])
|
|
173
159
|
```
|
|
174
160
|
|
|
175
161
|
## Import
|
|
176
162
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
The following command imports the repositories able to access the actions organization secret named `mysecret` to a `github_actions_organization_secret_repositories` resource named `example`.
|
|
163
|
+
This resource can be imported using an ID made up of the secret name:
|
|
180
164
|
|
|
181
165
|
```sh
|
|
182
|
-
$ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories
|
|
166
|
+
$ pulumi import github:index/actionsOrganizationSecretRepositories:ActionsOrganizationSecretRepositories test_secret_repos test_secret_name
|
|
183
167
|
```
|
|
184
168
|
|
|
185
169
|
:param str resource_name: The name of the resource.
|
|
@@ -233,8 +217,8 @@ class ActionsOrganizationSecretRepositories(pulumi.CustomResource):
|
|
|
233
217
|
:param str resource_name: The unique name of the resulting resource.
|
|
234
218
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
235
219
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
236
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the
|
|
237
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids:
|
|
220
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the existing secret
|
|
221
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository ids that can access the organization secret.
|
|
238
222
|
"""
|
|
239
223
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
240
224
|
|
|
@@ -248,7 +232,7 @@ class ActionsOrganizationSecretRepositories(pulumi.CustomResource):
|
|
|
248
232
|
@pulumi.getter(name="secretName")
|
|
249
233
|
def secret_name(self) -> pulumi.Output[_builtins.str]:
|
|
250
234
|
"""
|
|
251
|
-
Name of the
|
|
235
|
+
Name of the existing secret
|
|
252
236
|
"""
|
|
253
237
|
return pulumi.get(self, "secret_name")
|
|
254
238
|
|
|
@@ -256,7 +240,7 @@ class ActionsOrganizationSecretRepositories(pulumi.CustomResource):
|
|
|
256
240
|
@pulumi.getter(name="selectedRepositoryIds")
|
|
257
241
|
def selected_repository_ids(self) -> pulumi.Output[Sequence[_builtins.int]]:
|
|
258
242
|
"""
|
|
259
|
-
|
|
243
|
+
An array of repository ids that can access the organization secret.
|
|
260
244
|
"""
|
|
261
245
|
return pulumi.get(self, "selected_repository_ids")
|
|
262
246
|
|
|
@@ -23,8 +23,8 @@ class ActionsOrganizationSecretRepositoryArgs:
|
|
|
23
23
|
secret_name: pulumi.Input[_builtins.str]):
|
|
24
24
|
"""
|
|
25
25
|
The set of arguments for constructing a ActionsOrganizationSecretRepository resource.
|
|
26
|
-
:param pulumi.Input[_builtins.int] repository_id:
|
|
27
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the
|
|
26
|
+
:param pulumi.Input[_builtins.int] repository_id: Repository id that can access the organization secret.
|
|
27
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the existing secret
|
|
28
28
|
"""
|
|
29
29
|
pulumi.set(__self__, "repository_id", repository_id)
|
|
30
30
|
pulumi.set(__self__, "secret_name", secret_name)
|
|
@@ -33,7 +33,7 @@ class ActionsOrganizationSecretRepositoryArgs:
|
|
|
33
33
|
@pulumi.getter(name="repositoryId")
|
|
34
34
|
def repository_id(self) -> pulumi.Input[_builtins.int]:
|
|
35
35
|
"""
|
|
36
|
-
|
|
36
|
+
Repository id that can access the organization secret.
|
|
37
37
|
"""
|
|
38
38
|
return pulumi.get(self, "repository_id")
|
|
39
39
|
|
|
@@ -45,7 +45,7 @@ class ActionsOrganizationSecretRepositoryArgs:
|
|
|
45
45
|
@pulumi.getter(name="secretName")
|
|
46
46
|
def secret_name(self) -> pulumi.Input[_builtins.str]:
|
|
47
47
|
"""
|
|
48
|
-
Name of the
|
|
48
|
+
Name of the existing secret
|
|
49
49
|
"""
|
|
50
50
|
return pulumi.get(self, "secret_name")
|
|
51
51
|
|
|
@@ -61,8 +61,8 @@ class _ActionsOrganizationSecretRepositoryState:
|
|
|
61
61
|
secret_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
62
62
|
"""
|
|
63
63
|
Input properties used for looking up and filtering ActionsOrganizationSecretRepository resources.
|
|
64
|
-
:param pulumi.Input[_builtins.int] repository_id:
|
|
65
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the
|
|
64
|
+
:param pulumi.Input[_builtins.int] repository_id: Repository id that can access the organization secret.
|
|
65
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the existing secret
|
|
66
66
|
"""
|
|
67
67
|
if repository_id is not None:
|
|
68
68
|
pulumi.set(__self__, "repository_id", repository_id)
|
|
@@ -73,7 +73,7 @@ class _ActionsOrganizationSecretRepositoryState:
|
|
|
73
73
|
@pulumi.getter(name="repositoryId")
|
|
74
74
|
def repository_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
75
75
|
"""
|
|
76
|
-
|
|
76
|
+
Repository id that can access the organization secret.
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "repository_id")
|
|
79
79
|
|
|
@@ -85,7 +85,7 @@ class _ActionsOrganizationSecretRepositoryState:
|
|
|
85
85
|
@pulumi.getter(name="secretName")
|
|
86
86
|
def secret_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
87
87
|
"""
|
|
88
|
-
Name of the
|
|
88
|
+
Name of the existing secret
|
|
89
89
|
"""
|
|
90
90
|
return pulumi.get(self, "secret_name")
|
|
91
91
|
|
|
@@ -104,7 +104,7 @@ class ActionsOrganizationSecretRepository(pulumi.CustomResource):
|
|
|
104
104
|
secret_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
105
105
|
__props__=None):
|
|
106
106
|
"""
|
|
107
|
-
This resource
|
|
107
|
+
This resource help you to allow/unallow a repository to use an existing GitHub Actions secrets within your GitHub organization.
|
|
108
108
|
You must have write access to an organization secret to use this resource.
|
|
109
109
|
|
|
110
110
|
This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
@@ -115,32 +115,24 @@ class ActionsOrganizationSecretRepository(pulumi.CustomResource):
|
|
|
115
115
|
import pulumi
|
|
116
116
|
import pulumi_github as github
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
example_repository = github.Repository("example",
|
|
123
|
-
name="myrepo",
|
|
124
|
-
visibility="public")
|
|
125
|
-
example_actions_organization_secret_repository = github.ActionsOrganizationSecretRepository("example",
|
|
126
|
-
secret_name=example.name,
|
|
127
|
-
repository_id=example_repository.repo_id)
|
|
118
|
+
repo = github.get_repository(full_name="my-org/repo")
|
|
119
|
+
org_secret_repos = github.ActionsOrganizationSecretRepository("org_secret_repos",
|
|
120
|
+
secret_name="EXAMPLE_SECRET_NAME",
|
|
121
|
+
repository_id=repo_github_repository["repoId"])
|
|
128
122
|
```
|
|
129
123
|
|
|
130
124
|
## Import
|
|
131
125
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
The following command imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github_actions_organization_secret_repository` resource named `example`.
|
|
126
|
+
This resource can be imported using an ID made up of the secret name:
|
|
135
127
|
|
|
136
128
|
```sh
|
|
137
|
-
$ pulumi import github:index/actionsOrganizationSecretRepository:ActionsOrganizationSecretRepository
|
|
129
|
+
$ pulumi import github:index/actionsOrganizationSecretRepository:ActionsOrganizationSecretRepository test_secret_repos test_secret_name:repo_id
|
|
138
130
|
```
|
|
139
131
|
|
|
140
132
|
:param str resource_name: The name of the resource.
|
|
141
133
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
142
|
-
:param pulumi.Input[_builtins.int] repository_id:
|
|
143
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the
|
|
134
|
+
:param pulumi.Input[_builtins.int] repository_id: Repository id that can access the organization secret.
|
|
135
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the existing secret
|
|
144
136
|
"""
|
|
145
137
|
...
|
|
146
138
|
@overload
|
|
@@ -149,7 +141,7 @@ class ActionsOrganizationSecretRepository(pulumi.CustomResource):
|
|
|
149
141
|
args: ActionsOrganizationSecretRepositoryArgs,
|
|
150
142
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
151
143
|
"""
|
|
152
|
-
This resource
|
|
144
|
+
This resource help you to allow/unallow a repository to use an existing GitHub Actions secrets within your GitHub organization.
|
|
153
145
|
You must have write access to an organization secret to use this resource.
|
|
154
146
|
|
|
155
147
|
This resource is only applicable when `visibility` of the existing organization secret has been set to `selected`.
|
|
@@ -160,26 +152,18 @@ class ActionsOrganizationSecretRepository(pulumi.CustomResource):
|
|
|
160
152
|
import pulumi
|
|
161
153
|
import pulumi_github as github
|
|
162
154
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
example_repository = github.Repository("example",
|
|
168
|
-
name="myrepo",
|
|
169
|
-
visibility="public")
|
|
170
|
-
example_actions_organization_secret_repository = github.ActionsOrganizationSecretRepository("example",
|
|
171
|
-
secret_name=example.name,
|
|
172
|
-
repository_id=example_repository.repo_id)
|
|
155
|
+
repo = github.get_repository(full_name="my-org/repo")
|
|
156
|
+
org_secret_repos = github.ActionsOrganizationSecretRepository("org_secret_repos",
|
|
157
|
+
secret_name="EXAMPLE_SECRET_NAME",
|
|
158
|
+
repository_id=repo_github_repository["repoId"])
|
|
173
159
|
```
|
|
174
160
|
|
|
175
161
|
## Import
|
|
176
162
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
The following command imports the access of repository ID `123456` for the actions organization secret named `mysecret` to a `github_actions_organization_secret_repository` resource named `example`.
|
|
163
|
+
This resource can be imported using an ID made up of the secret name:
|
|
180
164
|
|
|
181
165
|
```sh
|
|
182
|
-
$ pulumi import github:index/actionsOrganizationSecretRepository:ActionsOrganizationSecretRepository
|
|
166
|
+
$ pulumi import github:index/actionsOrganizationSecretRepository:ActionsOrganizationSecretRepository test_secret_repos test_secret_name:repo_id
|
|
183
167
|
```
|
|
184
168
|
|
|
185
169
|
:param str resource_name: The name of the resource.
|
|
@@ -233,8 +217,8 @@ class ActionsOrganizationSecretRepository(pulumi.CustomResource):
|
|
|
233
217
|
:param str resource_name: The unique name of the resulting resource.
|
|
234
218
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
235
219
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
236
|
-
:param pulumi.Input[_builtins.int] repository_id:
|
|
237
|
-
:param pulumi.Input[_builtins.str] secret_name: Name of the
|
|
220
|
+
:param pulumi.Input[_builtins.int] repository_id: Repository id that can access the organization secret.
|
|
221
|
+
:param pulumi.Input[_builtins.str] secret_name: Name of the existing secret
|
|
238
222
|
"""
|
|
239
223
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
240
224
|
|
|
@@ -248,7 +232,7 @@ class ActionsOrganizationSecretRepository(pulumi.CustomResource):
|
|
|
248
232
|
@pulumi.getter(name="repositoryId")
|
|
249
233
|
def repository_id(self) -> pulumi.Output[_builtins.int]:
|
|
250
234
|
"""
|
|
251
|
-
|
|
235
|
+
Repository id that can access the organization secret.
|
|
252
236
|
"""
|
|
253
237
|
return pulumi.get(self, "repository_id")
|
|
254
238
|
|
|
@@ -256,7 +240,7 @@ class ActionsOrganizationSecretRepository(pulumi.CustomResource):
|
|
|
256
240
|
@pulumi.getter(name="secretName")
|
|
257
241
|
def secret_name(self) -> pulumi.Output[_builtins.str]:
|
|
258
242
|
"""
|
|
259
|
-
Name of the
|
|
243
|
+
Name of the existing secret
|
|
260
244
|
"""
|
|
261
245
|
return pulumi.get(self, "secret_name")
|
|
262
246
|
|
|
@@ -25,10 +25,11 @@ class ActionsOrganizationVariableArgs:
|
|
|
25
25
|
selected_repository_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None):
|
|
26
26
|
"""
|
|
27
27
|
The set of arguments for constructing a ActionsOrganizationVariable resource.
|
|
28
|
-
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
29
|
-
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
30
|
-
:param pulumi.Input[_builtins.str] visibility: Configures the access that repositories have to the organization variable
|
|
31
|
-
|
|
28
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
29
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
30
|
+
:param pulumi.Input[_builtins.str] visibility: Configures the access that repositories have to the organization variable.
|
|
31
|
+
Must be one of `all`, `private`, `selected`. `selected_repository_ids` is required if set to `selected`.
|
|
32
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository ids that can access the organization variable.
|
|
32
33
|
"""
|
|
33
34
|
pulumi.set(__self__, "value", value)
|
|
34
35
|
pulumi.set(__self__, "variable_name", variable_name)
|
|
@@ -40,7 +41,7 @@ class ActionsOrganizationVariableArgs:
|
|
|
40
41
|
@pulumi.getter
|
|
41
42
|
def value(self) -> pulumi.Input[_builtins.str]:
|
|
42
43
|
"""
|
|
43
|
-
Value of the variable
|
|
44
|
+
Value of the variable
|
|
44
45
|
"""
|
|
45
46
|
return pulumi.get(self, "value")
|
|
46
47
|
|
|
@@ -52,7 +53,7 @@ class ActionsOrganizationVariableArgs:
|
|
|
52
53
|
@pulumi.getter(name="variableName")
|
|
53
54
|
def variable_name(self) -> pulumi.Input[_builtins.str]:
|
|
54
55
|
"""
|
|
55
|
-
Name of the variable
|
|
56
|
+
Name of the variable
|
|
56
57
|
"""
|
|
57
58
|
return pulumi.get(self, "variable_name")
|
|
58
59
|
|
|
@@ -64,7 +65,8 @@ class ActionsOrganizationVariableArgs:
|
|
|
64
65
|
@pulumi.getter
|
|
65
66
|
def visibility(self) -> pulumi.Input[_builtins.str]:
|
|
66
67
|
"""
|
|
67
|
-
Configures the access that repositories have to the organization variable
|
|
68
|
+
Configures the access that repositories have to the organization variable.
|
|
69
|
+
Must be one of `all`, `private`, `selected`. `selected_repository_ids` is required if set to `selected`.
|
|
68
70
|
"""
|
|
69
71
|
return pulumi.get(self, "visibility")
|
|
70
72
|
|
|
@@ -76,7 +78,7 @@ class ActionsOrganizationVariableArgs:
|
|
|
76
78
|
@pulumi.getter(name="selectedRepositoryIds")
|
|
77
79
|
def selected_repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
|
|
78
80
|
"""
|
|
79
|
-
An array of repository
|
|
81
|
+
An array of repository ids that can access the organization variable.
|
|
80
82
|
"""
|
|
81
83
|
return pulumi.get(self, "selected_repository_ids")
|
|
82
84
|
|
|
@@ -96,12 +98,13 @@ class _ActionsOrganizationVariableState:
|
|
|
96
98
|
visibility: Optional[pulumi.Input[_builtins.str]] = None):
|
|
97
99
|
"""
|
|
98
100
|
Input properties used for looking up and filtering ActionsOrganizationVariable resources.
|
|
99
|
-
:param pulumi.Input[_builtins.str] created_at: Date
|
|
100
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository
|
|
101
|
-
:param pulumi.Input[_builtins.str] updated_at: Date
|
|
102
|
-
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
103
|
-
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
104
|
-
:param pulumi.Input[_builtins.str] visibility: Configures the access that repositories have to the organization variable
|
|
101
|
+
:param pulumi.Input[_builtins.str] created_at: Date of actions_variable creation.
|
|
102
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository ids that can access the organization variable.
|
|
103
|
+
:param pulumi.Input[_builtins.str] updated_at: Date of actions_variable update.
|
|
104
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
105
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
106
|
+
:param pulumi.Input[_builtins.str] visibility: Configures the access that repositories have to the organization variable.
|
|
107
|
+
Must be one of `all`, `private`, `selected`. `selected_repository_ids` is required if set to `selected`.
|
|
105
108
|
"""
|
|
106
109
|
if created_at is not None:
|
|
107
110
|
pulumi.set(__self__, "created_at", created_at)
|
|
@@ -120,7 +123,7 @@ class _ActionsOrganizationVariableState:
|
|
|
120
123
|
@pulumi.getter(name="createdAt")
|
|
121
124
|
def created_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
122
125
|
"""
|
|
123
|
-
Date
|
|
126
|
+
Date of actions_variable creation.
|
|
124
127
|
"""
|
|
125
128
|
return pulumi.get(self, "created_at")
|
|
126
129
|
|
|
@@ -132,7 +135,7 @@ class _ActionsOrganizationVariableState:
|
|
|
132
135
|
@pulumi.getter(name="selectedRepositoryIds")
|
|
133
136
|
def selected_repository_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
|
|
134
137
|
"""
|
|
135
|
-
An array of repository
|
|
138
|
+
An array of repository ids that can access the organization variable.
|
|
136
139
|
"""
|
|
137
140
|
return pulumi.get(self, "selected_repository_ids")
|
|
138
141
|
|
|
@@ -144,7 +147,7 @@ class _ActionsOrganizationVariableState:
|
|
|
144
147
|
@pulumi.getter(name="updatedAt")
|
|
145
148
|
def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
146
149
|
"""
|
|
147
|
-
Date
|
|
150
|
+
Date of actions_variable update.
|
|
148
151
|
"""
|
|
149
152
|
return pulumi.get(self, "updated_at")
|
|
150
153
|
|
|
@@ -156,7 +159,7 @@ class _ActionsOrganizationVariableState:
|
|
|
156
159
|
@pulumi.getter
|
|
157
160
|
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
158
161
|
"""
|
|
159
|
-
Value of the variable
|
|
162
|
+
Value of the variable
|
|
160
163
|
"""
|
|
161
164
|
return pulumi.get(self, "value")
|
|
162
165
|
|
|
@@ -168,7 +171,7 @@ class _ActionsOrganizationVariableState:
|
|
|
168
171
|
@pulumi.getter(name="variableName")
|
|
169
172
|
def variable_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
170
173
|
"""
|
|
171
|
-
Name of the variable
|
|
174
|
+
Name of the variable
|
|
172
175
|
"""
|
|
173
176
|
return pulumi.get(self, "variable_name")
|
|
174
177
|
|
|
@@ -180,7 +183,8 @@ class _ActionsOrganizationVariableState:
|
|
|
180
183
|
@pulumi.getter
|
|
181
184
|
def visibility(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
182
185
|
"""
|
|
183
|
-
Configures the access that repositories have to the organization variable
|
|
186
|
+
Configures the access that repositories have to the organization variable.
|
|
187
|
+
Must be one of `all`, `private`, `selected`. `selected_repository_ids` is required if set to `selected`.
|
|
184
188
|
"""
|
|
185
189
|
return pulumi.get(self, "visibility")
|
|
186
190
|
|
|
@@ -230,20 +234,19 @@ class ActionsOrganizationVariable(pulumi.CustomResource):
|
|
|
230
234
|
|
|
231
235
|
## Import
|
|
232
236
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
The following command imports a GitHub actions organization variable named `myvariable` to a `github_actions_organization_variable` resource named `example`.
|
|
237
|
+
This resource can be imported using an ID made up of the variable name:
|
|
236
238
|
|
|
237
239
|
```sh
|
|
238
|
-
$ pulumi import github:index/actionsOrganizationVariable:ActionsOrganizationVariable
|
|
240
|
+
$ pulumi import github:index/actionsOrganizationVariable:ActionsOrganizationVariable test_variable test_variable_name
|
|
239
241
|
```
|
|
240
242
|
|
|
241
243
|
:param str resource_name: The name of the resource.
|
|
242
244
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
243
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository
|
|
244
|
-
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
245
|
-
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
246
|
-
:param pulumi.Input[_builtins.str] visibility: Configures the access that repositories have to the organization variable
|
|
245
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository ids that can access the organization variable.
|
|
246
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
247
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
248
|
+
:param pulumi.Input[_builtins.str] visibility: Configures the access that repositories have to the organization variable.
|
|
249
|
+
Must be one of `all`, `private`, `selected`. `selected_repository_ids` is required if set to `selected`.
|
|
247
250
|
"""
|
|
248
251
|
...
|
|
249
252
|
@overload
|
|
@@ -281,12 +284,10 @@ class ActionsOrganizationVariable(pulumi.CustomResource):
|
|
|
281
284
|
|
|
282
285
|
## Import
|
|
283
286
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
The following command imports a GitHub actions organization variable named `myvariable` to a `github_actions_organization_variable` resource named `example`.
|
|
287
|
+
This resource can be imported using an ID made up of the variable name:
|
|
287
288
|
|
|
288
289
|
```sh
|
|
289
|
-
$ pulumi import github:index/actionsOrganizationVariable:ActionsOrganizationVariable
|
|
290
|
+
$ pulumi import github:index/actionsOrganizationVariable:ActionsOrganizationVariable test_variable test_variable_name
|
|
290
291
|
```
|
|
291
292
|
|
|
292
293
|
:param str resource_name: The name of the resource.
|
|
@@ -352,12 +353,13 @@ class ActionsOrganizationVariable(pulumi.CustomResource):
|
|
|
352
353
|
:param str resource_name: The unique name of the resulting resource.
|
|
353
354
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
354
355
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
355
|
-
:param pulumi.Input[_builtins.str] created_at: Date
|
|
356
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository
|
|
357
|
-
:param pulumi.Input[_builtins.str] updated_at: Date
|
|
358
|
-
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
359
|
-
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
360
|
-
:param pulumi.Input[_builtins.str] visibility: Configures the access that repositories have to the organization variable
|
|
356
|
+
:param pulumi.Input[_builtins.str] created_at: Date of actions_variable creation.
|
|
357
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] selected_repository_ids: An array of repository ids that can access the organization variable.
|
|
358
|
+
:param pulumi.Input[_builtins.str] updated_at: Date of actions_variable update.
|
|
359
|
+
:param pulumi.Input[_builtins.str] value: Value of the variable
|
|
360
|
+
:param pulumi.Input[_builtins.str] variable_name: Name of the variable
|
|
361
|
+
:param pulumi.Input[_builtins.str] visibility: Configures the access that repositories have to the organization variable.
|
|
362
|
+
Must be one of `all`, `private`, `selected`. `selected_repository_ids` is required if set to `selected`.
|
|
361
363
|
"""
|
|
362
364
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
363
365
|
|
|
@@ -375,7 +377,7 @@ class ActionsOrganizationVariable(pulumi.CustomResource):
|
|
|
375
377
|
@pulumi.getter(name="createdAt")
|
|
376
378
|
def created_at(self) -> pulumi.Output[_builtins.str]:
|
|
377
379
|
"""
|
|
378
|
-
Date
|
|
380
|
+
Date of actions_variable creation.
|
|
379
381
|
"""
|
|
380
382
|
return pulumi.get(self, "created_at")
|
|
381
383
|
|
|
@@ -383,7 +385,7 @@ class ActionsOrganizationVariable(pulumi.CustomResource):
|
|
|
383
385
|
@pulumi.getter(name="selectedRepositoryIds")
|
|
384
386
|
def selected_repository_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.int]]]:
|
|
385
387
|
"""
|
|
386
|
-
An array of repository
|
|
388
|
+
An array of repository ids that can access the organization variable.
|
|
387
389
|
"""
|
|
388
390
|
return pulumi.get(self, "selected_repository_ids")
|
|
389
391
|
|
|
@@ -391,7 +393,7 @@ class ActionsOrganizationVariable(pulumi.CustomResource):
|
|
|
391
393
|
@pulumi.getter(name="updatedAt")
|
|
392
394
|
def updated_at(self) -> pulumi.Output[_builtins.str]:
|
|
393
395
|
"""
|
|
394
|
-
Date
|
|
396
|
+
Date of actions_variable update.
|
|
395
397
|
"""
|
|
396
398
|
return pulumi.get(self, "updated_at")
|
|
397
399
|
|
|
@@ -399,7 +401,7 @@ class ActionsOrganizationVariable(pulumi.CustomResource):
|
|
|
399
401
|
@pulumi.getter
|
|
400
402
|
def value(self) -> pulumi.Output[_builtins.str]:
|
|
401
403
|
"""
|
|
402
|
-
Value of the variable
|
|
404
|
+
Value of the variable
|
|
403
405
|
"""
|
|
404
406
|
return pulumi.get(self, "value")
|
|
405
407
|
|
|
@@ -407,7 +409,7 @@ class ActionsOrganizationVariable(pulumi.CustomResource):
|
|
|
407
409
|
@pulumi.getter(name="variableName")
|
|
408
410
|
def variable_name(self) -> pulumi.Output[_builtins.str]:
|
|
409
411
|
"""
|
|
410
|
-
Name of the variable
|
|
412
|
+
Name of the variable
|
|
411
413
|
"""
|
|
412
414
|
return pulumi.get(self, "variable_name")
|
|
413
415
|
|
|
@@ -415,7 +417,8 @@ class ActionsOrganizationVariable(pulumi.CustomResource):
|
|
|
415
417
|
@pulumi.getter
|
|
416
418
|
def visibility(self) -> pulumi.Output[_builtins.str]:
|
|
417
419
|
"""
|
|
418
|
-
Configures the access that repositories have to the organization variable
|
|
420
|
+
Configures the access that repositories have to the organization variable.
|
|
421
|
+
Must be one of `all`, `private`, `selected`. `selected_repository_ids` is required if set to `selected`.
|
|
419
422
|
"""
|
|
420
423
|
return pulumi.get(self, "visibility")
|
|
421
424
|
|