pulumi-gcp 7.0.0rc0__py3-none-any.whl → 7.1.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +118 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +546 -71
- pulumi_gcp/accesscontextmanager/access_level.py +18 -2
- pulumi_gcp/accesscontextmanager/access_level_condition.py +57 -3
- pulumi_gcp/accesscontextmanager/access_levels.py +18 -2
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/authorized_orgs_desc.py +18 -2
- pulumi_gcp/accesscontextmanager/egress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/gcp_user_access_binding.py +18 -2
- pulumi_gcp/accesscontextmanager/ingress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/outputs.py +643 -71
- pulumi_gcp/accesscontextmanager/service_perimeter.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +18 -2
- pulumi_gcp/accesscontextmanager/service_perimeters.py +18 -2
- pulumi_gcp/activedirectory/domain.py +22 -10
- pulumi_gcp/activedirectory/domain_trust.py +18 -2
- pulumi_gcp/activedirectory/peering.py +4 -8
- pulumi_gcp/alloydb/__init__.py +1 -0
- pulumi_gcp/alloydb/_inputs.py +93 -0
- pulumi_gcp/alloydb/backup.py +22 -10
- pulumi_gcp/alloydb/cluster.py +283 -11
- pulumi_gcp/alloydb/instance.py +241 -40
- pulumi_gcp/alloydb/outputs.py +130 -0
- pulumi_gcp/alloydb/user.py +609 -0
- pulumi_gcp/apigateway/api.py +22 -10
- pulumi_gcp/apigateway/api_config.py +22 -10
- pulumi_gcp/apigateway/gateway.py +22 -10
- pulumi_gcp/apigee/addons_config.py +18 -2
- pulumi_gcp/apigee/endpoint_attachment.py +18 -2
- pulumi_gcp/apigee/env_group.py +18 -2
- pulumi_gcp/apigee/env_group_attachment.py +18 -2
- pulumi_gcp/apigee/env_keystore.py +18 -2
- pulumi_gcp/apigee/env_references.py +18 -2
- pulumi_gcp/apigee/environment.py +96 -5
- pulumi_gcp/apigee/flowhook.py +18 -2
- pulumi_gcp/apigee/instance.py +18 -2
- pulumi_gcp/apigee/instance_attachment.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_key_cert_file.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_pkcs12.py +18 -2
- pulumi_gcp/apigee/keystores_aliases_self_signed_cert.py +18 -2
- pulumi_gcp/apigee/nat_address.py +18 -2
- pulumi_gcp/apigee/organization.py +18 -2
- pulumi_gcp/apigee/sharedflow.py +18 -2
- pulumi_gcp/apigee/sharedflow_deployment.py +18 -2
- pulumi_gcp/apigee/sync_authorization.py +18 -2
- pulumi_gcp/apigee/target_server.py +18 -2
- pulumi_gcp/appengine/application.py +20 -4
- pulumi_gcp/appengine/application_url_dispatch_rules.py +18 -2
- pulumi_gcp/appengine/domain_mapping.py +18 -2
- pulumi_gcp/appengine/engine_split_traffic.py +18 -2
- pulumi_gcp/appengine/firewall_rule.py +18 -2
- pulumi_gcp/appengine/flexible_app_version.py +18 -2
- pulumi_gcp/appengine/service_network_settings.py +18 -2
- pulumi_gcp/appengine/standard_app_version.py +18 -2
- pulumi_gcp/artifactregistry/_inputs.py +4 -4
- pulumi_gcp/artifactregistry/outputs.py +4 -4
- pulumi_gcp/artifactregistry/repository.py +24 -12
- pulumi_gcp/artifactregistry/vpcsc_config.py +18 -2
- pulumi_gcp/assuredworkloads/_inputs.py +178 -4
- pulumi_gcp/assuredworkloads/outputs.py +217 -5
- pulumi_gcp/assuredworkloads/workload.py +474 -63
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +152 -0
- pulumi_gcp/backupdisasterrecovery/management_server.py +18 -2
- pulumi_gcp/backupdisasterrecovery/outputs.py +40 -0
- pulumi_gcp/beyondcorp/app_connection.py +22 -10
- pulumi_gcp/beyondcorp/app_connector.py +22 -10
- pulumi_gcp/beyondcorp/app_gateway.py +22 -10
- pulumi_gcp/biglake/catalog.py +18 -2
- pulumi_gcp/biglake/database.py +18 -2
- pulumi_gcp/biglake/table.py +18 -2
- pulumi_gcp/bigquery/__init__.py +1 -0
- pulumi_gcp/bigquery/_inputs.py +94 -8
- pulumi_gcp/bigquery/app_profile.py +18 -2
- pulumi_gcp/bigquery/bi_reservation.py +18 -2
- pulumi_gcp/bigquery/capacity_commitment.py +25 -9
- pulumi_gcp/bigquery/connection.py +56 -2
- pulumi_gcp/bigquery/data_transfer_config.py +18 -2
- pulumi_gcp/bigquery/dataset.py +22 -10
- pulumi_gcp/bigquery/dataset_iam_binding.py +10 -38
- pulumi_gcp/bigquery/dataset_iam_member.py +10 -38
- pulumi_gcp/bigquery/dataset_iam_policy.py +10 -38
- pulumi_gcp/bigquery/get_dataset.py +315 -0
- pulumi_gcp/bigquery/job.py +26 -10
- pulumi_gcp/bigquery/outputs.py +275 -9
- pulumi_gcp/bigquery/reservation.py +18 -2
- pulumi_gcp/bigquery/reservation_assignment.py +18 -2
- pulumi_gcp/bigquery/routine.py +18 -2
- pulumi_gcp/bigquery/table.py +171 -17
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +18 -2
- pulumi_gcp/bigqueryanalyticshub/listing.py +18 -2
- pulumi_gcp/bigquerydatapolicy/data_policy.py +18 -2
- pulumi_gcp/bigtable/instance.py +30 -10
- pulumi_gcp/bigtable/instance_iam_binding.py +12 -20
- pulumi_gcp/bigtable/instance_iam_member.py +12 -20
- pulumi_gcp/bigtable/instance_iam_policy.py +12 -20
- pulumi_gcp/bigtable/table.py +18 -6
- pulumi_gcp/bigtable/table_iam_binding.py +12 -20
- pulumi_gcp/bigtable/table_iam_member.py +12 -20
- pulumi_gcp/bigtable/table_iam_policy.py +12 -20
- pulumi_gcp/billing/account_iam_binding.py +12 -20
- pulumi_gcp/billing/account_iam_member.py +12 -20
- pulumi_gcp/billing/account_iam_policy.py +12 -20
- pulumi_gcp/billing/budget.py +18 -2
- pulumi_gcp/billing/project_info.py +18 -2
- pulumi_gcp/billing/sub_account.py +18 -2
- pulumi_gcp/binaryauthorization/attestor.py +18 -2
- pulumi_gcp/binaryauthorization/policy.py +18 -2
- pulumi_gcp/certificateauthority/authority.py +22 -10
- pulumi_gcp/certificateauthority/ca_pool.py +22 -10
- pulumi_gcp/certificateauthority/certificate.py +22 -10
- pulumi_gcp/certificateauthority/certificate_template.py +22 -10
- pulumi_gcp/certificatemanager/certificate.py +223 -31
- pulumi_gcp/certificatemanager/certificate_issuance_config.py +22 -10
- pulumi_gcp/certificatemanager/certificate_map.py +22 -10
- pulumi_gcp/certificatemanager/certificate_map_entry.py +22 -10
- pulumi_gcp/certificatemanager/dns_authorization.py +22 -10
- pulumi_gcp/certificatemanager/trust_config.py +22 -10
- pulumi_gcp/cloudasset/folder_feed.py +18 -2
- pulumi_gcp/cloudasset/organization_feed.py +18 -2
- pulumi_gcp/cloudasset/project_feed.py +18 -2
- pulumi_gcp/cloudbuild/bitbucket_server_config.py +18 -2
- pulumi_gcp/cloudbuild/trigger.py +18 -2
- pulumi_gcp/cloudbuild/worker_pool.py +18 -2
- pulumi_gcp/cloudbuildv2/connection.py +18 -2
- pulumi_gcp/cloudbuildv2/repository.py +18 -2
- pulumi_gcp/clouddeploy/delivery_pipeline.py +22 -10
- pulumi_gcp/clouddeploy/target.py +22 -10
- pulumi_gcp/cloudfunctions/function.py +26 -14
- pulumi_gcp/cloudfunctions/get_function.py +3 -0
- pulumi_gcp/cloudfunctionsv2/function.py +22 -10
- pulumi_gcp/cloudidentity/__init__.py +1 -0
- pulumi_gcp/cloudidentity/_inputs.py +119 -0
- pulumi_gcp/cloudidentity/get_group_lookup.py +128 -0
- pulumi_gcp/cloudidentity/group.py +50 -2
- pulumi_gcp/cloudidentity/group_membership.py +18 -2
- pulumi_gcp/cloudidentity/outputs.py +156 -0
- pulumi_gcp/cloudids/endpoint.py +18 -2
- pulumi_gcp/cloudrun/_inputs.py +12 -0
- pulumi_gcp/cloudrun/domain_mapping.py +18 -2
- pulumi_gcp/cloudrun/outputs.py +12 -0
- pulumi_gcp/cloudrun/service.py +18 -2
- pulumi_gcp/cloudrunv2/__init__.py +2 -0
- pulumi_gcp/cloudrunv2/get_job.py +394 -0
- pulumi_gcp/cloudrunv2/get_service.py +454 -0
- pulumi_gcp/cloudrunv2/job.py +40 -27
- pulumi_gcp/cloudrunv2/outputs.py +1687 -0
- pulumi_gcp/cloudrunv2/service.py +40 -27
- pulumi_gcp/cloudscheduler/job.py +18 -2
- pulumi_gcp/cloudtasks/queue.py +18 -2
- pulumi_gcp/composer/_inputs.py +17 -0
- pulumi_gcp/composer/environment.py +68 -5
- pulumi_gcp/composer/get_environment.py +13 -3
- pulumi_gcp/composer/outputs.py +26 -0
- pulumi_gcp/compute/__init__.py +2 -0
- pulumi_gcp/compute/_inputs.py +158 -4
- pulumi_gcp/compute/address.py +38 -18
- pulumi_gcp/compute/attached_disk.py +18 -2
- pulumi_gcp/compute/autoscaler.py +18 -2
- pulumi_gcp/compute/backend_bucket.py +18 -2
- pulumi_gcp/compute/backend_service.py +32 -16
- pulumi_gcp/compute/disk.py +22 -10
- pulumi_gcp/compute/disk_resource_policy_attachment.py +18 -2
- pulumi_gcp/compute/external_vpn_gateway.py +22 -10
- pulumi_gcp/compute/firewall.py +18 -2
- pulumi_gcp/compute/firewall_policy_association.py +18 -2
- pulumi_gcp/compute/firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/forwarding_rule.py +377 -276
- pulumi_gcp/compute/get_disk.py +3 -0
- pulumi_gcp/compute/get_forwarding_rule.py +11 -1
- pulumi_gcp/compute/get_image.py +3 -0
- pulumi_gcp/compute/get_network.py +14 -1
- pulumi_gcp/compute/get_networks.py +130 -0
- pulumi_gcp/compute/get_subnetwork.py +14 -1
- pulumi_gcp/compute/global_address.py +18 -2
- pulumi_gcp/compute/global_forwarding_rule.py +127 -108
- pulumi_gcp/compute/global_network_endpoint.py +18 -2
- pulumi_gcp/compute/global_network_endpoint_group.py +18 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +18 -2
- pulumi_gcp/compute/health_check.py +18 -2
- pulumi_gcp/compute/http_health_check.py +18 -2
- pulumi_gcp/compute/https_health_check.py +18 -2
- pulumi_gcp/compute/image.py +22 -10
- pulumi_gcp/compute/instance.py +44 -36
- pulumi_gcp/compute/instance_group.py +24 -8
- pulumi_gcp/compute/instance_group_manager.py +26 -10
- pulumi_gcp/compute/instance_group_named_port.py +18 -2
- pulumi_gcp/compute/instance_settings.py +387 -0
- pulumi_gcp/compute/instance_template.py +29 -21
- pulumi_gcp/compute/interconnect_attachment.py +18 -2
- pulumi_gcp/compute/machine_image.py +18 -2
- pulumi_gcp/compute/managed_ssl_certificate.py +18 -2
- pulumi_gcp/compute/manged_ssl_certificate.py +18 -2
- pulumi_gcp/compute/network.py +18 -2
- pulumi_gcp/compute/network_attachment.py +156 -2
- pulumi_gcp/compute/network_edge_security_service.py +18 -2
- pulumi_gcp/compute/network_endpoint.py +18 -2
- pulumi_gcp/compute/network_endpoint_group.py +32 -16
- pulumi_gcp/compute/network_endpoint_list.py +18 -2
- pulumi_gcp/compute/network_firewall_policy.py +18 -2
- pulumi_gcp/compute/network_firewall_policy_association.py +18 -2
- pulumi_gcp/compute/network_firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/network_peering.py +20 -4
- pulumi_gcp/compute/network_peering_routes_config.py +18 -2
- pulumi_gcp/compute/node_group.py +129 -2
- pulumi_gcp/compute/node_template.py +18 -2
- pulumi_gcp/compute/organization_security_policy.py +18 -2
- pulumi_gcp/compute/organization_security_policy_association.py +18 -2
- pulumi_gcp/compute/organization_security_policy_rule.py +18 -2
- pulumi_gcp/compute/outputs.py +230 -7
- pulumi_gcp/compute/packet_mirroring.py +18 -2
- pulumi_gcp/compute/per_instance_config.py +18 -2
- pulumi_gcp/compute/project_default_network_tier.py +20 -4
- pulumi_gcp/compute/project_metadata.py +20 -4
- pulumi_gcp/compute/project_metadata_item.py +20 -4
- pulumi_gcp/compute/public_advertised_prefix.py +18 -2
- pulumi_gcp/compute/public_delegated_prefix.py +18 -2
- pulumi_gcp/compute/region_autoscaler.py +18 -2
- pulumi_gcp/compute/region_backend_service.py +18 -2
- pulumi_gcp/compute/region_commitment.py +18 -2
- pulumi_gcp/compute/region_disk.py +22 -10
- pulumi_gcp/compute/region_disk_resource_policy_attachment.py +18 -2
- pulumi_gcp/compute/region_health_check.py +18 -2
- pulumi_gcp/compute/region_instance_group_manager.py +20 -4
- pulumi_gcp/compute/region_instance_template.py +29 -21
- pulumi_gcp/compute/region_network_endpoint_group.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy_association.py +18 -2
- pulumi_gcp/compute/region_network_firewall_policy_rule.py +18 -2
- pulumi_gcp/compute/region_per_instance_config.py +18 -2
- pulumi_gcp/compute/region_security_policy.py +18 -2
- pulumi_gcp/compute/region_security_policy_rule.py +18 -2
- pulumi_gcp/compute/region_ssl_certificate.py +18 -2
- pulumi_gcp/compute/region_ssl_policy.py +18 -2
- pulumi_gcp/compute/region_target_http_proxy.py +18 -2
- pulumi_gcp/compute/region_target_https_proxy.py +18 -2
- pulumi_gcp/compute/region_target_tcp_proxy.py +18 -2
- pulumi_gcp/compute/region_url_map.py +18 -2
- pulumi_gcp/compute/reservation.py +18 -2
- pulumi_gcp/compute/resource_policy.py +18 -2
- pulumi_gcp/compute/route.py +18 -2
- pulumi_gcp/compute/router.py +18 -2
- pulumi_gcp/compute/router_interface.py +22 -6
- pulumi_gcp/compute/router_nat.py +18 -2
- pulumi_gcp/compute/router_peer.py +18 -2
- pulumi_gcp/compute/security_policy.py +52 -4
- pulumi_gcp/compute/security_scan_config.py +18 -2
- pulumi_gcp/compute/service_attachment.py +18 -2
- pulumi_gcp/compute/shared_vpc_host_project.py +20 -4
- pulumi_gcp/compute/shared_vpc_service_project.py +20 -4
- pulumi_gcp/compute/snapshot.py +22 -10
- pulumi_gcp/compute/ssl_certificate.py +18 -2
- pulumi_gcp/compute/ssl_policy.py +18 -2
- pulumi_gcp/compute/subnetwork.py +109 -2
- pulumi_gcp/compute/target_grpc_proxy.py +18 -2
- pulumi_gcp/compute/target_http_proxy.py +18 -2
- pulumi_gcp/compute/target_https_proxy.py +181 -16
- pulumi_gcp/compute/target_instance.py +18 -2
- pulumi_gcp/compute/target_pool.py +18 -2
- pulumi_gcp/compute/target_ssl_proxy.py +18 -2
- pulumi_gcp/compute/target_tcp_proxy.py +18 -2
- pulumi_gcp/compute/url_map.py +18 -2
- pulumi_gcp/compute/vpn_gateway.py +18 -2
- pulumi_gcp/compute/vpn_tunnel.py +18 -2
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +299 -54
- pulumi_gcp/container/attached_cluster.py +18 -2
- pulumi_gcp/container/aws_cluster.py +24 -2
- pulumi_gcp/container/aws_node_pool.py +18 -2
- pulumi_gcp/container/azure_client.py +18 -2
- pulumi_gcp/container/azure_cluster.py +24 -2
- pulumi_gcp/container/azure_node_pool.py +18 -2
- pulumi_gcp/container/cluster.py +92 -29
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/node_pool.py +22 -6
- pulumi_gcp/container/outputs.py +384 -52
- pulumi_gcp/containeranalysis/note.py +18 -2
- pulumi_gcp/containeranalysis/occurence.py +18 -2
- pulumi_gcp/databasemigrationservice/__init__.py +1 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +465 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +122 -12
- pulumi_gcp/databasemigrationservice/outputs.py +466 -0
- pulumi_gcp/databasemigrationservice/private_connection.py +672 -0
- pulumi_gcp/datacatalog/entry.py +18 -2
- pulumi_gcp/datacatalog/entry_group.py +18 -2
- pulumi_gcp/datacatalog/policy_tag.py +18 -2
- pulumi_gcp/datacatalog/tag.py +18 -2
- pulumi_gcp/datacatalog/tag_template.py +18 -2
- pulumi_gcp/datacatalog/taxonomy.py +18 -2
- pulumi_gcp/dataflow/job.py +24 -12
- pulumi_gcp/dataflow/pipeline.py +18 -2
- pulumi_gcp/dataform/_inputs.py +78 -21
- pulumi_gcp/dataform/outputs.py +86 -20
- pulumi_gcp/dataform/repository.py +140 -9
- pulumi_gcp/dataform/repository_release_config.py +18 -2
- pulumi_gcp/dataform/repository_workflow_config.py +20 -4
- pulumi_gcp/datafusion/instance.py +22 -10
- pulumi_gcp/dataloss/prevention_deidentify_template.py +18 -2
- pulumi_gcp/dataloss/prevention_inspect_template.py +18 -2
- pulumi_gcp/dataloss/prevention_job_trigger.py +18 -2
- pulumi_gcp/dataloss/prevention_stored_info_type.py +18 -2
- pulumi_gcp/dataplex/asset.py +22 -10
- pulumi_gcp/dataplex/datascan.py +22 -10
- pulumi_gcp/dataplex/lake.py +22 -10
- pulumi_gcp/dataplex/task.py +22 -10
- pulumi_gcp/dataplex/zone.py +22 -10
- pulumi_gcp/dataproc/_inputs.py +148 -0
- pulumi_gcp/dataproc/autoscaling_policy.py +18 -2
- pulumi_gcp/dataproc/cluster.py +2 -2
- pulumi_gcp/dataproc/cluster_iam_binding.py +12 -20
- pulumi_gcp/dataproc/cluster_iam_member.py +12 -20
- pulumi_gcp/dataproc/cluster_iam_policy.py +12 -20
- pulumi_gcp/dataproc/job.py +20 -8
- pulumi_gcp/dataproc/job_iam_binding.py +12 -20
- pulumi_gcp/dataproc/job_iam_member.py +12 -20
- pulumi_gcp/dataproc/job_iam_policy.py +12 -20
- pulumi_gcp/dataproc/metastore_federation.py +22 -10
- pulumi_gcp/dataproc/metastore_service.py +22 -10
- pulumi_gcp/dataproc/outputs.py +175 -0
- pulumi_gcp/dataproc/workflow_template.py +18 -2
- pulumi_gcp/datastore/data_store_index.py +18 -2
- pulumi_gcp/datastream/connection_profile.py +22 -10
- pulumi_gcp/datastream/private_connection.py +22 -10
- pulumi_gcp/datastream/stream.py +22 -10
- pulumi_gcp/deploymentmanager/deployment.py +18 -2
- pulumi_gcp/diagflow/_inputs.py +626 -4
- pulumi_gcp/diagflow/agent.py +18 -2
- pulumi_gcp/diagflow/cx_agent.py +288 -21
- pulumi_gcp/diagflow/cx_entity_type.py +18 -2
- pulumi_gcp/diagflow/cx_environment.py +18 -2
- pulumi_gcp/diagflow/cx_flow.py +309 -4
- pulumi_gcp/diagflow/cx_intent.py +165 -10
- pulumi_gcp/diagflow/cx_page.py +109 -4
- pulumi_gcp/diagflow/cx_security_settings.py +18 -2
- pulumi_gcp/diagflow/cx_test_case.py +18 -2
- pulumi_gcp/diagflow/cx_version.py +18 -2
- pulumi_gcp/diagflow/cx_webhook.py +18 -2
- pulumi_gcp/diagflow/entity_type.py +18 -2
- pulumi_gcp/diagflow/fulfillment.py +18 -2
- pulumi_gcp/diagflow/intent.py +18 -2
- pulumi_gcp/diagflow/outputs.py +722 -5
- pulumi_gcp/dns/get_keys.py +16 -2
- pulumi_gcp/dns/managed_zone.py +22 -10
- pulumi_gcp/dns/policy.py +18 -2
- pulumi_gcp/dns/record_set.py +24 -8
- pulumi_gcp/dns/response_policy.py +18 -2
- pulumi_gcp/dns/response_policy_rule.py +18 -2
- pulumi_gcp/edgecontainer/__init__.py +12 -0
- pulumi_gcp/edgecontainer/_inputs.py +1171 -0
- pulumi_gcp/edgecontainer/cluster.py +1539 -0
- pulumi_gcp/edgecontainer/node_pool.py +1062 -0
- pulumi_gcp/edgecontainer/outputs.py +1204 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +918 -0
- pulumi_gcp/edgenetwork/network.py +18 -2
- pulumi_gcp/edgenetwork/subnet.py +18 -2
- pulumi_gcp/essentialcontacts/contact.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_processor.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_processor_default_version.py +18 -2
- pulumi_gcp/essentialcontacts/document_ai_warehouse_document_schema.py +18 -2
- pulumi_gcp/eventarc/channel.py +18 -2
- pulumi_gcp/eventarc/google_channel_config.py +18 -2
- pulumi_gcp/eventarc/trigger.py +22 -10
- pulumi_gcp/filestore/backup.py +22 -10
- pulumi_gcp/filestore/instance.py +22 -10
- pulumi_gcp/filestore/snapshot.py +22 -10
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +878 -0
- pulumi_gcp/firebase/android_app.py +18 -2
- pulumi_gcp/firebase/apple_app.py +18 -2
- pulumi_gcp/firebase/database_instance.py +18 -2
- pulumi_gcp/firebase/extensions_instance.py +18 -2
- pulumi_gcp/firebase/hosting_channel.py +22 -10
- pulumi_gcp/firebase/hosting_custom_domain.py +1274 -0
- pulumi_gcp/firebase/hosting_release.py +18 -2
- pulumi_gcp/firebase/hosting_site.py +18 -2
- pulumi_gcp/firebase/hosting_version.py +18 -2
- pulumi_gcp/firebase/outputs.py +905 -0
- pulumi_gcp/firebase/project.py +18 -2
- pulumi_gcp/firebase/storage_bucket.py +18 -2
- pulumi_gcp/firebase/web_app.py +18 -2
- pulumi_gcp/firebaserules/release.py +18 -2
- pulumi_gcp/firebaserules/ruleset.py +18 -2
- pulumi_gcp/firestore/__init__.py +1 -0
- pulumi_gcp/firestore/_inputs.py +35 -2
- pulumi_gcp/firestore/backup_schedule.py +547 -0
- pulumi_gcp/firestore/database.py +24 -4
- pulumi_gcp/firestore/document.py +22 -2
- pulumi_gcp/firestore/field.py +27 -13
- pulumi_gcp/firestore/index.py +140 -21
- pulumi_gcp/firestore/outputs.py +31 -2
- pulumi_gcp/folder/access_approval_settings.py +18 -2
- pulumi_gcp/folder/iam_audit_config.py +10 -58
- pulumi_gcp/folder/iam_member.py +10 -58
- pulumi_gcp/folder/iam_policy.py +10 -58
- pulumi_gcp/folder/organization_policy.py +22 -6
- pulumi_gcp/gkebackup/backup_plan.py +22 -10
- pulumi_gcp/gkebackup/restore_plan.py +22 -10
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +18 -2
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +18 -2
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +18 -2
- pulumi_gcp/gkehub/__init__.py +1 -0
- pulumi_gcp/gkehub/_inputs.py +431 -0
- pulumi_gcp/gkehub/feature.py +76 -10
- pulumi_gcp/gkehub/feature_membership.py +22 -2
- pulumi_gcp/gkehub/fleet.py +432 -0
- pulumi_gcp/gkehub/get_membership_iam_policy.py +24 -3
- pulumi_gcp/gkehub/membership.py +120 -16
- pulumi_gcp/gkehub/membership_binding.py +22 -10
- pulumi_gcp/gkehub/membership_iam_binding.py +67 -0
- pulumi_gcp/gkehub/membership_iam_member.py +67 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +67 -0
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +18 -2
- pulumi_gcp/gkehub/namespace.py +22 -10
- pulumi_gcp/gkehub/outputs.py +432 -1
- pulumi_gcp/gkehub/scope.py +22 -10
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +22 -10
- pulumi_gcp/gkeonprem/_inputs.py +17 -31
- pulumi_gcp/gkeonprem/bare_metal_admin_cluster.py +148 -132
- pulumi_gcp/gkeonprem/bare_metal_cluster.py +260 -246
- pulumi_gcp/gkeonprem/bare_metal_node_pool.py +30 -18
- pulumi_gcp/gkeonprem/outputs.py +17 -31
- pulumi_gcp/gkeonprem/v_mware_cluster.py +287 -230
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +30 -18
- pulumi_gcp/healthcare/consent_store.py +22 -10
- pulumi_gcp/healthcare/dataset.py +18 -2
- pulumi_gcp/healthcare/dataset_iam_binding.py +10 -38
- pulumi_gcp/healthcare/dataset_iam_member.py +10 -38
- pulumi_gcp/healthcare/dataset_iam_policy.py +10 -38
- pulumi_gcp/healthcare/dicom_store.py +22 -10
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/dicom_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +10 -30
- pulumi_gcp/healthcare/fhir_store.py +22 -10
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/fhir_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +10 -30
- pulumi_gcp/healthcare/hl7_store.py +22 -10
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +10 -30
- pulumi_gcp/healthcare/hl7_store_iam_member.py +10 -30
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +10 -30
- pulumi_gcp/iam/_inputs.py +20 -0
- pulumi_gcp/iam/access_boundary_policy.py +18 -2
- pulumi_gcp/iam/deny_policy.py +18 -2
- pulumi_gcp/iam/outputs.py +20 -0
- pulumi_gcp/iam/workforce_pool.py +18 -2
- pulumi_gcp/iam/workforce_pool_provider.py +18 -2
- pulumi_gcp/iam/workload_identity_pool.py +18 -2
- pulumi_gcp/iam/workload_identity_pool_provider.py +18 -2
- pulumi_gcp/iap/brand.py +18 -2
- pulumi_gcp/iap/client.py +18 -2
- pulumi_gcp/identityplatform/_inputs.py +92 -0
- pulumi_gcp/identityplatform/config.py +91 -5
- pulumi_gcp/identityplatform/default_supported_idp_config.py +18 -2
- pulumi_gcp/identityplatform/inbound_saml_config.py +18 -2
- pulumi_gcp/identityplatform/oauth_idp_config.py +18 -2
- pulumi_gcp/identityplatform/outputs.py +129 -0
- pulumi_gcp/identityplatform/project_default_config.py +18 -2
- pulumi_gcp/identityplatform/tenant.py +18 -2
- pulumi_gcp/identityplatform/tenant_default_supported_idp_config.py +18 -2
- pulumi_gcp/identityplatform/tenant_inbound_saml_config.py +18 -2
- pulumi_gcp/identityplatform/tenant_oauth_idp_config.py +18 -2
- pulumi_gcp/integrationconnectors/__init__.py +10 -0
- pulumi_gcp/integrationconnectors/_inputs.py +2518 -0
- pulumi_gcp/integrationconnectors/connection.py +1921 -0
- pulumi_gcp/integrationconnectors/outputs.py +2780 -0
- pulumi_gcp/kms/crypto_key.py +22 -10
- pulumi_gcp/kms/crypto_key_iam_binding.py +10 -30
- pulumi_gcp/kms/crypto_key_iam_member.py +10 -30
- pulumi_gcp/kms/crypto_key_iam_policy.py +10 -30
- pulumi_gcp/kms/crypto_key_version.py +18 -2
- pulumi_gcp/kms/key_ring.py +18 -2
- pulumi_gcp/kms/key_ring_iam_binding.py +10 -30
- pulumi_gcp/kms/key_ring_iam_member.py +10 -30
- pulumi_gcp/kms/key_ring_iam_policy.py +10 -30
- pulumi_gcp/kms/key_ring_import_job.py +18 -2
- pulumi_gcp/logging/_inputs.py +160 -0
- pulumi_gcp/logging/billing_account_bucket_config.py +61 -26
- pulumi_gcp/logging/billing_account_exclusion.py +20 -4
- pulumi_gcp/logging/billing_account_sink.py +20 -4
- pulumi_gcp/logging/folder_bucket_config.py +75 -4
- pulumi_gcp/logging/folder_exclusion.py +20 -4
- pulumi_gcp/logging/folder_sink.py +20 -4
- pulumi_gcp/logging/linked_dataset.py +18 -2
- pulumi_gcp/logging/log_view.py +18 -2
- pulumi_gcp/logging/metric.py +18 -2
- pulumi_gcp/logging/organization_bucket_config.py +75 -4
- pulumi_gcp/logging/organization_exclusion.py +20 -4
- pulumi_gcp/logging/organization_sink.py +20 -4
- pulumi_gcp/logging/outputs.py +196 -0
- pulumi_gcp/logging/project_bucket_config.py +59 -134
- pulumi_gcp/logging/project_exclusion.py +20 -4
- pulumi_gcp/logging/project_sink.py +95 -18
- pulumi_gcp/looker/instance.py +18 -2
- pulumi_gcp/memcache/instance.py +22 -10
- pulumi_gcp/ml/engine_model.py +22 -10
- pulumi_gcp/monitoring/_inputs.py +127 -13
- pulumi_gcp/monitoring/alert_policy.py +64 -2
- pulumi_gcp/monitoring/custom_service.py +18 -2
- pulumi_gcp/monitoring/dashboard.py +18 -2
- pulumi_gcp/monitoring/generic_service.py +18 -2
- pulumi_gcp/monitoring/group.py +18 -2
- pulumi_gcp/monitoring/metric_descriptor.py +18 -2
- pulumi_gcp/monitoring/monitored_project.py +18 -2
- pulumi_gcp/monitoring/notification_channel.py +18 -2
- pulumi_gcp/monitoring/outputs.py +158 -13
- pulumi_gcp/monitoring/slo.py +18 -2
- pulumi_gcp/monitoring/uptime_check_config.py +92 -9
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/_inputs.py +185 -0
- pulumi_gcp/networkconnectivity/hub.py +22 -10
- pulumi_gcp/networkconnectivity/outputs.py +189 -0
- pulumi_gcp/networkconnectivity/policy_based_route.py +1003 -0
- pulumi_gcp/networkconnectivity/service_connection_policy.py +22 -10
- pulumi_gcp/networkconnectivity/spoke.py +22 -10
- pulumi_gcp/networkmanagement/connectivity_test.py +22 -10
- pulumi_gcp/networksecurity/address_group.py +22 -10
- pulumi_gcp/networksecurity/authorization_policy.py +22 -10
- pulumi_gcp/networksecurity/client_tls_policy.py +22 -10
- pulumi_gcp/networksecurity/gateway_security_policy.py +18 -2
- pulumi_gcp/networksecurity/gateway_security_policy_rule.py +18 -2
- pulumi_gcp/networksecurity/server_tls_policy.py +92 -10
- pulumi_gcp/networksecurity/tls_inspection_policy.py +18 -2
- pulumi_gcp/networksecurity/url_list.py +18 -2
- pulumi_gcp/networkservices/edge_cache_keyset.py +22 -10
- pulumi_gcp/networkservices/edge_cache_origin.py +22 -10
- pulumi_gcp/networkservices/edge_cache_service.py +22 -10
- pulumi_gcp/networkservices/endpoint_policy.py +22 -10
- pulumi_gcp/networkservices/gateway.py +22 -10
- pulumi_gcp/networkservices/grpc_route.py +22 -10
- pulumi_gcp/networkservices/http_route.py +22 -10
- pulumi_gcp/networkservices/mesh.py +22 -10
- pulumi_gcp/networkservices/service_binding.py +22 -10
- pulumi_gcp/networkservices/tcp_route.py +22 -10
- pulumi_gcp/networkservices/tls_route.py +18 -2
- pulumi_gcp/notebooks/environment.py +18 -2
- pulumi_gcp/notebooks/instance.py +22 -10
- pulumi_gcp/notebooks/location.py +18 -2
- pulumi_gcp/notebooks/runtime.py +18 -2
- pulumi_gcp/organizations/access_approval_settings.py +18 -2
- pulumi_gcp/organizations/folder.py +22 -6
- pulumi_gcp/organizations/iam_member.py +10 -58
- pulumi_gcp/organizations/iam_policy.py +10 -58
- pulumi_gcp/organizations/policy.py +22 -4
- pulumi_gcp/organizations/project.py +24 -12
- pulumi_gcp/orgpolicy/custom_constraint.py +50 -22
- pulumi_gcp/orgpolicy/policy.py +18 -2
- pulumi_gcp/osconfig/guest_policies.py +18 -2
- pulumi_gcp/osconfig/os_policy_assignment.py +18 -2
- pulumi_gcp/osconfig/patch_deployment.py +18 -2
- pulumi_gcp/oslogin/ssh_public_key.py +18 -2
- pulumi_gcp/projects/access_approval_settings.py +18 -2
- pulumi_gcp/projects/api_key.py +18 -2
- pulumi_gcp/projects/iam_audit_config.py +10 -58
- pulumi_gcp/projects/iam_binding.py +10 -58
- pulumi_gcp/projects/iam_custom_role.py +18 -2
- pulumi_gcp/projects/iam_member.py +10 -58
- pulumi_gcp/projects/iam_policy.py +10 -58
- pulumi_gcp/projects/organization_policy.py +24 -8
- pulumi_gcp/projects/service.py +22 -4
- pulumi_gcp/projects/usage_export_bucket.py +20 -4
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/pubsub/__init__.py +4 -0
- pulumi_gcp/pubsub/_inputs.py +80 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +147 -0
- pulumi_gcp/pubsub/lite_reservation.py +18 -2
- pulumi_gcp/pubsub/lite_subscription.py +18 -2
- pulumi_gcp/pubsub/lite_topic.py +18 -2
- pulumi_gcp/pubsub/outputs.py +56 -0
- pulumi_gcp/pubsub/schema.py +18 -2
- pulumi_gcp/pubsub/schema_iam_binding.py +601 -0
- pulumi_gcp/pubsub/schema_iam_member.py +601 -0
- pulumi_gcp/pubsub/schema_iam_policy.py +523 -0
- pulumi_gcp/pubsub/subscription.py +22 -10
- pulumi_gcp/pubsub/subscription_iam_binding.py +12 -20
- pulumi_gcp/pubsub/subscription_iam_member.py +12 -20
- pulumi_gcp/pubsub/subscription_iam_policy.py +12 -20
- pulumi_gcp/pubsub/topic.py +36 -17
- pulumi_gcp/recaptcha/enterprise_key.py +22 -10
- pulumi_gcp/redis/cluster.py +42 -18
- pulumi_gcp/redis/instance.py +22 -58
- pulumi_gcp/resourcemanager/lien.py +18 -2
- pulumi_gcp/runtimeconfig/config.py +26 -6
- pulumi_gcp/runtimeconfig/variable.py +26 -6
- pulumi_gcp/secretmanager/__init__.py +1 -0
- pulumi_gcp/secretmanager/get_secrets.py +133 -0
- pulumi_gcp/secretmanager/outputs.py +354 -0
- pulumi_gcp/secretmanager/secret.py +36 -10
- pulumi_gcp/secretmanager/secret_version.py +18 -2
- pulumi_gcp/securitycenter/folder_custom_module.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_binding.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_member.py +18 -2
- pulumi_gcp/securitycenter/instance_iam_policy.py +18 -2
- pulumi_gcp/securitycenter/mute_config.py +18 -2
- pulumi_gcp/securitycenter/notification_config.py +18 -2
- pulumi_gcp/securitycenter/organization_custom_module.py +18 -2
- pulumi_gcp/securitycenter/project_custom_module.py +18 -2
- pulumi_gcp/securitycenter/source.py +18 -2
- pulumi_gcp/securitycenter/source_iam_binding.py +18 -2
- pulumi_gcp/securitycenter/source_iam_member.py +18 -2
- pulumi_gcp/securitycenter/source_iam_policy.py +18 -2
- pulumi_gcp/serviceaccount/account.py +20 -4
- pulumi_gcp/serviceaccount/iam_binding.py +2 -30
- pulumi_gcp/serviceaccount/iam_member.py +2 -30
- pulumi_gcp/serviceaccount/iam_policy.py +2 -30
- pulumi_gcp/servicedirectory/endpoint.py +18 -2
- pulumi_gcp/servicedirectory/namespace.py +22 -10
- pulumi_gcp/servicedirectory/service.py +18 -2
- pulumi_gcp/servicenetworking/connection.py +22 -6
- pulumi_gcp/servicenetworking/peered_dns_domain.py +18 -6
- pulumi_gcp/serviceusage/consumer_quota_override.py +18 -2
- pulumi_gcp/sourcerepo/repository.py +18 -2
- pulumi_gcp/spanner/_inputs.py +142 -0
- pulumi_gcp/spanner/database.py +18 -2
- pulumi_gcp/spanner/database_iam_binding.py +10 -26
- pulumi_gcp/spanner/database_iam_member.py +10 -26
- pulumi_gcp/spanner/database_iam_policy.py +10 -26
- pulumi_gcp/spanner/get_instance.py +12 -1
- pulumi_gcp/spanner/instance.py +99 -10
- pulumi_gcp/spanner/instance_iam_binding.py +10 -26
- pulumi_gcp/spanner/instance_iam_member.py +10 -26
- pulumi_gcp/spanner/instance_iam_policy.py +10 -26
- pulumi_gcp/spanner/outputs.py +236 -0
- pulumi_gcp/sql/_inputs.py +27 -7
- pulumi_gcp/sql/database.py +18 -2
- pulumi_gcp/sql/database_instance.py +24 -8
- pulumi_gcp/sql/outputs.py +41 -9
- pulumi_gcp/sql/source_representation_instance.py +25 -9
- pulumi_gcp/sql/user.py +38 -8
- pulumi_gcp/storage/_inputs.py +59 -1
- pulumi_gcp/storage/bucket.py +69 -6
- pulumi_gcp/storage/bucket_access_control.py +18 -2
- pulumi_gcp/storage/bucket_object.py +47 -0
- pulumi_gcp/storage/default_object_access_control.py +18 -2
- pulumi_gcp/storage/get_bucket.py +11 -1
- pulumi_gcp/storage/get_bucket_object.py +11 -1
- pulumi_gcp/storage/get_bucket_object_content.py +11 -1
- pulumi_gcp/storage/hmac_key.py +18 -2
- pulumi_gcp/storage/insights_report_config.py +18 -2
- pulumi_gcp/storage/notification.py +20 -4
- pulumi_gcp/storage/object_access_control.py +18 -2
- pulumi_gcp/storage/outputs.py +129 -2
- pulumi_gcp/storage/transfer_agent_pool.py +18 -2
- pulumi_gcp/storage/transfer_job.py +20 -4
- pulumi_gcp/tags/location_tag_binding.py +35 -19
- pulumi_gcp/tags/tag_binding.py +18 -2
- pulumi_gcp/tags/tag_key.py +18 -2
- pulumi_gcp/tags/tag_value.py +18 -2
- pulumi_gcp/tpu/_inputs.py +450 -0
- pulumi_gcp/tpu/node.py +22 -10
- pulumi_gcp/tpu/outputs.py +477 -0
- pulumi_gcp/tpu/v2_vm.py +906 -38
- pulumi_gcp/vertex/_inputs.py +39 -0
- pulumi_gcp/vertex/ai_dataset.py +4 -8
- pulumi_gcp/vertex/ai_endpoint.py +22 -10
- pulumi_gcp/vertex/ai_feature_store.py +22 -10
- pulumi_gcp/vertex/ai_feature_store_entity_type.py +22 -10
- pulumi_gcp/vertex/ai_feature_store_entity_type_feature.py +22 -10
- pulumi_gcp/vertex/ai_index.py +22 -10
- pulumi_gcp/vertex/ai_index_endpoint.py +116 -10
- pulumi_gcp/vertex/ai_metadata_store.py +18 -2
- pulumi_gcp/vertex/ai_tensorboard.py +22 -10
- pulumi_gcp/vertex/outputs.py +50 -0
- pulumi_gcp/vmwareengine/cluster.py +18 -2
- pulumi_gcp/vmwareengine/network.py +18 -2
- pulumi_gcp/vmwareengine/private_cloud.py +18 -2
- pulumi_gcp/vpcaccess/connector.py +18 -2
- pulumi_gcp/workflows/workflow.py +159 -11
- pulumi_gcp/workstations/_inputs.py +23 -0
- pulumi_gcp/workstations/outputs.py +19 -0
- pulumi_gcp/workstations/workstation.py +22 -10
- pulumi_gcp/workstations/workstation_cluster.py +142 -10
- pulumi_gcp/workstations/workstation_config.py +24 -12
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/RECORD +678 -650
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.0.0rc0.dist-info → pulumi_gcp-7.1.0.dist-info}/top_level.txt +0 -0
@@ -204,14 +204,22 @@ class Folder(pulumi.CustomResource):
|
|
204
204
|
|
205
205
|
## Import
|
206
206
|
|
207
|
-
Folders can be imported using the folder's id, e.g.
|
207
|
+
Folders can be imported using the folder's id, e.g. * `folders/{{folder_id}}` * `{{folder_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Folders using one of the formats above. For exampletf import {
|
208
|
+
|
209
|
+
id = "folders/{{folder_id}}"
|
210
|
+
|
211
|
+
to = google_folder.default }
|
212
|
+
|
213
|
+
```sh
|
214
|
+
$ pulumi import gcp:organizations/folder:Folder When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Folders can be imported using one of the formats above. For example
|
215
|
+
```
|
208
216
|
|
209
217
|
```sh
|
210
|
-
$ pulumi import gcp:organizations/folder:Folder
|
218
|
+
$ pulumi import gcp:organizations/folder:Folder default {{folder_id}}
|
211
219
|
```
|
212
220
|
|
213
221
|
```sh
|
214
|
-
$ pulumi import gcp:organizations/folder:Folder
|
222
|
+
$ pulumi import gcp:organizations/folder:Folder default folders/{{folder_id}}
|
215
223
|
```
|
216
224
|
|
217
225
|
:param str resource_name: The name of the resource.
|
@@ -260,14 +268,22 @@ class Folder(pulumi.CustomResource):
|
|
260
268
|
|
261
269
|
## Import
|
262
270
|
|
263
|
-
Folders can be imported using the folder's id, e.g.
|
271
|
+
Folders can be imported using the folder's id, e.g. * `folders/{{folder_id}}` * `{{folder_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Folders using one of the formats above. For exampletf import {
|
272
|
+
|
273
|
+
id = "folders/{{folder_id}}"
|
274
|
+
|
275
|
+
to = google_folder.default }
|
276
|
+
|
277
|
+
```sh
|
278
|
+
$ pulumi import gcp:organizations/folder:Folder When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Folders can be imported using one of the formats above. For example
|
279
|
+
```
|
264
280
|
|
265
281
|
```sh
|
266
|
-
$ pulumi import gcp:organizations/folder:Folder
|
282
|
+
$ pulumi import gcp:organizations/folder:Folder default {{folder_id}}
|
267
283
|
```
|
268
284
|
|
269
285
|
```sh
|
270
|
-
$ pulumi import gcp:organizations/folder:Folder
|
286
|
+
$ pulumi import gcp:organizations/folder:Folder default folders/{{folder_id}}
|
271
287
|
```
|
272
288
|
|
273
289
|
:param str resource_name: The name of the resource.
|
@@ -325,42 +325,18 @@ class IAMMember(pulumi.CustomResource):
|
|
325
325
|
|
326
326
|
## Import
|
327
327
|
|
328
|
-
|
328
|
+
### Importing Audit Configs An audit config can be imported into a `google_organization_iam_audit_config` resource using the resource's `org_id` and the `service`, e.g* `"{{org_id}} foo.googleapis.com"` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import audit configstf import {
|
329
329
|
|
330
|
-
|
330
|
+
id = "{{org_id}} foo.googleapis.com"
|
331
331
|
|
332
|
-
|
333
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember my_organization "your-orgid roles/viewer user:foo@example.com"
|
334
|
-
```
|
335
|
-
|
336
|
-
IAM binding imports use space-delimited identifiers; the resource in question and the role.
|
337
|
-
|
338
|
-
This binding resource can be imported using the `org_id` and role, e.g.
|
332
|
+
to = google_organization_iam_audit_config.default }
|
339
333
|
|
340
334
|
```sh
|
341
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember
|
335
|
+
$ pulumi import gcp:organizations/iAMMember:IAMMember The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
342
336
|
```
|
343
337
|
|
344
|
-
IAM policy imports use the identifier of the resource in question.
|
345
|
-
|
346
|
-
This policy resource can be imported using the `org_id`.
|
347
|
-
|
348
|
-
```sh
|
349
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember my_organization your-org-id
|
350
|
-
```
|
351
|
-
|
352
|
-
IAM audit config imports use the identifier of the resource in question and the service, e.g.
|
353
|
-
|
354
|
-
```sh
|
355
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember my_organization "your-organization-id foo.googleapis.com"
|
356
|
-
```
|
357
|
-
|
358
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
359
|
-
|
360
|
-
full name of the custom role, e.g. `organizations/{{org_id}}/roles/{{role_id}}`. -> **Conditional IAM Bindings**If you're importing a IAM binding with a condition block, make sure
|
361
|
-
|
362
338
|
```sh
|
363
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember
|
339
|
+
$ pulumi import gcp:organizations/iAMMember:IAMMember default "{{org_id}} foo.googleapis.com"
|
364
340
|
```
|
365
341
|
|
366
342
|
:param str resource_name: The name of the resource.
|
@@ -519,42 +495,18 @@ class IAMMember(pulumi.CustomResource):
|
|
519
495
|
|
520
496
|
## Import
|
521
497
|
|
522
|
-
|
498
|
+
### Importing Audit Configs An audit config can be imported into a `google_organization_iam_audit_config` resource using the resource's `org_id` and the `service`, e.g* `"{{org_id}} foo.googleapis.com"` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import audit configstf import {
|
523
499
|
|
524
|
-
|
500
|
+
id = "{{org_id}} foo.googleapis.com"
|
525
501
|
|
526
|
-
|
527
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember my_organization "your-orgid roles/viewer user:foo@example.com"
|
528
|
-
```
|
529
|
-
|
530
|
-
IAM binding imports use space-delimited identifiers; the resource in question and the role.
|
531
|
-
|
532
|
-
This binding resource can be imported using the `org_id` and role, e.g.
|
502
|
+
to = google_organization_iam_audit_config.default }
|
533
503
|
|
534
504
|
```sh
|
535
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember
|
505
|
+
$ pulumi import gcp:organizations/iAMMember:IAMMember The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
536
506
|
```
|
537
507
|
|
538
|
-
IAM policy imports use the identifier of the resource in question.
|
539
|
-
|
540
|
-
This policy resource can be imported using the `org_id`.
|
541
|
-
|
542
|
-
```sh
|
543
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember my_organization your-org-id
|
544
|
-
```
|
545
|
-
|
546
|
-
IAM audit config imports use the identifier of the resource in question and the service, e.g.
|
547
|
-
|
548
|
-
```sh
|
549
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember my_organization "your-organization-id foo.googleapis.com"
|
550
|
-
```
|
551
|
-
|
552
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
553
|
-
|
554
|
-
full name of the custom role, e.g. `organizations/{{org_id}}/roles/{{role_id}}`. -> **Conditional IAM Bindings**If you're importing a IAM binding with a condition block, make sure
|
555
|
-
|
556
508
|
```sh
|
557
|
-
$ pulumi import gcp:organizations/iAMMember:IAMMember
|
509
|
+
$ pulumi import gcp:organizations/iAMMember:IAMMember default "{{org_id}} foo.googleapis.com"
|
558
510
|
```
|
559
511
|
|
560
512
|
:param str resource_name: The name of the resource.
|
@@ -282,42 +282,18 @@ class IAMPolicy(pulumi.CustomResource):
|
|
282
282
|
|
283
283
|
## Import
|
284
284
|
|
285
|
-
|
285
|
+
### Importing Audit Configs An audit config can be imported into a `google_organization_iam_audit_config` resource using the resource's `org_id` and the `service`, e.g* `"{{org_id}} foo.googleapis.com"` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import audit configstf import {
|
286
286
|
|
287
|
-
|
287
|
+
id = "{{org_id}} foo.googleapis.com"
|
288
288
|
|
289
|
-
|
290
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy my_organization "your-orgid roles/viewer user:foo@example.com"
|
291
|
-
```
|
292
|
-
|
293
|
-
IAM binding imports use space-delimited identifiers; the resource in question and the role.
|
294
|
-
|
295
|
-
This binding resource can be imported using the `org_id` and role, e.g.
|
289
|
+
to = google_organization_iam_audit_config.default }
|
296
290
|
|
297
291
|
```sh
|
298
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy
|
292
|
+
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
299
293
|
```
|
300
294
|
|
301
|
-
IAM policy imports use the identifier of the resource in question.
|
302
|
-
|
303
|
-
This policy resource can be imported using the `org_id`.
|
304
|
-
|
305
|
-
```sh
|
306
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy my_organization your-org-id
|
307
|
-
```
|
308
|
-
|
309
|
-
IAM audit config imports use the identifier of the resource in question and the service, e.g.
|
310
|
-
|
311
|
-
```sh
|
312
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy my_organization "your-organization-id foo.googleapis.com"
|
313
|
-
```
|
314
|
-
|
315
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
316
|
-
|
317
|
-
full name of the custom role, e.g. `organizations/{{org_id}}/roles/{{role_id}}`. -> **Conditional IAM Bindings**If you're importing a IAM binding with a condition block, make sure
|
318
|
-
|
319
295
|
```sh
|
320
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy
|
296
|
+
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy default "{{org_id}} foo.googleapis.com"
|
321
297
|
```
|
322
298
|
|
323
299
|
:param str resource_name: The name of the resource.
|
@@ -479,42 +455,18 @@ class IAMPolicy(pulumi.CustomResource):
|
|
479
455
|
|
480
456
|
## Import
|
481
457
|
|
482
|
-
|
458
|
+
### Importing Audit Configs An audit config can be imported into a `google_organization_iam_audit_config` resource using the resource's `org_id` and the `service`, e.g* `"{{org_id}} foo.googleapis.com"` An [`import` block](https://developer.hashicorp.com/terraform/language/import) (Terraform v1.5.0 and later) can be used to import audit configstf import {
|
483
459
|
|
484
|
-
|
460
|
+
id = "{{org_id}} foo.googleapis.com"
|
485
461
|
|
486
|
-
|
487
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy my_organization "your-orgid roles/viewer user:foo@example.com"
|
488
|
-
```
|
489
|
-
|
490
|
-
IAM binding imports use space-delimited identifiers; the resource in question and the role.
|
491
|
-
|
492
|
-
This binding resource can be imported using the `org_id` and role, e.g.
|
462
|
+
to = google_organization_iam_audit_config.default }
|
493
463
|
|
494
464
|
```sh
|
495
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy
|
465
|
+
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can also be used
|
496
466
|
```
|
497
467
|
|
498
|
-
IAM policy imports use the identifier of the resource in question.
|
499
|
-
|
500
|
-
This policy resource can be imported using the `org_id`.
|
501
|
-
|
502
|
-
```sh
|
503
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy my_organization your-org-id
|
504
|
-
```
|
505
|
-
|
506
|
-
IAM audit config imports use the identifier of the resource in question and the service, e.g.
|
507
|
-
|
508
|
-
```sh
|
509
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy my_organization "your-organization-id foo.googleapis.com"
|
510
|
-
```
|
511
|
-
|
512
|
-
-> **Custom Roles**If you're importing a IAM resource with a custom role, make sure to use the
|
513
|
-
|
514
|
-
full name of the custom role, e.g. `organizations/{{org_id}}/roles/{{role_id}}`. -> **Conditional IAM Bindings**If you're importing a IAM binding with a condition block, make sure
|
515
|
-
|
516
468
|
```sh
|
517
|
-
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy
|
469
|
+
$ pulumi import gcp:organizations/iAMPolicy:IAMPolicy default "{{org_id}} foo.googleapis.com"
|
518
470
|
```
|
519
471
|
|
520
472
|
:param str resource_name: The name of the resource.
|
@@ -371,11 +371,20 @@ class Policy(pulumi.CustomResource):
|
|
371
371
|
|
372
372
|
## Import
|
373
373
|
|
374
|
-
Organization Policies can be imported using the `org_id` and the `constraint`, e.g.
|
374
|
+
Organization Policies can be imported using the `org_id` and the `constraint`, e.g. * `{{org_id}}/constraints/{{constraint}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Organization Policies using one of the formats above. For exampletf import {
|
375
|
+
|
376
|
+
id = "{{org_id}}/constraints/{{constraint}}"
|
377
|
+
|
378
|
+
to = google_organization_policy.default }
|
379
|
+
|
380
|
+
```sh
|
381
|
+
$ pulumi import gcp:organizations/policy:Policy When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Organization Policies can be imported using one of the formats above. For example
|
382
|
+
```
|
375
383
|
|
376
384
|
```sh
|
377
|
-
$ pulumi import gcp:organizations/policy:Policy
|
385
|
+
$ pulumi import gcp:organizations/policy:Policy default {{org_id}}/constraints/{{constraint}}
|
378
386
|
```
|
387
|
+
|
379
388
|
It is all right if the constraint contains a slash, as in the example above.
|
380
389
|
|
381
390
|
:param str resource_name: The name of the resource.
|
@@ -477,11 +486,20 @@ class Policy(pulumi.CustomResource):
|
|
477
486
|
|
478
487
|
## Import
|
479
488
|
|
480
|
-
Organization Policies can be imported using the `org_id` and the `constraint`, e.g.
|
489
|
+
Organization Policies can be imported using the `org_id` and the `constraint`, e.g. * `{{org_id}}/constraints/{{constraint}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Organization Policies using one of the formats above. For exampletf import {
|
490
|
+
|
491
|
+
id = "{{org_id}}/constraints/{{constraint}}"
|
492
|
+
|
493
|
+
to = google_organization_policy.default }
|
494
|
+
|
495
|
+
```sh
|
496
|
+
$ pulumi import gcp:organizations/policy:Policy When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Organization Policies can be imported using one of the formats above. For example
|
497
|
+
```
|
481
498
|
|
482
499
|
```sh
|
483
|
-
$ pulumi import gcp:organizations/policy:Policy
|
500
|
+
$ pulumi import gcp:organizations/policy:Policy default {{org_id}}/constraints/{{constraint}}
|
484
501
|
```
|
502
|
+
|
485
503
|
It is all right if the constraint contains a slash, as in the example above.
|
486
504
|
|
487
505
|
:param str resource_name: The name of the resource.
|
@@ -206,8 +206,7 @@ class _ProjectState:
|
|
206
206
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
207
207
|
See [Google Cloud Billing API Access Control](https://cloud.google.com/billing/docs/how-to/billing-access)
|
208
208
|
for more details.
|
209
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
210
|
-
clients and services.
|
209
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
211
210
|
:param pulumi.Input[str] folder_id: The numeric ID of the folder this project should be
|
212
211
|
created under. Only one of `org_id` or `folder_id` may be
|
213
212
|
specified. If the `folder_id` is specified, then the project is
|
@@ -286,8 +285,7 @@ class _ProjectState:
|
|
286
285
|
@pulumi.getter(name="effectiveLabels")
|
287
286
|
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
288
287
|
"""
|
289
|
-
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
290
|
-
clients and services.
|
288
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
291
289
|
"""
|
292
290
|
return pulumi.get(self, "effective_labels")
|
293
291
|
|
@@ -464,10 +462,18 @@ class Project(pulumi.CustomResource):
|
|
464
462
|
|
465
463
|
## Import
|
466
464
|
|
467
|
-
Projects can be imported using the `project_id`, e.g.
|
465
|
+
Projects can be imported using the `project_id`, e.g. * `{{project_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Projects using one of the formats above. For exampletf import {
|
466
|
+
|
467
|
+
id = "{{project_id}}"
|
468
|
+
|
469
|
+
to = google_project.default }
|
470
|
+
|
471
|
+
```sh
|
472
|
+
$ pulumi import gcp:organizations/project:Project When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Projects can be imported using one of the formats above. For example
|
473
|
+
```
|
468
474
|
|
469
475
|
```sh
|
470
|
-
$ pulumi import gcp:organizations/project:Project
|
476
|
+
$ pulumi import gcp:organizations/project:Project default {{project_id}}
|
471
477
|
```
|
472
478
|
|
473
479
|
:param str resource_name: The name of the resource.
|
@@ -551,10 +557,18 @@ class Project(pulumi.CustomResource):
|
|
551
557
|
|
552
558
|
## Import
|
553
559
|
|
554
|
-
Projects can be imported using the `project_id`, e.g.
|
560
|
+
Projects can be imported using the `project_id`, e.g. * `{{project_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Projects using one of the formats above. For exampletf import {
|
561
|
+
|
562
|
+
id = "{{project_id}}"
|
563
|
+
|
564
|
+
to = google_project.default }
|
565
|
+
|
566
|
+
```sh
|
567
|
+
$ pulumi import gcp:organizations/project:Project When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Projects can be imported using one of the formats above. For example
|
568
|
+
```
|
555
569
|
|
556
570
|
```sh
|
557
|
-
$ pulumi import gcp:organizations/project:Project
|
571
|
+
$ pulumi import gcp:organizations/project:Project default {{project_id}}
|
558
572
|
```
|
559
573
|
|
560
574
|
:param str resource_name: The name of the resource.
|
@@ -640,8 +654,7 @@ class Project(pulumi.CustomResource):
|
|
640
654
|
must have at mininum Billing Account User privileges (`roles/billing.user`) on the billing account.
|
641
655
|
See [Google Cloud Billing API Access Control](https://cloud.google.com/billing/docs/how-to/billing-access)
|
642
656
|
for more details.
|
643
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
644
|
-
clients and services.
|
657
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
645
658
|
:param pulumi.Input[str] folder_id: The numeric ID of the folder this project should be
|
646
659
|
created under. Only one of `org_id` or `folder_id` may be
|
647
660
|
specified. If the `folder_id` is specified, then the project is
|
@@ -706,8 +719,7 @@ class Project(pulumi.CustomResource):
|
|
706
719
|
@pulumi.getter(name="effectiveLabels")
|
707
720
|
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
708
721
|
"""
|
709
|
-
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through
|
710
|
-
clients and services.
|
722
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
711
723
|
"""
|
712
724
|
return pulumi.get(self, "effective_labels")
|
713
725
|
|
@@ -325,6 +325,15 @@ class CustomConstraint(pulumi.CustomResource):
|
|
325
325
|
resource_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
326
326
|
__props__=None):
|
327
327
|
"""
|
328
|
+
Custom constraints are created by administrators to provide more granular and customizable control over the specific fields that are restricted by your organization policies.
|
329
|
+
|
330
|
+
To get more information about CustomConstraint, see:
|
331
|
+
|
332
|
+
* [API documentation](https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.constraints)
|
333
|
+
* How-to Guides
|
334
|
+
* [Official Documentation](https://cloud.google.com/resource-manager/docs/organization-policy/creating-managing-custom-constraints)
|
335
|
+
* [Supported Services](https://cloud.google.com/resource-manager/docs/organization-policy/custom-constraint-supported-services)
|
336
|
+
|
328
337
|
## Example Usage
|
329
338
|
### Org Policy Custom Constraint Basic
|
330
339
|
|
@@ -333,15 +342,14 @@ class CustomConstraint(pulumi.CustomResource):
|
|
333
342
|
import pulumi_gcp as gcp
|
334
343
|
|
335
344
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
336
|
-
parent="organizations/123456789",
|
337
345
|
action_type="ALLOW",
|
338
346
|
condition="resource.management.autoUpgrade == false",
|
339
347
|
method_types=[
|
340
348
|
"CREATE",
|
341
349
|
"UPDATE",
|
342
350
|
],
|
343
|
-
|
344
|
-
|
351
|
+
parent="organizations/123456789",
|
352
|
+
resource_types=["container.googleapis.com/NodePool"])
|
345
353
|
```
|
346
354
|
### Org Policy Custom Constraint Full
|
347
355
|
|
@@ -350,30 +358,36 @@ class CustomConstraint(pulumi.CustomResource):
|
|
350
358
|
import pulumi_gcp as gcp
|
351
359
|
|
352
360
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
353
|
-
parent="organizations/123456789",
|
354
|
-
display_name="Disable GKE auto upgrade",
|
355
|
-
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
356
361
|
action_type="ALLOW",
|
357
362
|
condition="resource.management.autoUpgrade == false",
|
363
|
+
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
364
|
+
display_name="Disable GKE auto upgrade",
|
358
365
|
method_types=[
|
359
366
|
"CREATE",
|
360
367
|
"UPDATE",
|
361
368
|
],
|
362
|
-
|
363
|
-
|
369
|
+
parent="organizations/123456789",
|
370
|
+
resource_types=["container.googleapis.com/NodePool"])
|
364
371
|
bool = gcp.orgpolicy.Policy("bool",
|
365
372
|
parent="organizations/123456789",
|
366
373
|
spec=gcp.orgpolicy.PolicySpecArgs(
|
367
374
|
rules=[gcp.orgpolicy.PolicySpecRuleArgs(
|
368
375
|
enforce="TRUE",
|
369
376
|
)],
|
370
|
-
)
|
371
|
-
opts=pulumi.ResourceOptions(provider=google_beta))
|
377
|
+
))
|
372
378
|
```
|
373
379
|
|
374
380
|
## Import
|
375
381
|
|
376
|
-
CustomConstraint can be imported using any of these accepted formats
|
382
|
+
CustomConstraint can be imported using any of these accepted formats* `{{parent}}/customConstraints/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import CustomConstraint using one of the formats above. For exampletf import {
|
383
|
+
|
384
|
+
id = "{{parent}}/customConstraints/{{name}}"
|
385
|
+
|
386
|
+
to = google_org_policy_custom_constraint.default }
|
387
|
+
|
388
|
+
```sh
|
389
|
+
$ pulumi import gcp:orgpolicy/customConstraint:CustomConstraint When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), CustomConstraint can be imported using one of the formats above. For example
|
390
|
+
```
|
377
391
|
|
378
392
|
```sh
|
379
393
|
$ pulumi import gcp:orgpolicy/customConstraint:CustomConstraint default {{parent}}/customConstraints/{{name}}
|
@@ -401,6 +415,15 @@ class CustomConstraint(pulumi.CustomResource):
|
|
401
415
|
args: CustomConstraintArgs,
|
402
416
|
opts: Optional[pulumi.ResourceOptions] = None):
|
403
417
|
"""
|
418
|
+
Custom constraints are created by administrators to provide more granular and customizable control over the specific fields that are restricted by your organization policies.
|
419
|
+
|
420
|
+
To get more information about CustomConstraint, see:
|
421
|
+
|
422
|
+
* [API documentation](https://cloud.google.com/resource-manager/docs/reference/orgpolicy/rest/v2/organizations.constraints)
|
423
|
+
* How-to Guides
|
424
|
+
* [Official Documentation](https://cloud.google.com/resource-manager/docs/organization-policy/creating-managing-custom-constraints)
|
425
|
+
* [Supported Services](https://cloud.google.com/resource-manager/docs/organization-policy/custom-constraint-supported-services)
|
426
|
+
|
404
427
|
## Example Usage
|
405
428
|
### Org Policy Custom Constraint Basic
|
406
429
|
|
@@ -409,15 +432,14 @@ class CustomConstraint(pulumi.CustomResource):
|
|
409
432
|
import pulumi_gcp as gcp
|
410
433
|
|
411
434
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
412
|
-
parent="organizations/123456789",
|
413
435
|
action_type="ALLOW",
|
414
436
|
condition="resource.management.autoUpgrade == false",
|
415
437
|
method_types=[
|
416
438
|
"CREATE",
|
417
439
|
"UPDATE",
|
418
440
|
],
|
419
|
-
|
420
|
-
|
441
|
+
parent="organizations/123456789",
|
442
|
+
resource_types=["container.googleapis.com/NodePool"])
|
421
443
|
```
|
422
444
|
### Org Policy Custom Constraint Full
|
423
445
|
|
@@ -426,30 +448,36 @@ class CustomConstraint(pulumi.CustomResource):
|
|
426
448
|
import pulumi_gcp as gcp
|
427
449
|
|
428
450
|
constraint = gcp.orgpolicy.CustomConstraint("constraint",
|
429
|
-
parent="organizations/123456789",
|
430
|
-
display_name="Disable GKE auto upgrade",
|
431
|
-
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
432
451
|
action_type="ALLOW",
|
433
452
|
condition="resource.management.autoUpgrade == false",
|
453
|
+
description="Only allow GKE NodePool resource to be created or updated if AutoUpgrade is not enabled where this custom constraint is enforced.",
|
454
|
+
display_name="Disable GKE auto upgrade",
|
434
455
|
method_types=[
|
435
456
|
"CREATE",
|
436
457
|
"UPDATE",
|
437
458
|
],
|
438
|
-
|
439
|
-
|
459
|
+
parent="organizations/123456789",
|
460
|
+
resource_types=["container.googleapis.com/NodePool"])
|
440
461
|
bool = gcp.orgpolicy.Policy("bool",
|
441
462
|
parent="organizations/123456789",
|
442
463
|
spec=gcp.orgpolicy.PolicySpecArgs(
|
443
464
|
rules=[gcp.orgpolicy.PolicySpecRuleArgs(
|
444
465
|
enforce="TRUE",
|
445
466
|
)],
|
446
|
-
)
|
447
|
-
opts=pulumi.ResourceOptions(provider=google_beta))
|
467
|
+
))
|
448
468
|
```
|
449
469
|
|
450
470
|
## Import
|
451
471
|
|
452
|
-
CustomConstraint can be imported using any of these accepted formats
|
472
|
+
CustomConstraint can be imported using any of these accepted formats* `{{parent}}/customConstraints/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import CustomConstraint using one of the formats above. For exampletf import {
|
473
|
+
|
474
|
+
id = "{{parent}}/customConstraints/{{name}}"
|
475
|
+
|
476
|
+
to = google_org_policy_custom_constraint.default }
|
477
|
+
|
478
|
+
```sh
|
479
|
+
$ pulumi import gcp:orgpolicy/customConstraint:CustomConstraint When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), CustomConstraint can be imported using one of the formats above. For example
|
480
|
+
```
|
453
481
|
|
454
482
|
```sh
|
455
483
|
$ pulumi import gcp:orgpolicy/customConstraint:CustomConstraint default {{parent}}/customConstraints/{{name}}
|
pulumi_gcp/orgpolicy/policy.py
CHANGED
@@ -238,7 +238,15 @@ class Policy(pulumi.CustomResource):
|
|
238
238
|
|
239
239
|
## Import
|
240
240
|
|
241
|
-
Policy can be imported using any of these accepted formats
|
241
|
+
Policy can be imported using any of these accepted formats* `{{parent}}/policies/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Policy using one of the formats above. For exampletf import {
|
242
|
+
|
243
|
+
id = "{{parent}}/policies/{{name}}"
|
244
|
+
|
245
|
+
to = google_org_policy_policy.default }
|
246
|
+
|
247
|
+
```sh
|
248
|
+
$ pulumi import gcp:orgpolicy/policy:Policy When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Policy can be imported using one of the formats above. For example
|
249
|
+
```
|
242
250
|
|
243
251
|
```sh
|
244
252
|
$ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/policies/{{name}}
|
@@ -349,7 +357,15 @@ class Policy(pulumi.CustomResource):
|
|
349
357
|
|
350
358
|
## Import
|
351
359
|
|
352
|
-
Policy can be imported using any of these accepted formats
|
360
|
+
Policy can be imported using any of these accepted formats* `{{parent}}/policies/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import Policy using one of the formats above. For exampletf import {
|
361
|
+
|
362
|
+
id = "{{parent}}/policies/{{name}}"
|
363
|
+
|
364
|
+
to = google_org_policy_policy.default }
|
365
|
+
|
366
|
+
```sh
|
367
|
+
$ pulumi import gcp:orgpolicy/policy:Policy When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), Policy can be imported using one of the formats above. For example
|
368
|
+
```
|
353
369
|
|
354
370
|
```sh
|
355
371
|
$ pulumi import gcp:orgpolicy/policy:Policy default {{parent}}/policies/{{name}}
|
@@ -570,7 +570,15 @@ class GuestPolicies(pulumi.CustomResource):
|
|
570
570
|
|
571
571
|
## Import
|
572
572
|
|
573
|
-
GuestPolicies can be imported using any of these accepted formats
|
573
|
+
GuestPolicies can be imported using any of these accepted formats* `projects/{{project}}/guestPolicies/{{guest_policy_id}}` * `{{project}}/{{guest_policy_id}}` * `{{guest_policy_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import GuestPolicies using one of the formats above. For exampletf import {
|
574
|
+
|
575
|
+
id = "projects/{{project}}/guestPolicies/{{guest_policy_id}}"
|
576
|
+
|
577
|
+
to = google_os_config_guest_policies.default }
|
578
|
+
|
579
|
+
```sh
|
580
|
+
$ pulumi import gcp:osconfig/guestPolicies:GuestPolicies When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), GuestPolicies can be imported using one of the formats above. For example
|
581
|
+
```
|
574
582
|
|
575
583
|
```sh
|
576
584
|
$ pulumi import gcp:osconfig/guestPolicies:GuestPolicies default projects/{{project}}/guestPolicies/{{guest_policy_id}}
|
@@ -768,7 +776,15 @@ class GuestPolicies(pulumi.CustomResource):
|
|
768
776
|
|
769
777
|
## Import
|
770
778
|
|
771
|
-
GuestPolicies can be imported using any of these accepted formats
|
779
|
+
GuestPolicies can be imported using any of these accepted formats* `projects/{{project}}/guestPolicies/{{guest_policy_id}}` * `{{project}}/{{guest_policy_id}}` * `{{guest_policy_id}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import GuestPolicies using one of the formats above. For exampletf import {
|
780
|
+
|
781
|
+
id = "projects/{{project}}/guestPolicies/{{guest_policy_id}}"
|
782
|
+
|
783
|
+
to = google_os_config_guest_policies.default }
|
784
|
+
|
785
|
+
```sh
|
786
|
+
$ pulumi import gcp:osconfig/guestPolicies:GuestPolicies When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), GuestPolicies can be imported using one of the formats above. For example
|
787
|
+
```
|
772
788
|
|
773
789
|
```sh
|
774
790
|
$ pulumi import gcp:osconfig/guestPolicies:GuestPolicies default projects/{{project}}/guestPolicies/{{guest_policy_id}}
|
@@ -580,7 +580,15 @@ class OsPolicyAssignment(pulumi.CustomResource):
|
|
580
580
|
|
581
581
|
## Import
|
582
582
|
|
583
|
-
OSPolicyAssignment can be imported using any of these accepted formats
|
583
|
+
OSPolicyAssignment can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import OSPolicyAssignment using one of the formats above. For exampletf import {
|
584
|
+
|
585
|
+
id = "projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}"
|
586
|
+
|
587
|
+
to = google_os_config_os_policy_assignment.default }
|
588
|
+
|
589
|
+
```sh
|
590
|
+
$ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), OSPolicyAssignment can be imported using one of the formats above. For example
|
591
|
+
```
|
584
592
|
|
585
593
|
```sh
|
586
594
|
$ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment default projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}
|
@@ -723,7 +731,15 @@ class OsPolicyAssignment(pulumi.CustomResource):
|
|
723
731
|
|
724
732
|
## Import
|
725
733
|
|
726
|
-
OSPolicyAssignment can be imported using any of these accepted formats
|
734
|
+
OSPolicyAssignment can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import OSPolicyAssignment using one of the formats above. For exampletf import {
|
735
|
+
|
736
|
+
id = "projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}"
|
737
|
+
|
738
|
+
to = google_os_config_os_policy_assignment.default }
|
739
|
+
|
740
|
+
```sh
|
741
|
+
$ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), OSPolicyAssignment can be imported using one of the formats above. For example
|
742
|
+
```
|
727
743
|
|
728
744
|
```sh
|
729
745
|
$ pulumi import gcp:osconfig/osPolicyAssignment:OsPolicyAssignment default projects/{{project}}/locations/{{location}}/osPolicyAssignments/{{name}}
|