pulumi-gcp 9.0.0a1__py3-none-any.whl → 9.0.0a1758219982__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_gcp/__init__.py +48 -0
- pulumi_gcp/activedirectory/peering.py +16 -0
- pulumi_gcp/apigateway/api_config_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_policy.py +4 -4
- pulumi_gcp/apigateway/api_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_iam_policy.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_binding.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_member.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_policy.py +4 -4
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/get_python_package.py +237 -0
- pulumi_gcp/artifactregistry/get_repository.py +12 -1
- pulumi_gcp/artifactregistry/repository.py +28 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +4 -4
- pulumi_gcp/backupdisasterrecovery/get_backup.py +12 -1
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +4 -0
- pulumi_gcp/backupdisasterrecovery/get_data_source_references.py +135 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +4 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +103 -0
- pulumi_gcp/bigquery/app_profile.py +14 -49
- pulumi_gcp/bigquery/dataset_access.py +4 -8
- pulumi_gcp/bigquery/table.py +7 -21
- pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +20 -0
- pulumi_gcp/bigtable/app_profile.py +14 -49
- pulumi_gcp/bigtable/table.py +42 -42
- pulumi_gcp/certificatemanager/certificate_map_entry.py +7 -7
- pulumi_gcp/chronicle/_inputs.py +6 -5
- pulumi_gcp/chronicle/outputs.py +4 -3
- pulumi_gcp/chronicle/reference_list.py +53 -5
- pulumi_gcp/cloudasset/get_resources_search_all.py +8 -0
- pulumi_gcp/cloudbuild/_inputs.py +20 -0
- pulumi_gcp/cloudbuild/outputs.py +14 -0
- pulumi_gcp/cloudbuild/trigger.py +4 -2
- pulumi_gcp/cloudbuild/worker_pool.py +28 -21
- pulumi_gcp/cloudfunctions/function.py +4 -8
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +16 -0
- pulumi_gcp/cloudrunv2/_inputs.py +57 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +81 -0
- pulumi_gcp/cloudrunv2/service.py +54 -0
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -2
- pulumi_gcp/composer/environment.py +28 -49
- pulumi_gcp/compute/_inputs.py +804 -24
- pulumi_gcp/compute/backend_bucket.py +14 -0
- pulumi_gcp/compute/backend_bucket_iam_binding.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_member.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_policy.py +236 -0
- pulumi_gcp/compute/backend_service_iam_binding.py +464 -0
- pulumi_gcp/compute/backend_service_iam_member.py +464 -0
- pulumi_gcp/compute/backend_service_iam_policy.py +464 -0
- pulumi_gcp/compute/cross_site_network.py +16 -0
- pulumi_gcp/compute/future_reservation.py +32 -0
- pulumi_gcp/compute/get_region_backend_service.py +12 -1
- pulumi_gcp/compute/get_resource_policy.py +2 -20
- pulumi_gcp/compute/instance_from_machine_image.py +75 -110
- pulumi_gcp/compute/instance_from_template.py +75 -110
- pulumi_gcp/compute/instance_group_manager.py +7 -14
- pulumi_gcp/compute/instance_template.py +7 -14
- pulumi_gcp/compute/interconnect.py +4 -8
- pulumi_gcp/compute/machine_image_iam_binding.py +8 -4
- pulumi_gcp/compute/machine_image_iam_member.py +8 -4
- pulumi_gcp/compute/machine_image_iam_policy.py +8 -4
- pulumi_gcp/compute/network_edge_security_service.py +16 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +12 -0
- pulumi_gcp/compute/outputs.py +671 -16
- pulumi_gcp/compute/preview_feature.py +16 -0
- pulumi_gcp/compute/public_delegated_prefix.py +42 -0
- pulumi_gcp/compute/region_backend_service.py +54 -0
- pulumi_gcp/compute/region_backend_service_iam_binding.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_member.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_policy.py +488 -0
- pulumi_gcp/compute/region_instance_group_manager.py +7 -14
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -3
- pulumi_gcp/compute/region_resize_request.py +24 -0
- pulumi_gcp/compute/region_url_map.py +75 -0
- pulumi_gcp/compute/wire_group.py +16 -0
- pulumi_gcp/container/_inputs.py +446 -18
- pulumi_gcp/container/aws_cluster.py +28 -42
- pulumi_gcp/container/aws_node_pool.py +28 -42
- pulumi_gcp/container/azure_cluster.py +35 -70
- pulumi_gcp/container/azure_node_pool.py +28 -42
- pulumi_gcp/container/cluster.py +16 -7
- pulumi_gcp/container/outputs.py +423 -15
- pulumi_gcp/dataflow/flex_template_job.py +10 -0
- pulumi_gcp/dataform/repository.py +16 -0
- pulumi_gcp/dataform/repository_release_config.py +16 -0
- pulumi_gcp/dataform/repository_workflow_config.py +16 -0
- pulumi_gcp/dataplex/asset.py +28 -21
- pulumi_gcp/dataplex/zone.py +28 -21
- pulumi_gcp/dataproc/cluster.py +21 -14
- pulumi_gcp/dataproc/workflow_template.py +42 -105
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +94 -0
- pulumi_gcp/discoveryengine/acl_config.py +393 -0
- pulumi_gcp/discoveryengine/outputs.py +92 -0
- pulumi_gcp/firebase/android_app.py +16 -0
- pulumi_gcp/firebase/apple_app.py +16 -0
- pulumi_gcp/firebase/database_instance.py +16 -0
- pulumi_gcp/firebase/extensions_instance.py +12 -0
- pulumi_gcp/firebase/get_android_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app_config.py +16 -2
- pulumi_gcp/firebase/get_hosting_channel.py +4 -2
- pulumi_gcp/firebase/hosting_channel.py +20 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +20 -0
- pulumi_gcp/firebase/hosting_release.py +16 -0
- pulumi_gcp/firebase/hosting_site.py +16 -0
- pulumi_gcp/firebase/hosting_version.py +16 -0
- pulumi_gcp/firebase/storage_bucket.py +18 -0
- pulumi_gcp/firestore/index.py +118 -3
- pulumi_gcp/folder/service_identity.py +26 -0
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +16 -0
- pulumi_gcp/healthcare/_inputs.py +205 -0
- pulumi_gcp/healthcare/fhir_store.py +128 -0
- pulumi_gcp/healthcare/outputs.py +163 -0
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +18 -0
- pulumi_gcp/iam/workload_identity_pool_namespace.py +20 -0
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_forwarding_rule_service_iam_policy.py +159 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_binding.py +1002 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_member.py +1002 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_policy.py +821 -0
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +22 -0
- pulumi_gcp/logging/billing_account_bucket_config.py +7 -21
- pulumi_gcp/logging/folder_bucket_config.py +7 -21
- pulumi_gcp/logging/organization_bucket_config.py +7 -21
- pulumi_gcp/logging/organization_sink.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +4 -0
- pulumi_gcp/managedkafka/connector.py +4 -0
- pulumi_gcp/memorystore/instance.py +14 -14
- pulumi_gcp/monitoring/dashboard.py +7 -14
- pulumi_gcp/netapp/storage_pool.py +91 -2
- pulumi_gcp/netapp/volume.py +47 -0
- pulumi_gcp/networkmanagement/__init__.py +1 -0
- pulumi_gcp/networkmanagement/organization_vpc_flow_logs_config.py +1028 -0
- pulumi_gcp/networksecurity/authorization_policy.py +12 -0
- pulumi_gcp/networkservices/gateway.py +7 -7
- pulumi_gcp/networkservices/service_lb_policies.py +12 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/organizations/project.py +7 -21
- pulumi_gcp/projects/service.py +0 -7
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/resourcemanager/capability.py +16 -0
- pulumi_gcp/runtimeconfig/config.py +16 -0
- pulumi_gcp/runtimeconfig/config_iam_binding.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_member.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_policy.py +236 -0
- pulumi_gcp/runtimeconfig/variable.py +10 -0
- pulumi_gcp/saasruntime/__init__.py +1 -0
- pulumi_gcp/saasruntime/_inputs.py +458 -0
- pulumi_gcp/saasruntime/outputs.py +392 -0
- pulumi_gcp/saasruntime/saa_s.py +4 -0
- pulumi_gcp/saasruntime/unit_kind.py +1024 -0
- pulumi_gcp/securesourcemanager/instance.py +7 -7
- pulumi_gcp/securesourcemanager/repository.py +7 -7
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_policy.py +4 -4
- pulumi_gcp/sql/_inputs.py +135 -1
- pulumi_gcp/sql/database_instance.py +54 -14
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +265 -3
- pulumi_gcp/storage/_inputs.py +246 -0
- pulumi_gcp/storage/bucket.py +7 -14
- pulumi_gcp/storage/bucket_object.py +0 -9
- pulumi_gcp/storage/outputs.py +191 -1
- pulumi_gcp/storage/transfer_job.py +47 -0
- pulumi_gcp/tpu/v2_queued_resource.py +16 -0
- pulumi_gcp/tpu/v2_vm.py +16 -0
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_metadata_store.py +16 -0
- pulumi_gcp/workstations/workstation.py +16 -0
- pulumi_gcp/workstations/workstation_cluster.py +16 -0
- pulumi_gcp/workstations/workstation_config.py +16 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +260 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +272 -0
- pulumi_gcp/workstations/workstation_iam_member.py +272 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +272 -0
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/METADATA +1 -1
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/RECORD +209 -200
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/WHEEL +0 -0
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.0.0a1758219982.dist-info}/top_level.txt +0 -0
@@ -162,6 +162,124 @@ class BackendBucketIamPolicy(pulumi.CustomResource):
|
|
162
162
|
project: Optional[pulumi.Input[_builtins.str]] = None,
|
163
163
|
__props__=None):
|
164
164
|
"""
|
165
|
+
Three different resources help you manage your IAM policy for Compute Engine BackendBucket. Each of these resources serves a different use case:
|
166
|
+
|
167
|
+
* `compute.BackendBucketIamPolicy`: Authoritative. Sets the IAM policy for the backendbucket and replaces any existing policy already attached.
|
168
|
+
* `compute.BackendBucketIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the backendbucket are preserved.
|
169
|
+
* `compute.BackendBucketIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backendbucket are preserved.
|
170
|
+
|
171
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
172
|
+
|
173
|
+
* `compute.BackendBucketIamPolicy`: Retrieves the IAM policy for the backendbucket
|
174
|
+
|
175
|
+
> **Note:** `compute.BackendBucketIamPolicy` **cannot** be used in conjunction with `compute.BackendBucketIamBinding` and `compute.BackendBucketIamMember` or they will fight over what your policy should be.
|
176
|
+
|
177
|
+
> **Note:** `compute.BackendBucketIamBinding` resources **can be** used in conjunction with `compute.BackendBucketIamMember` resources **only if** they do not grant privilege to the same role.
|
178
|
+
|
179
|
+
## compute.BackendBucketIamPolicy
|
180
|
+
|
181
|
+
```python
|
182
|
+
import pulumi
|
183
|
+
import pulumi_gcp as gcp
|
184
|
+
|
185
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
186
|
+
"role": "roles/viewer",
|
187
|
+
"members": ["user:jane@example.com"],
|
188
|
+
}])
|
189
|
+
policy = gcp.compute.BackendBucketIamPolicy("policy",
|
190
|
+
project=image_backend["project"],
|
191
|
+
name=image_backend["name"],
|
192
|
+
policy_data=admin.policy_data)
|
193
|
+
```
|
194
|
+
|
195
|
+
## compute.BackendBucketIamBinding
|
196
|
+
|
197
|
+
```python
|
198
|
+
import pulumi
|
199
|
+
import pulumi_gcp as gcp
|
200
|
+
|
201
|
+
binding = gcp.compute.BackendBucketIamBinding("binding",
|
202
|
+
project=image_backend["project"],
|
203
|
+
name=image_backend["name"],
|
204
|
+
role="roles/viewer",
|
205
|
+
members=["user:jane@example.com"])
|
206
|
+
```
|
207
|
+
|
208
|
+
## compute.BackendBucketIamMember
|
209
|
+
|
210
|
+
```python
|
211
|
+
import pulumi
|
212
|
+
import pulumi_gcp as gcp
|
213
|
+
|
214
|
+
member = gcp.compute.BackendBucketIamMember("member",
|
215
|
+
project=image_backend["project"],
|
216
|
+
name=image_backend["name"],
|
217
|
+
role="roles/viewer",
|
218
|
+
member="user:jane@example.com")
|
219
|
+
```
|
220
|
+
|
221
|
+
## This resource supports User Project Overrides.
|
222
|
+
|
223
|
+
-
|
224
|
+
|
225
|
+
# IAM policy for Compute Engine BackendBucket
|
226
|
+
|
227
|
+
Three different resources help you manage your IAM policy for Compute Engine BackendBucket. Each of these resources serves a different use case:
|
228
|
+
|
229
|
+
* `compute.BackendBucketIamPolicy`: Authoritative. Sets the IAM policy for the backendbucket and replaces any existing policy already attached.
|
230
|
+
* `compute.BackendBucketIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the backendbucket are preserved.
|
231
|
+
* `compute.BackendBucketIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backendbucket are preserved.
|
232
|
+
|
233
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
234
|
+
|
235
|
+
* `compute.BackendBucketIamPolicy`: Retrieves the IAM policy for the backendbucket
|
236
|
+
|
237
|
+
> **Note:** `compute.BackendBucketIamPolicy` **cannot** be used in conjunction with `compute.BackendBucketIamBinding` and `compute.BackendBucketIamMember` or they will fight over what your policy should be.
|
238
|
+
|
239
|
+
> **Note:** `compute.BackendBucketIamBinding` resources **can be** used in conjunction with `compute.BackendBucketIamMember` resources **only if** they do not grant privilege to the same role.
|
240
|
+
|
241
|
+
## compute.BackendBucketIamPolicy
|
242
|
+
|
243
|
+
```python
|
244
|
+
import pulumi
|
245
|
+
import pulumi_gcp as gcp
|
246
|
+
|
247
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
248
|
+
"role": "roles/viewer",
|
249
|
+
"members": ["user:jane@example.com"],
|
250
|
+
}])
|
251
|
+
policy = gcp.compute.BackendBucketIamPolicy("policy",
|
252
|
+
project=image_backend["project"],
|
253
|
+
name=image_backend["name"],
|
254
|
+
policy_data=admin.policy_data)
|
255
|
+
```
|
256
|
+
|
257
|
+
## compute.BackendBucketIamBinding
|
258
|
+
|
259
|
+
```python
|
260
|
+
import pulumi
|
261
|
+
import pulumi_gcp as gcp
|
262
|
+
|
263
|
+
binding = gcp.compute.BackendBucketIamBinding("binding",
|
264
|
+
project=image_backend["project"],
|
265
|
+
name=image_backend["name"],
|
266
|
+
role="roles/viewer",
|
267
|
+
members=["user:jane@example.com"])
|
268
|
+
```
|
269
|
+
|
270
|
+
## compute.BackendBucketIamMember
|
271
|
+
|
272
|
+
```python
|
273
|
+
import pulumi
|
274
|
+
import pulumi_gcp as gcp
|
275
|
+
|
276
|
+
member = gcp.compute.BackendBucketIamMember("member",
|
277
|
+
project=image_backend["project"],
|
278
|
+
name=image_backend["name"],
|
279
|
+
role="roles/viewer",
|
280
|
+
member="user:jane@example.com")
|
281
|
+
```
|
282
|
+
|
165
283
|
## Import
|
166
284
|
|
167
285
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|
@@ -213,6 +331,124 @@ class BackendBucketIamPolicy(pulumi.CustomResource):
|
|
213
331
|
args: BackendBucketIamPolicyArgs,
|
214
332
|
opts: Optional[pulumi.ResourceOptions] = None):
|
215
333
|
"""
|
334
|
+
Three different resources help you manage your IAM policy for Compute Engine BackendBucket. Each of these resources serves a different use case:
|
335
|
+
|
336
|
+
* `compute.BackendBucketIamPolicy`: Authoritative. Sets the IAM policy for the backendbucket and replaces any existing policy already attached.
|
337
|
+
* `compute.BackendBucketIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the backendbucket are preserved.
|
338
|
+
* `compute.BackendBucketIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backendbucket are preserved.
|
339
|
+
|
340
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
341
|
+
|
342
|
+
* `compute.BackendBucketIamPolicy`: Retrieves the IAM policy for the backendbucket
|
343
|
+
|
344
|
+
> **Note:** `compute.BackendBucketIamPolicy` **cannot** be used in conjunction with `compute.BackendBucketIamBinding` and `compute.BackendBucketIamMember` or they will fight over what your policy should be.
|
345
|
+
|
346
|
+
> **Note:** `compute.BackendBucketIamBinding` resources **can be** used in conjunction with `compute.BackendBucketIamMember` resources **only if** they do not grant privilege to the same role.
|
347
|
+
|
348
|
+
## compute.BackendBucketIamPolicy
|
349
|
+
|
350
|
+
```python
|
351
|
+
import pulumi
|
352
|
+
import pulumi_gcp as gcp
|
353
|
+
|
354
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
355
|
+
"role": "roles/viewer",
|
356
|
+
"members": ["user:jane@example.com"],
|
357
|
+
}])
|
358
|
+
policy = gcp.compute.BackendBucketIamPolicy("policy",
|
359
|
+
project=image_backend["project"],
|
360
|
+
name=image_backend["name"],
|
361
|
+
policy_data=admin.policy_data)
|
362
|
+
```
|
363
|
+
|
364
|
+
## compute.BackendBucketIamBinding
|
365
|
+
|
366
|
+
```python
|
367
|
+
import pulumi
|
368
|
+
import pulumi_gcp as gcp
|
369
|
+
|
370
|
+
binding = gcp.compute.BackendBucketIamBinding("binding",
|
371
|
+
project=image_backend["project"],
|
372
|
+
name=image_backend["name"],
|
373
|
+
role="roles/viewer",
|
374
|
+
members=["user:jane@example.com"])
|
375
|
+
```
|
376
|
+
|
377
|
+
## compute.BackendBucketIamMember
|
378
|
+
|
379
|
+
```python
|
380
|
+
import pulumi
|
381
|
+
import pulumi_gcp as gcp
|
382
|
+
|
383
|
+
member = gcp.compute.BackendBucketIamMember("member",
|
384
|
+
project=image_backend["project"],
|
385
|
+
name=image_backend["name"],
|
386
|
+
role="roles/viewer",
|
387
|
+
member="user:jane@example.com")
|
388
|
+
```
|
389
|
+
|
390
|
+
## This resource supports User Project Overrides.
|
391
|
+
|
392
|
+
-
|
393
|
+
|
394
|
+
# IAM policy for Compute Engine BackendBucket
|
395
|
+
|
396
|
+
Three different resources help you manage your IAM policy for Compute Engine BackendBucket. Each of these resources serves a different use case:
|
397
|
+
|
398
|
+
* `compute.BackendBucketIamPolicy`: Authoritative. Sets the IAM policy for the backendbucket and replaces any existing policy already attached.
|
399
|
+
* `compute.BackendBucketIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the backendbucket are preserved.
|
400
|
+
* `compute.BackendBucketIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backendbucket are preserved.
|
401
|
+
|
402
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
403
|
+
|
404
|
+
* `compute.BackendBucketIamPolicy`: Retrieves the IAM policy for the backendbucket
|
405
|
+
|
406
|
+
> **Note:** `compute.BackendBucketIamPolicy` **cannot** be used in conjunction with `compute.BackendBucketIamBinding` and `compute.BackendBucketIamMember` or they will fight over what your policy should be.
|
407
|
+
|
408
|
+
> **Note:** `compute.BackendBucketIamBinding` resources **can be** used in conjunction with `compute.BackendBucketIamMember` resources **only if** they do not grant privilege to the same role.
|
409
|
+
|
410
|
+
## compute.BackendBucketIamPolicy
|
411
|
+
|
412
|
+
```python
|
413
|
+
import pulumi
|
414
|
+
import pulumi_gcp as gcp
|
415
|
+
|
416
|
+
admin = gcp.organizations.get_iam_policy(bindings=[{
|
417
|
+
"role": "roles/viewer",
|
418
|
+
"members": ["user:jane@example.com"],
|
419
|
+
}])
|
420
|
+
policy = gcp.compute.BackendBucketIamPolicy("policy",
|
421
|
+
project=image_backend["project"],
|
422
|
+
name=image_backend["name"],
|
423
|
+
policy_data=admin.policy_data)
|
424
|
+
```
|
425
|
+
|
426
|
+
## compute.BackendBucketIamBinding
|
427
|
+
|
428
|
+
```python
|
429
|
+
import pulumi
|
430
|
+
import pulumi_gcp as gcp
|
431
|
+
|
432
|
+
binding = gcp.compute.BackendBucketIamBinding("binding",
|
433
|
+
project=image_backend["project"],
|
434
|
+
name=image_backend["name"],
|
435
|
+
role="roles/viewer",
|
436
|
+
members=["user:jane@example.com"])
|
437
|
+
```
|
438
|
+
|
439
|
+
## compute.BackendBucketIamMember
|
440
|
+
|
441
|
+
```python
|
442
|
+
import pulumi
|
443
|
+
import pulumi_gcp as gcp
|
444
|
+
|
445
|
+
member = gcp.compute.BackendBucketIamMember("member",
|
446
|
+
project=image_backend["project"],
|
447
|
+
name=image_backend["name"],
|
448
|
+
role="roles/viewer",
|
449
|
+
member="user:jane@example.com")
|
450
|
+
```
|
451
|
+
|
216
452
|
## Import
|
217
453
|
|
218
454
|
For all import syntaxes, the "resource in question" can take any of the following forms:
|