@@ -359,6 +359,14 @@ func Provider() *schema.Provider {
359359 "GOOGLE_DATAPROC_CUSTOM_ENDPOINT" ,
360360 }, DataprocDefaultBasePath ),
361361 },
362+ "dataproc_metastore_custom_endpoint" : {
363+ Type : schema .TypeString ,
364+ Optional : true ,
365+ ValidateFunc : validateCustomEndpoint ,
366+ DefaultFunc : schema .MultiEnvDefaultFunc ([]string {
367+ "GOOGLE_DATAPROC_METASTORE_CUSTOM_ENDPOINT" ,
368+ }, DataprocMetastoreDefaultBasePath ),
369+ },
362370 "datastore_custom_endpoint" : {
363371 Type : schema .TypeString ,
364372 Optional : true ,
@@ -810,9 +818,9 @@ func Provider() *schema.Provider {
810818 return provider
811819}
812820
813- // Generated resources: 209
821+ // Generated resources: 210
814822// Generated IAM resources: 108
815- // Total generated resources: 317
823+ // Total generated resources: 318
816824func ResourceMap () map [string ]* schema.Resource {
817825 resourceMap , _ := ResourceMapWithErrors ()
818826 return resourceMap
@@ -998,6 +1006,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
9981006 "google_data_loss_prevention_stored_info_type" : resourceDataLossPreventionStoredInfoType (),
9991007 "google_data_loss_prevention_deidentify_template" : resourceDataLossPreventionDeidentifyTemplate (),
10001008 "google_dataproc_autoscaling_policy" : resourceDataprocAutoscalingPolicy (),
1009+ "google_dataproc_metastore_service" : resourceDataprocMetastoreService (),
10011010 "google_datastore_index" : resourceDatastoreIndex (),
10021011 "google_deployment_manager_deployment" : resourceDeploymentManagerDeployment (),
10031012 "google_dialogflow_agent" : resourceDialogflowAgent (),
@@ -1356,6 +1365,7 @@ func providerConfigure(ctx context.Context, d *schema.ResourceData, p *schema.Pr
13561365 config .DataFusionBasePath = d .Get ("data_fusion_custom_endpoint" ).(string )
13571366 config .DataLossPreventionBasePath = d .Get ("data_loss_prevention_custom_endpoint" ).(string )
13581367 config .DataprocBasePath = d .Get ("dataproc_custom_endpoint" ).(string )
1368+ config .DataprocMetastoreBasePath = d .Get ("dataproc_metastore_custom_endpoint" ).(string )
13591369 config .DatastoreBasePath = d .Get ("datastore_custom_endpoint" ).(string )
13601370 config .DeploymentManagerBasePath = d .Get ("deployment_manager_custom_endpoint" ).(string )
13611371 config .DialogflowBasePath = d .Get ("dialogflow_custom_endpoint" ).(string )
0 commit comments