Exemples de ressources Terraform

Les exemples Terraform montrent comment déployer des ressources Google Cloud de manière automatisée à l'aide de Terraform. Un échantillon peut être aussi petit qu'une seule ressource, ou il peut être un cas d'utilisation transversal de grande envergure qui démontre plusieurs produits Google Cloud interdépendants.

Les exemples Terraform sont hébergés dans le dépôt GitHub terraform-docs-samples, qui inclut des tests qui valident le code Terraform et permettent de s'assurer que les exemples sont fonctionnels.

Catégorie Exemples de ressources
Certificate Authority Service privateca_capool_all_fields
Certificate Authority Service privateca_capool_basic
Certificate Authority Service privateca_certificate_authority_basic
Certificate Authority Service privateca_certificate_authority_byo_key
Certificate Authority Service privateca_certificate_authority_subordinate
Certificate Authority Service privateca_certificate_config
Certificate Authority Service privateca_certificate_csr
Certificate Authority Service privateca_certificate_no_authority
Certificate Authority Service privateca_certificate_with_template
Certificate Authority Service privateca_quickstart
Certificate Manager, Cloud DNS dns_managed_zone_with_wildcard_certificate
Gestionnaire de certificats google_managed_cert
Gestionnaire de certificats google_managed_lb_auth
Cloud CDN, Cloud Load Balancing external_cdn_lb_with_backend_bucket
Cloud Composer composer_multi_project_monitoring
Cloud Composer, Cloud Run Functions composer/triggering_dags_with_functions_and_pubsub
Cloud DNS dns_managed_zone_basic
Cloud DNS dns_managed_zone_private
Cloud DNS dns_managed_zone_private_forwarding
Cloud DNS dns_managed_zone_private_peering
Cloud DNS dns_managed_zone_quickstart
Cloud DNS dns_managed_zone_reverse_lookup
Cloud DNS dns_managed_zone_service_directory
Cloud DNS dns_managed_zone_with_dnssec
Cloud DNS dns_policy_basic
Cloud DNS dns_policy_inbound
Cloud DNS dns_policy_outbound
Cloud DNS dns_record_set_basic
Cloud DNS dns_response_policy_basic
Cloud DNS dns_response_policy_rule_basic
Cloud Run Functions functions/basic
Cloud Run Functions functions/basic_audit_logs
Cloud Run Functions functions/basic_gcs
Cloud Run Functions functions/pubsub
Cloud Load Balancing external_http_lb_bucket_backend
Cloud Load Balancing external_http_lb_mig_backend
Cloud Load Balancing external_http_lb_mig_backend_custom_header
Cloud Load Balancing external_ssl_proxy_lb_mig_backend
Cloud Load Balancing external_ssl_proxy_lb_mig_backend_custom_header
Cloud Load Balancing external_tcp_proxy_lb_mig_backend
Cloud Load Balancing external_tcp_proxy_lb_mig_backend_custom_header
Cloud Load Balancing health-check-region
Cloud Load Balancing health-check-tcp
Cloud Load Balancing int_https_lb_https_redirect
Cloud Load Balancing internal_http_lb_with_mig_backend
Cloud Load Balancing internal_tcp_udp_lb_with_mig_backend
Cloud Load Balancing regional_external_http_load_balancer
Cloud Load Balancing shared_vpc_http_ilb_with_mig_backend
Cloud Load Balancing, cloud privé virtuel shared_vpc_http_ilb_with_mig_backend_basic_example
Cloud Load Balancing, cloud privé virtuel shared_vpc_http_ilb_with_mig_backend_cross_reference_example
Cloud Load Balancing, cloud privé virtuel shared_vpc_https_ilb_with_mig_backend_basic_examplex
Cloud Load Balancing, cloud privé virtuel shared_vpc_https_ilb_with_mig_backend_cross_reference_example
Cloud Load Balancing target_http_proxy_basic
Cloud Load Balancing target_http_proxy_https_redirect
Cloud Load Balancing target_https_proxy_basic
Cloud Load Balancing target_ssl_proxy_basic
Cloud Load Balancing target_tcp_proxy_basic
Cloud Load Balancing url_map_bucket_and_service
Cloud Load Balancing url_map_header_based_routing
Cloud Load Balancing url_map_parameter_based_routing
Cloud Run cloud_run_healthchecks_liveness_probe_gRPC
Cloud Run cloud_run_healthchecks_liveness_probe_http
Cloud Run cloud_run_healthchecks_startup_probe_http
Cloud Run cloud_run_healthchecks_startup_probe_tcp
Cloud Run cloud_run_jobs_create
Cloud Run cloud_run_jobs_execute_jobs_on_schedule
Cloud Run cloud_run_jobs_max_retries_create
Cloud Run cloud_run_jobs_task_parallelism_create
Cloud Run cloud_run_jobs_task_timeout_create
Cloud Run cloud_run_service_add_tag
Cloud Run cloud_run_service_configuration
Cloud Run cloud_run_service_connect_cloud_sql
Cloud Run cloud_run_service_custom_domain_mapping
Cloud Run cloud_run_service_deploy_tag
Cloud Run cloud_run_service_image_processing
Cloud Run cloud_run_service_ingress
Cloud Run cloud_run_service_interservice
Cloud Run cloud_run_service_multiple_regions
Cloud Run cloud_run_service_noauth
Cloud Run cloud_run_service_pubsub
Cloud Run cloud_run_service_remove_tag
Cloud Run cloud_run_service_scheduled
Cloud Run cloud_run_service_secure_services
Cloud Run cloud_run_service_static_outbound
Cloud Run cloud_run_service_tasks
Cloud Run cloud_run_service_traffic_gradual_rollout
Cloud Run cloud_run_service_traffic_latest_revision
Cloud Run cloud_run_service_traffic_rollback
Cloud Run cloud_run_service_traffic_split
Cloud Run cloud_run_service_traffic_split_tag
Cloud Run cloud_run_system_packages
Cloud Run cloudrun_service_access_control
Cloud Run cloudrun_service_identity
Cloud Run cloudrun_vpc_access_connector
Cloud SQL sql_database_basic
Cloud SQL sql_database_instance_my_sql
Cloud SQL sql_database_instance_postgres
Cloud SQL sql_database_instance_sqlserver
Cloud SQL sql_instance_cmek
Cloud SQL sql_instance_ha
Cloud SQL sql_instance_iam_condition
Cloud SQL sql_instance_labels
Cloud SQL sql_instance_pitr
Cloud SQL sql_instance_ssl_cert
Cloud SQL sql_mysql_instance_authorized_network
Cloud SQL sql_mysql_instance_backup
Cloud SQL sql_mysql_instance_backup_location
Cloud SQL sql_mysql_instance_backup_retention
Cloud SQL sql_mysql_instance_clone
Cloud SQL sql_mysql_instance_flags
Cloud SQL sql_mysql_instance_private_ip
Cloud SQL sql_mysql_instance_public_ip
Cloud SQL sql_mysql_instance_pvp
Cloud SQL sql_mysql_instance_replica
Cloud SQL sql_mysql_instance_ssm
Cloud SQL sql_postgres_instance_authorized_network
Cloud SQL sql_postgres_instance_backup
Cloud SQL sql_postgres_instance_backup_location
Cloud SQL sql_postgres_instance_backup_retention
Cloud SQL sql_postgres_instance_clone
Cloud SQL sql_postgres_instance_flags
Cloud SQL sql_postgres_instance_private_ip
Cloud SQL sql_postgres_instance_public_ip
Cloud SQL sql_postgres_instance_pvp
Cloud SQL sql_postgres_instance_replica
Cloud SQL sql_postgres_instance_ssm
Cloud SQL sql_sqlserver_instance_active_directory
Cloud SQL sql_sqlserver_instance_authorized_network
Cloud SQL sql_sqlserver_instance_backup
Cloud SQL sql_sqlserver_instance_backup_location
Cloud SQL sql_sqlserver_instance_backup_retention
Cloud SQL sql_sqlserver_instance_clone
Cloud SQL sql_sqlserver_instance_flags
Cloud SQL sql_sqlserver_instance_private_ip
Cloud SQL sql_sqlserver_instance_public_ip
Cloud SQL sql_sqlserver_instance_replica
Cloud SQL sql_sqlserver_instance_ssm
Cloud SQL sql_sqlserver_vm_instance
Cloud Storage storage_hmac_key
Cloud Storage storage_make_data_public
Cloud Storage storage_new_bucket
Cloud Storage storage_object_lifecycle_setting
Cloud Storage storage_pubsub_notifications
Cloud Storage storage_static_website
Cloud VPN external_vpn_gateway
Cloud VPN ha_vpn_gateway_gcp_to_gcp
Cloud VPN ha_vpn_over_interconnect_10GB_attach
Cloud VPN ha_vpn_over_interconnect_5GB_attach
Compute Engine autoscaler_instance_group
Compute Engine basic_vm
Compute Engine external_address
Compute Engine os_login_ssh_key
Compute Engine service_account_for_instances
Compute Engine compute/add_persistent_disk
Compute Engine compute_disk
Compute Engine, Virtual Private Cloud compute/packet_mirroring_full
Compute Engine compute_reservation
Compute Engine compute_run_shutdown_scripts
Compute Engine flask_google_cloud_quickstart
Compute Engine instance_custom_hostname
Compute Engine instance_virtual_display_enabled
Compute Engine os_login
Compute Engine region_autoscaler_basic
Compute Engine spot_instance_basic
Tests de connectivité network_management_connectivity_test_addresses
Tests de connectivité network_management_connectivity_test_instances
Eventarc eventarc_basic_tf
Eventarc eventarc_workflows
Identity and Access Management iam_create_deny_policy
Media CDN media_cdn_keyset
Media CDN media_cdn_quickstart
Media CDN media_cdn_security_policies
Cloud Service Mesh lb/target_grpc_proxy_basic
Cloud Service Mesh traffic_director/url_map_traffic_director_path
Cloud Service Mesh traffic_director/url_map_traffic_director_path_partial
Cloud Service Mesh traffic_director/url_map_traffic_director_route
Cloud Service Mesh traffic_director/url_map_traffic_director_route_partial
Vertex AI vertex_ai_dataset
Vertex AI vertex_ai_featurestore
Vertex AI vertex_ai_managed_notebooks_runtime
Vertex AI vertex_ai_metadata_store
Vertex AI vertex_ai_user_managed_notebooks_instance
Cloud privé virtuel firewall_with_target_tags
Cloud privé virtuel network_custom_mtu
Cloud privé virtuel private_service_connect_google_apis