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
@@ -1045,6 +1045,8 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1045
1045
|
upgrade_policy: Optional[pulumi.Input[pulumi.InputType['BareMetalClusterUpgradePolicyArgs']]] = None,
|
1046
1046
|
__props__=None):
|
1047
1047
|
"""
|
1048
|
+
A Google Bare Metal User Cluster.
|
1049
|
+
|
1048
1050
|
## Example Usage
|
1049
1051
|
### Gkeonprem Bare Metal Cluster Basic
|
1050
1052
|
|
@@ -1053,38 +1055,23 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1053
1055
|
import pulumi_gcp as gcp
|
1054
1056
|
|
1055
1057
|
cluster_basic = gcp.gkeonprem.BareMetalCluster("cluster-basic",
|
1056
|
-
location="us-west1",
|
1057
1058
|
admin_cluster_membership="projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
|
1058
1059
|
bare_metal_version="1.12.3",
|
1059
|
-
network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
|
1060
|
-
island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
|
1061
|
-
service_address_cidr_blocks=["172.26.0.0/16"],
|
1062
|
-
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1063
|
-
),
|
1064
|
-
),
|
1065
1060
|
control_plane=gcp.gkeonprem.BareMetalClusterControlPlaneArgs(
|
1066
1061
|
control_plane_node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs(
|
1067
1062
|
node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
|
1068
1063
|
labels={},
|
1069
|
-
operating_system="LINUX",
|
1070
1064
|
node_configs=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
|
1071
1065
|
labels={},
|
1072
1066
|
node_ip="10.200.0.9",
|
1073
1067
|
)],
|
1068
|
+
operating_system="LINUX",
|
1074
1069
|
),
|
1075
1070
|
),
|
1076
1071
|
),
|
1077
1072
|
load_balancer=gcp.gkeonprem.BareMetalClusterLoadBalancerArgs(
|
1078
|
-
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1079
|
-
control_plane_load_balancer_port=443,
|
1080
|
-
),
|
1081
|
-
vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
|
1082
|
-
control_plane_vip="10.200.0.13",
|
1083
|
-
ingress_vip="10.200.0.14",
|
1084
|
-
),
|
1085
1073
|
metal_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerMetalLbConfigArgs(
|
1086
1074
|
address_pools=[gcp.gkeonprem.BareMetalClusterLoadBalancerMetalLbConfigAddressPoolArgs(
|
1087
|
-
pool="pool1",
|
1088
1075
|
addresses=[
|
1089
1076
|
"10.200.0.14/32",
|
1090
1077
|
"10.200.0.15/32",
|
@@ -1098,20 +1085,22 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1098
1085
|
],
|
1099
1086
|
avoid_buggy_ips=True,
|
1100
1087
|
manual_assign=True,
|
1088
|
+
pool="pool1",
|
1101
1089
|
)],
|
1102
1090
|
),
|
1103
|
-
|
1104
|
-
|
1105
|
-
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1106
|
-
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1107
|
-
path="/mnt/localpv-share",
|
1108
|
-
storage_class="local-shared",
|
1109
|
-
),
|
1110
|
-
shared_path_pv_count=5,
|
1091
|
+
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1092
|
+
control_plane_load_balancer_port=443,
|
1111
1093
|
),
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1094
|
+
vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
|
1095
|
+
control_plane_vip="10.200.0.13",
|
1096
|
+
ingress_vip="10.200.0.14",
|
1097
|
+
),
|
1098
|
+
),
|
1099
|
+
location="us-west1",
|
1100
|
+
network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
|
1101
|
+
island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
|
1102
|
+
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1103
|
+
service_address_cidr_blocks=["172.26.0.0/16"],
|
1115
1104
|
),
|
1116
1105
|
),
|
1117
1106
|
security_config=gcp.gkeonprem.BareMetalClusterSecurityConfigArgs(
|
@@ -1121,7 +1110,19 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1121
1110
|
)],
|
1122
1111
|
),
|
1123
1112
|
),
|
1124
|
-
|
1113
|
+
storage=gcp.gkeonprem.BareMetalClusterStorageArgs(
|
1114
|
+
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1115
|
+
path="/mnt/localpv-disk",
|
1116
|
+
storage_class="local-disks",
|
1117
|
+
),
|
1118
|
+
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1119
|
+
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1120
|
+
path="/mnt/localpv-share",
|
1121
|
+
storage_class="local-shared",
|
1122
|
+
),
|
1123
|
+
shared_path_pv_count=5,
|
1124
|
+
),
|
1125
|
+
))
|
1125
1126
|
```
|
1126
1127
|
### Gkeonprem Bare Metal Cluster Manuallb
|
1127
1128
|
|
@@ -1130,28 +1131,27 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1130
1131
|
import pulumi_gcp as gcp
|
1131
1132
|
|
1132
1133
|
cluster_manuallb = gcp.gkeonprem.BareMetalCluster("cluster-manuallb",
|
1133
|
-
location="us-west1",
|
1134
1134
|
admin_cluster_membership="projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
|
1135
1135
|
bare_metal_version="1.12.3",
|
1136
|
-
|
1137
|
-
|
1138
|
-
service_address_cidr_blocks=["172.26.0.0/16"],
|
1139
|
-
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1140
|
-
),
|
1136
|
+
binary_authorization=gcp.gkeonprem.BareMetalClusterBinaryAuthorizationArgs(
|
1137
|
+
evaluation_mode="DISABLED",
|
1141
1138
|
),
|
1142
1139
|
control_plane=gcp.gkeonprem.BareMetalClusterControlPlaneArgs(
|
1143
1140
|
control_plane_node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs(
|
1144
1141
|
node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
|
1145
1142
|
labels={},
|
1146
|
-
operating_system="LINUX",
|
1147
1143
|
node_configs=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
|
1148
1144
|
labels={},
|
1149
1145
|
node_ip="10.200.0.9",
|
1150
1146
|
)],
|
1147
|
+
operating_system="LINUX",
|
1151
1148
|
),
|
1152
1149
|
),
|
1153
1150
|
),
|
1154
1151
|
load_balancer=gcp.gkeonprem.BareMetalClusterLoadBalancerArgs(
|
1152
|
+
manual_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerManualLbConfigArgs(
|
1153
|
+
enabled=True,
|
1154
|
+
),
|
1155
1155
|
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1156
1156
|
control_plane_load_balancer_port=443,
|
1157
1157
|
),
|
@@ -1159,21 +1159,12 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1159
1159
|
control_plane_vip="10.200.0.13",
|
1160
1160
|
ingress_vip="10.200.0.14",
|
1161
1161
|
),
|
1162
|
-
manual_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerManualLbConfigArgs(
|
1163
|
-
enabled=True,
|
1164
|
-
),
|
1165
1162
|
),
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
),
|
1172
|
-
shared_path_pv_count=5,
|
1173
|
-
),
|
1174
|
-
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1175
|
-
path="/mnt/localpv-disk",
|
1176
|
-
storage_class="local-disks",
|
1163
|
+
location="us-west1",
|
1164
|
+
network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
|
1165
|
+
island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
|
1166
|
+
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1167
|
+
service_address_cidr_blocks=["172.26.0.0/16"],
|
1177
1168
|
),
|
1178
1169
|
),
|
1179
1170
|
security_config=gcp.gkeonprem.BareMetalClusterSecurityConfigArgs(
|
@@ -1183,13 +1174,22 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1183
1174
|
)],
|
1184
1175
|
),
|
1185
1176
|
),
|
1186
|
-
|
1187
|
-
|
1177
|
+
storage=gcp.gkeonprem.BareMetalClusterStorageArgs(
|
1178
|
+
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1179
|
+
path="/mnt/localpv-disk",
|
1180
|
+
storage_class="local-disks",
|
1181
|
+
),
|
1182
|
+
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1183
|
+
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1184
|
+
path="/mnt/localpv-share",
|
1185
|
+
storage_class="local-shared",
|
1186
|
+
),
|
1187
|
+
shared_path_pv_count=5,
|
1188
|
+
),
|
1188
1189
|
),
|
1189
1190
|
upgrade_policy=gcp.gkeonprem.BareMetalClusterUpgradePolicyArgs(
|
1190
1191
|
policy="SERIAL",
|
1191
|
-
)
|
1192
|
-
opts=pulumi.ResourceOptions(provider=google_beta))
|
1192
|
+
))
|
1193
1193
|
```
|
1194
1194
|
### Gkeonprem Bare Metal Cluster Bgplb
|
1195
1195
|
|
@@ -1198,60 +1198,35 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1198
1198
|
import pulumi_gcp as gcp
|
1199
1199
|
|
1200
1200
|
cluster_bgplb = gcp.gkeonprem.BareMetalCluster("cluster-bgplb",
|
1201
|
-
location="us-west1",
|
1202
1201
|
admin_cluster_membership="projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
|
1203
1202
|
bare_metal_version="1.12.3",
|
1204
|
-
|
1205
|
-
|
1206
|
-
service_address_cidr_blocks=["172.26.0.0/16"],
|
1207
|
-
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1208
|
-
),
|
1209
|
-
advanced_networking=True,
|
1210
|
-
multiple_network_interfaces_config=gcp.gkeonprem.BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfigArgs(
|
1211
|
-
enabled=True,
|
1212
|
-
),
|
1213
|
-
sr_iov_config=gcp.gkeonprem.BareMetalClusterNetworkConfigSrIovConfigArgs(
|
1214
|
-
enabled=True,
|
1215
|
-
),
|
1203
|
+
cluster_operations=gcp.gkeonprem.BareMetalClusterClusterOperationsArgs(
|
1204
|
+
enable_application_logs=True,
|
1216
1205
|
),
|
1217
1206
|
control_plane=gcp.gkeonprem.BareMetalClusterControlPlaneArgs(
|
1207
|
+
api_server_args=[gcp.gkeonprem.BareMetalClusterControlPlaneApiServerArgArgs(
|
1208
|
+
argument="test-argument",
|
1209
|
+
value="test-value",
|
1210
|
+
)],
|
1218
1211
|
control_plane_node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs(
|
1219
1212
|
node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
|
1220
1213
|
labels={},
|
1221
|
-
operating_system="LINUX",
|
1222
1214
|
node_configs=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
|
1223
1215
|
labels={},
|
1224
1216
|
node_ip="10.200.0.9",
|
1225
1217
|
)],
|
1218
|
+
operating_system="LINUX",
|
1226
1219
|
taints=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs(
|
1220
|
+
effect="NO_EXECUTE",
|
1227
1221
|
key="test-key",
|
1228
1222
|
value="test-value",
|
1229
|
-
effect="NO_EXECUTE",
|
1230
1223
|
)],
|
1231
1224
|
),
|
1232
1225
|
),
|
1233
|
-
api_server_args=[gcp.gkeonprem.BareMetalClusterControlPlaneApiServerArgArgs(
|
1234
|
-
argument="test-argument",
|
1235
|
-
value="test-value",
|
1236
|
-
)],
|
1237
1226
|
),
|
1238
1227
|
load_balancer=gcp.gkeonprem.BareMetalClusterLoadBalancerArgs(
|
1239
|
-
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1240
|
-
control_plane_load_balancer_port=443,
|
1241
|
-
),
|
1242
|
-
vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
|
1243
|
-
control_plane_vip="10.200.0.13",
|
1244
|
-
ingress_vip="10.200.0.14",
|
1245
|
-
),
|
1246
1228
|
bgp_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigArgs(
|
1247
|
-
asn=123456,
|
1248
|
-
bgp_peer_configs=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs(
|
1249
|
-
asn=123457,
|
1250
|
-
ip_address="10.0.0.1",
|
1251
|
-
control_plane_nodes=["test-node"],
|
1252
|
-
)],
|
1253
1229
|
address_pools=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigAddressPoolArgs(
|
1254
|
-
pool="pool1",
|
1255
1230
|
addresses=[
|
1256
1231
|
"10.200.0.14/32",
|
1257
1232
|
"10.200.0.15/32",
|
@@ -1263,75 +1238,107 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1263
1238
|
"fd00:1::11/128",
|
1264
1239
|
"fd00:1::12/128",
|
1265
1240
|
],
|
1241
|
+
pool="pool1",
|
1242
|
+
)],
|
1243
|
+
asn=123456,
|
1244
|
+
bgp_peer_configs=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs(
|
1245
|
+
asn=123457,
|
1246
|
+
control_plane_nodes=["test-node"],
|
1247
|
+
ip_address="10.0.0.1",
|
1266
1248
|
)],
|
1267
1249
|
load_balancer_node_pool_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs(
|
1268
1250
|
node_pool_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgs(
|
1251
|
+
kubelet_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs(
|
1252
|
+
registry_burst=12,
|
1253
|
+
registry_pull_qps=10,
|
1254
|
+
serialize_image_pulls_disabled=True,
|
1255
|
+
),
|
1269
1256
|
labels={},
|
1270
|
-
operating_system="LINUX",
|
1271
1257
|
node_configs=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigNodeConfigArgs(
|
1272
1258
|
labels={},
|
1273
1259
|
node_ip="10.200.0.9",
|
1274
1260
|
)],
|
1261
|
+
operating_system="LINUX",
|
1275
1262
|
taints=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigTaintArgs(
|
1263
|
+
effect="NO_EXECUTE",
|
1276
1264
|
key="test-key",
|
1277
1265
|
value="test-value",
|
1278
|
-
effect="NO_EXECUTE",
|
1279
1266
|
)],
|
1280
|
-
kubelet_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs(
|
1281
|
-
registry_pull_qps=10,
|
1282
|
-
registry_burst=12,
|
1283
|
-
serialize_image_pulls_disabled=True,
|
1284
|
-
),
|
1285
1267
|
),
|
1286
1268
|
),
|
1287
1269
|
),
|
1288
|
-
|
1289
|
-
|
1290
|
-
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1291
|
-
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1292
|
-
path="/mnt/localpv-share",
|
1293
|
-
storage_class="local-shared",
|
1294
|
-
),
|
1295
|
-
shared_path_pv_count=5,
|
1296
|
-
),
|
1297
|
-
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1298
|
-
path="/mnt/localpv-disk",
|
1299
|
-
storage_class="local-disks",
|
1270
|
+
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1271
|
+
control_plane_load_balancer_port=443,
|
1300
1272
|
),
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
admin_users=[gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs(
|
1305
|
-
username="admin@hashicorptest.com",
|
1306
|
-
)],
|
1273
|
+
vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
|
1274
|
+
control_plane_vip="10.200.0.13",
|
1275
|
+
ingress_vip="10.200.0.14",
|
1307
1276
|
),
|
1308
1277
|
),
|
1309
|
-
|
1310
|
-
uri="http://test-domain/test",
|
1311
|
-
no_proxies=["127.0.0.1"],
|
1312
|
-
),
|
1313
|
-
cluster_operations=gcp.gkeonprem.BareMetalClusterClusterOperationsArgs(
|
1314
|
-
enable_application_logs=True,
|
1315
|
-
),
|
1278
|
+
location="us-west1",
|
1316
1279
|
maintenance_config=gcp.gkeonprem.BareMetalClusterMaintenanceConfigArgs(
|
1317
1280
|
maintenance_address_cidr_blocks=["192.168.0.1/20"],
|
1318
1281
|
),
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1282
|
+
network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
|
1283
|
+
advanced_networking=True,
|
1284
|
+
island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
|
1285
|
+
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1286
|
+
service_address_cidr_blocks=["172.26.0.0/16"],
|
1287
|
+
),
|
1288
|
+
multiple_network_interfaces_config=gcp.gkeonprem.BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfigArgs(
|
1289
|
+
enabled=True,
|
1290
|
+
),
|
1291
|
+
sr_iov_config=gcp.gkeonprem.BareMetalClusterNetworkConfigSrIovConfigArgs(
|
1292
|
+
enabled=True,
|
1293
|
+
),
|
1322
1294
|
),
|
1323
1295
|
node_access_config=gcp.gkeonprem.BareMetalClusterNodeAccessConfigArgs(
|
1324
1296
|
login_user="test@example.com",
|
1325
1297
|
),
|
1298
|
+
node_config=gcp.gkeonprem.BareMetalClusterNodeConfigArgs(
|
1299
|
+
container_runtime="CONTAINERD",
|
1300
|
+
max_pods_per_node=10,
|
1301
|
+
),
|
1326
1302
|
os_environment_config=gcp.gkeonprem.BareMetalClusterOsEnvironmentConfigArgs(
|
1327
1303
|
package_repo_excluded=True,
|
1328
1304
|
),
|
1329
|
-
|
1305
|
+
proxy=gcp.gkeonprem.BareMetalClusterProxyArgs(
|
1306
|
+
no_proxies=["127.0.0.1"],
|
1307
|
+
uri="http://test-domain/test",
|
1308
|
+
),
|
1309
|
+
security_config=gcp.gkeonprem.BareMetalClusterSecurityConfigArgs(
|
1310
|
+
authorization=gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationArgs(
|
1311
|
+
admin_users=[gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs(
|
1312
|
+
username="admin@hashicorptest.com",
|
1313
|
+
)],
|
1314
|
+
),
|
1315
|
+
),
|
1316
|
+
storage=gcp.gkeonprem.BareMetalClusterStorageArgs(
|
1317
|
+
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1318
|
+
path="/mnt/localpv-disk",
|
1319
|
+
storage_class="local-disks",
|
1320
|
+
),
|
1321
|
+
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1322
|
+
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1323
|
+
path="/mnt/localpv-share",
|
1324
|
+
storage_class="local-shared",
|
1325
|
+
),
|
1326
|
+
shared_path_pv_count=5,
|
1327
|
+
),
|
1328
|
+
))
|
1330
1329
|
```
|
1331
1330
|
|
1332
1331
|
## Import
|
1333
1332
|
|
1334
|
-
BareMetalCluster can be imported using any of these accepted formats
|
1333
|
+
BareMetalCluster can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/bareMetalClusters/{{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 BareMetalCluster using one of the formats above. For exampletf import {
|
1334
|
+
|
1335
|
+
id = "projects/{{project}}/locations/{{location}}/bareMetalClusters/{{name}}"
|
1336
|
+
|
1337
|
+
to = google_gkeonprem_bare_metal_cluster.default }
|
1338
|
+
|
1339
|
+
```sh
|
1340
|
+
$ pulumi import gcp:gkeonprem/bareMetalCluster:BareMetalCluster When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), BareMetalCluster can be imported using one of the formats above. For example
|
1341
|
+
```
|
1335
1342
|
|
1336
1343
|
```sh
|
1337
1344
|
$ pulumi import gcp:gkeonprem/bareMetalCluster:BareMetalCluster default projects/{{project}}/locations/{{location}}/bareMetalClusters/{{name}}
|
@@ -1400,6 +1407,8 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1400
1407
|
args: BareMetalClusterArgs,
|
1401
1408
|
opts: Optional[pulumi.ResourceOptions] = None):
|
1402
1409
|
"""
|
1410
|
+
A Google Bare Metal User Cluster.
|
1411
|
+
|
1403
1412
|
## Example Usage
|
1404
1413
|
### Gkeonprem Bare Metal Cluster Basic
|
1405
1414
|
|
@@ -1408,38 +1417,23 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1408
1417
|
import pulumi_gcp as gcp
|
1409
1418
|
|
1410
1419
|
cluster_basic = gcp.gkeonprem.BareMetalCluster("cluster-basic",
|
1411
|
-
location="us-west1",
|
1412
1420
|
admin_cluster_membership="projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
|
1413
1421
|
bare_metal_version="1.12.3",
|
1414
|
-
network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
|
1415
|
-
island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
|
1416
|
-
service_address_cidr_blocks=["172.26.0.0/16"],
|
1417
|
-
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1418
|
-
),
|
1419
|
-
),
|
1420
1422
|
control_plane=gcp.gkeonprem.BareMetalClusterControlPlaneArgs(
|
1421
1423
|
control_plane_node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs(
|
1422
1424
|
node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
|
1423
1425
|
labels={},
|
1424
|
-
operating_system="LINUX",
|
1425
1426
|
node_configs=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
|
1426
1427
|
labels={},
|
1427
1428
|
node_ip="10.200.0.9",
|
1428
1429
|
)],
|
1430
|
+
operating_system="LINUX",
|
1429
1431
|
),
|
1430
1432
|
),
|
1431
1433
|
),
|
1432
1434
|
load_balancer=gcp.gkeonprem.BareMetalClusterLoadBalancerArgs(
|
1433
|
-
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1434
|
-
control_plane_load_balancer_port=443,
|
1435
|
-
),
|
1436
|
-
vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
|
1437
|
-
control_plane_vip="10.200.0.13",
|
1438
|
-
ingress_vip="10.200.0.14",
|
1439
|
-
),
|
1440
1435
|
metal_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerMetalLbConfigArgs(
|
1441
1436
|
address_pools=[gcp.gkeonprem.BareMetalClusterLoadBalancerMetalLbConfigAddressPoolArgs(
|
1442
|
-
pool="pool1",
|
1443
1437
|
addresses=[
|
1444
1438
|
"10.200.0.14/32",
|
1445
1439
|
"10.200.0.15/32",
|
@@ -1453,20 +1447,22 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1453
1447
|
],
|
1454
1448
|
avoid_buggy_ips=True,
|
1455
1449
|
manual_assign=True,
|
1450
|
+
pool="pool1",
|
1456
1451
|
)],
|
1457
1452
|
),
|
1458
|
-
|
1459
|
-
|
1460
|
-
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1461
|
-
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1462
|
-
path="/mnt/localpv-share",
|
1463
|
-
storage_class="local-shared",
|
1464
|
-
),
|
1465
|
-
shared_path_pv_count=5,
|
1453
|
+
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1454
|
+
control_plane_load_balancer_port=443,
|
1466
1455
|
),
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1456
|
+
vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
|
1457
|
+
control_plane_vip="10.200.0.13",
|
1458
|
+
ingress_vip="10.200.0.14",
|
1459
|
+
),
|
1460
|
+
),
|
1461
|
+
location="us-west1",
|
1462
|
+
network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
|
1463
|
+
island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
|
1464
|
+
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1465
|
+
service_address_cidr_blocks=["172.26.0.0/16"],
|
1470
1466
|
),
|
1471
1467
|
),
|
1472
1468
|
security_config=gcp.gkeonprem.BareMetalClusterSecurityConfigArgs(
|
@@ -1476,7 +1472,19 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1476
1472
|
)],
|
1477
1473
|
),
|
1478
1474
|
),
|
1479
|
-
|
1475
|
+
storage=gcp.gkeonprem.BareMetalClusterStorageArgs(
|
1476
|
+
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1477
|
+
path="/mnt/localpv-disk",
|
1478
|
+
storage_class="local-disks",
|
1479
|
+
),
|
1480
|
+
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1481
|
+
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1482
|
+
path="/mnt/localpv-share",
|
1483
|
+
storage_class="local-shared",
|
1484
|
+
),
|
1485
|
+
shared_path_pv_count=5,
|
1486
|
+
),
|
1487
|
+
))
|
1480
1488
|
```
|
1481
1489
|
### Gkeonprem Bare Metal Cluster Manuallb
|
1482
1490
|
|
@@ -1485,28 +1493,27 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1485
1493
|
import pulumi_gcp as gcp
|
1486
1494
|
|
1487
1495
|
cluster_manuallb = gcp.gkeonprem.BareMetalCluster("cluster-manuallb",
|
1488
|
-
location="us-west1",
|
1489
1496
|
admin_cluster_membership="projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
|
1490
1497
|
bare_metal_version="1.12.3",
|
1491
|
-
|
1492
|
-
|
1493
|
-
service_address_cidr_blocks=["172.26.0.0/16"],
|
1494
|
-
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1495
|
-
),
|
1498
|
+
binary_authorization=gcp.gkeonprem.BareMetalClusterBinaryAuthorizationArgs(
|
1499
|
+
evaluation_mode="DISABLED",
|
1496
1500
|
),
|
1497
1501
|
control_plane=gcp.gkeonprem.BareMetalClusterControlPlaneArgs(
|
1498
1502
|
control_plane_node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs(
|
1499
1503
|
node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
|
1500
1504
|
labels={},
|
1501
|
-
operating_system="LINUX",
|
1502
1505
|
node_configs=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
|
1503
1506
|
labels={},
|
1504
1507
|
node_ip="10.200.0.9",
|
1505
1508
|
)],
|
1509
|
+
operating_system="LINUX",
|
1506
1510
|
),
|
1507
1511
|
),
|
1508
1512
|
),
|
1509
1513
|
load_balancer=gcp.gkeonprem.BareMetalClusterLoadBalancerArgs(
|
1514
|
+
manual_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerManualLbConfigArgs(
|
1515
|
+
enabled=True,
|
1516
|
+
),
|
1510
1517
|
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1511
1518
|
control_plane_load_balancer_port=443,
|
1512
1519
|
),
|
@@ -1514,21 +1521,12 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1514
1521
|
control_plane_vip="10.200.0.13",
|
1515
1522
|
ingress_vip="10.200.0.14",
|
1516
1523
|
),
|
1517
|
-
manual_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerManualLbConfigArgs(
|
1518
|
-
enabled=True,
|
1519
|
-
),
|
1520
1524
|
),
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
),
|
1527
|
-
shared_path_pv_count=5,
|
1528
|
-
),
|
1529
|
-
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1530
|
-
path="/mnt/localpv-disk",
|
1531
|
-
storage_class="local-disks",
|
1525
|
+
location="us-west1",
|
1526
|
+
network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
|
1527
|
+
island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
|
1528
|
+
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1529
|
+
service_address_cidr_blocks=["172.26.0.0/16"],
|
1532
1530
|
),
|
1533
1531
|
),
|
1534
1532
|
security_config=gcp.gkeonprem.BareMetalClusterSecurityConfigArgs(
|
@@ -1538,13 +1536,22 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1538
1536
|
)],
|
1539
1537
|
),
|
1540
1538
|
),
|
1541
|
-
|
1542
|
-
|
1539
|
+
storage=gcp.gkeonprem.BareMetalClusterStorageArgs(
|
1540
|
+
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1541
|
+
path="/mnt/localpv-disk",
|
1542
|
+
storage_class="local-disks",
|
1543
|
+
),
|
1544
|
+
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1545
|
+
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1546
|
+
path="/mnt/localpv-share",
|
1547
|
+
storage_class="local-shared",
|
1548
|
+
),
|
1549
|
+
shared_path_pv_count=5,
|
1550
|
+
),
|
1543
1551
|
),
|
1544
1552
|
upgrade_policy=gcp.gkeonprem.BareMetalClusterUpgradePolicyArgs(
|
1545
1553
|
policy="SERIAL",
|
1546
|
-
)
|
1547
|
-
opts=pulumi.ResourceOptions(provider=google_beta))
|
1554
|
+
))
|
1548
1555
|
```
|
1549
1556
|
### Gkeonprem Bare Metal Cluster Bgplb
|
1550
1557
|
|
@@ -1553,60 +1560,35 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1553
1560
|
import pulumi_gcp as gcp
|
1554
1561
|
|
1555
1562
|
cluster_bgplb = gcp.gkeonprem.BareMetalCluster("cluster-bgplb",
|
1556
|
-
location="us-west1",
|
1557
1563
|
admin_cluster_membership="projects/870316890899/locations/global/memberships/gkeonprem-terraform-test",
|
1558
1564
|
bare_metal_version="1.12.3",
|
1559
|
-
|
1560
|
-
|
1561
|
-
service_address_cidr_blocks=["172.26.0.0/16"],
|
1562
|
-
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1563
|
-
),
|
1564
|
-
advanced_networking=True,
|
1565
|
-
multiple_network_interfaces_config=gcp.gkeonprem.BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfigArgs(
|
1566
|
-
enabled=True,
|
1567
|
-
),
|
1568
|
-
sr_iov_config=gcp.gkeonprem.BareMetalClusterNetworkConfigSrIovConfigArgs(
|
1569
|
-
enabled=True,
|
1570
|
-
),
|
1565
|
+
cluster_operations=gcp.gkeonprem.BareMetalClusterClusterOperationsArgs(
|
1566
|
+
enable_application_logs=True,
|
1571
1567
|
),
|
1572
1568
|
control_plane=gcp.gkeonprem.BareMetalClusterControlPlaneArgs(
|
1569
|
+
api_server_args=[gcp.gkeonprem.BareMetalClusterControlPlaneApiServerArgArgs(
|
1570
|
+
argument="test-argument",
|
1571
|
+
value="test-value",
|
1572
|
+
)],
|
1573
1573
|
control_plane_node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigArgs(
|
1574
1574
|
node_pool_config=gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigArgs(
|
1575
1575
|
labels={},
|
1576
|
-
operating_system="LINUX",
|
1577
1576
|
node_configs=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigNodeConfigArgs(
|
1578
1577
|
labels={},
|
1579
1578
|
node_ip="10.200.0.9",
|
1580
1579
|
)],
|
1580
|
+
operating_system="LINUX",
|
1581
1581
|
taints=[gcp.gkeonprem.BareMetalClusterControlPlaneControlPlaneNodePoolConfigNodePoolConfigTaintArgs(
|
1582
|
+
effect="NO_EXECUTE",
|
1582
1583
|
key="test-key",
|
1583
1584
|
value="test-value",
|
1584
|
-
effect="NO_EXECUTE",
|
1585
1585
|
)],
|
1586
1586
|
),
|
1587
1587
|
),
|
1588
|
-
api_server_args=[gcp.gkeonprem.BareMetalClusterControlPlaneApiServerArgArgs(
|
1589
|
-
argument="test-argument",
|
1590
|
-
value="test-value",
|
1591
|
-
)],
|
1592
1588
|
),
|
1593
1589
|
load_balancer=gcp.gkeonprem.BareMetalClusterLoadBalancerArgs(
|
1594
|
-
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1595
|
-
control_plane_load_balancer_port=443,
|
1596
|
-
),
|
1597
|
-
vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
|
1598
|
-
control_plane_vip="10.200.0.13",
|
1599
|
-
ingress_vip="10.200.0.14",
|
1600
|
-
),
|
1601
1590
|
bgp_lb_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigArgs(
|
1602
|
-
asn=123456,
|
1603
|
-
bgp_peer_configs=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs(
|
1604
|
-
asn=123457,
|
1605
|
-
ip_address="10.0.0.1",
|
1606
|
-
control_plane_nodes=["test-node"],
|
1607
|
-
)],
|
1608
1591
|
address_pools=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigAddressPoolArgs(
|
1609
|
-
pool="pool1",
|
1610
1592
|
addresses=[
|
1611
1593
|
"10.200.0.14/32",
|
1612
1594
|
"10.200.0.15/32",
|
@@ -1618,75 +1600,107 @@ class BareMetalCluster(pulumi.CustomResource):
|
|
1618
1600
|
"fd00:1::11/128",
|
1619
1601
|
"fd00:1::12/128",
|
1620
1602
|
],
|
1603
|
+
pool="pool1",
|
1604
|
+
)],
|
1605
|
+
asn=123456,
|
1606
|
+
bgp_peer_configs=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigBgpPeerConfigArgs(
|
1607
|
+
asn=123457,
|
1608
|
+
control_plane_nodes=["test-node"],
|
1609
|
+
ip_address="10.0.0.1",
|
1621
1610
|
)],
|
1622
1611
|
load_balancer_node_pool_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigArgs(
|
1623
1612
|
node_pool_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigArgs(
|
1613
|
+
kubelet_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs(
|
1614
|
+
registry_burst=12,
|
1615
|
+
registry_pull_qps=10,
|
1616
|
+
serialize_image_pulls_disabled=True,
|
1617
|
+
),
|
1624
1618
|
labels={},
|
1625
|
-
operating_system="LINUX",
|
1626
1619
|
node_configs=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigNodeConfigArgs(
|
1627
1620
|
labels={},
|
1628
1621
|
node_ip="10.200.0.9",
|
1629
1622
|
)],
|
1623
|
+
operating_system="LINUX",
|
1630
1624
|
taints=[gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigTaintArgs(
|
1625
|
+
effect="NO_EXECUTE",
|
1631
1626
|
key="test-key",
|
1632
1627
|
value="test-value",
|
1633
|
-
effect="NO_EXECUTE",
|
1634
1628
|
)],
|
1635
|
-
kubelet_config=gcp.gkeonprem.BareMetalClusterLoadBalancerBgpLbConfigLoadBalancerNodePoolConfigNodePoolConfigKubeletConfigArgs(
|
1636
|
-
registry_pull_qps=10,
|
1637
|
-
registry_burst=12,
|
1638
|
-
serialize_image_pulls_disabled=True,
|
1639
|
-
),
|
1640
1629
|
),
|
1641
1630
|
),
|
1642
1631
|
),
|
1643
|
-
|
1644
|
-
|
1645
|
-
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1646
|
-
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1647
|
-
path="/mnt/localpv-share",
|
1648
|
-
storage_class="local-shared",
|
1649
|
-
),
|
1650
|
-
shared_path_pv_count=5,
|
1651
|
-
),
|
1652
|
-
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1653
|
-
path="/mnt/localpv-disk",
|
1654
|
-
storage_class="local-disks",
|
1632
|
+
port_config=gcp.gkeonprem.BareMetalClusterLoadBalancerPortConfigArgs(
|
1633
|
+
control_plane_load_balancer_port=443,
|
1655
1634
|
),
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
admin_users=[gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs(
|
1660
|
-
username="admin@hashicorptest.com",
|
1661
|
-
)],
|
1635
|
+
vip_config=gcp.gkeonprem.BareMetalClusterLoadBalancerVipConfigArgs(
|
1636
|
+
control_plane_vip="10.200.0.13",
|
1637
|
+
ingress_vip="10.200.0.14",
|
1662
1638
|
),
|
1663
1639
|
),
|
1664
|
-
|
1665
|
-
uri="http://test-domain/test",
|
1666
|
-
no_proxies=["127.0.0.1"],
|
1667
|
-
),
|
1668
|
-
cluster_operations=gcp.gkeonprem.BareMetalClusterClusterOperationsArgs(
|
1669
|
-
enable_application_logs=True,
|
1670
|
-
),
|
1640
|
+
location="us-west1",
|
1671
1641
|
maintenance_config=gcp.gkeonprem.BareMetalClusterMaintenanceConfigArgs(
|
1672
1642
|
maintenance_address_cidr_blocks=["192.168.0.1/20"],
|
1673
1643
|
),
|
1674
|
-
|
1675
|
-
|
1676
|
-
|
1644
|
+
network_config=gcp.gkeonprem.BareMetalClusterNetworkConfigArgs(
|
1645
|
+
advanced_networking=True,
|
1646
|
+
island_mode_cidr=gcp.gkeonprem.BareMetalClusterNetworkConfigIslandModeCidrArgs(
|
1647
|
+
pod_address_cidr_blocks=["10.240.0.0/13"],
|
1648
|
+
service_address_cidr_blocks=["172.26.0.0/16"],
|
1649
|
+
),
|
1650
|
+
multiple_network_interfaces_config=gcp.gkeonprem.BareMetalClusterNetworkConfigMultipleNetworkInterfacesConfigArgs(
|
1651
|
+
enabled=True,
|
1652
|
+
),
|
1653
|
+
sr_iov_config=gcp.gkeonprem.BareMetalClusterNetworkConfigSrIovConfigArgs(
|
1654
|
+
enabled=True,
|
1655
|
+
),
|
1677
1656
|
),
|
1678
1657
|
node_access_config=gcp.gkeonprem.BareMetalClusterNodeAccessConfigArgs(
|
1679
1658
|
login_user="test@example.com",
|
1680
1659
|
),
|
1660
|
+
node_config=gcp.gkeonprem.BareMetalClusterNodeConfigArgs(
|
1661
|
+
container_runtime="CONTAINERD",
|
1662
|
+
max_pods_per_node=10,
|
1663
|
+
),
|
1681
1664
|
os_environment_config=gcp.gkeonprem.BareMetalClusterOsEnvironmentConfigArgs(
|
1682
1665
|
package_repo_excluded=True,
|
1683
1666
|
),
|
1684
|
-
|
1667
|
+
proxy=gcp.gkeonprem.BareMetalClusterProxyArgs(
|
1668
|
+
no_proxies=["127.0.0.1"],
|
1669
|
+
uri="http://test-domain/test",
|
1670
|
+
),
|
1671
|
+
security_config=gcp.gkeonprem.BareMetalClusterSecurityConfigArgs(
|
1672
|
+
authorization=gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationArgs(
|
1673
|
+
admin_users=[gcp.gkeonprem.BareMetalClusterSecurityConfigAuthorizationAdminUserArgs(
|
1674
|
+
username="admin@hashicorptest.com",
|
1675
|
+
)],
|
1676
|
+
),
|
1677
|
+
),
|
1678
|
+
storage=gcp.gkeonprem.BareMetalClusterStorageArgs(
|
1679
|
+
lvp_node_mounts_config=gcp.gkeonprem.BareMetalClusterStorageLvpNodeMountsConfigArgs(
|
1680
|
+
path="/mnt/localpv-disk",
|
1681
|
+
storage_class="local-disks",
|
1682
|
+
),
|
1683
|
+
lvp_share_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigArgs(
|
1684
|
+
lvp_config=gcp.gkeonprem.BareMetalClusterStorageLvpShareConfigLvpConfigArgs(
|
1685
|
+
path="/mnt/localpv-share",
|
1686
|
+
storage_class="local-shared",
|
1687
|
+
),
|
1688
|
+
shared_path_pv_count=5,
|
1689
|
+
),
|
1690
|
+
))
|
1685
1691
|
```
|
1686
1692
|
|
1687
1693
|
## Import
|
1688
1694
|
|
1689
|
-
BareMetalCluster can be imported using any of these accepted formats
|
1695
|
+
BareMetalCluster can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/bareMetalClusters/{{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 BareMetalCluster using one of the formats above. For exampletf import {
|
1696
|
+
|
1697
|
+
id = "projects/{{project}}/locations/{{location}}/bareMetalClusters/{{name}}"
|
1698
|
+
|
1699
|
+
to = google_gkeonprem_bare_metal_cluster.default }
|
1700
|
+
|
1701
|
+
```sh
|
1702
|
+
$ pulumi import gcp:gkeonprem/bareMetalCluster:BareMetalCluster When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), BareMetalCluster can be imported using one of the formats above. For example
|
1703
|
+
```
|
1690
1704
|
|
1691
1705
|
```sh
|
1692
1706
|
$ pulumi import gcp:gkeonprem/bareMetalCluster:BareMetalCluster default projects/{{project}}/locations/{{location}}/bareMetalClusters/{{name}}
|