@@ -429,6 +429,14 @@ func Provider() terraform.ResourceProvider {
429429 "GOOGLE_NOTEBOOKS_CUSTOM_ENDPOINT" ,
430430 }, NotebooksDefaultBasePath ),
431431 },
432+ "os_config_custom_endpoint" : {
433+ Type : schema .TypeString ,
434+ Optional : true ,
435+ ValidateFunc : validateCustomEndpoint ,
436+ DefaultFunc : schema .MultiEnvDefaultFunc ([]string {
437+ "GOOGLE_OS_CONFIG_CUSTOM_ENDPOINT" ,
438+ }, OSConfigDefaultBasePath ),
439+ },
432440 "os_login_custom_endpoint" : {
433441 Type : schema .TypeString ,
434442 Optional : true ,
@@ -673,9 +681,9 @@ func Provider() terraform.ResourceProvider {
673681 return provider
674682}
675683
676- // Generated resources: 168
684+ // Generated resources: 169
677685// Generated IAM resources: 66
678- // Total generated resources: 234
686+ // Total generated resources: 235
679687func ResourceMap () map [string ]* schema.Resource {
680688 resourceMap , _ := ResourceMapWithErrors ()
681689 return resourceMap
@@ -870,6 +878,7 @@ func ResourceMapWithErrors() (map[string]*schema.Resource, error) {
870878 "google_notebooks_environment" : resourceNotebooksEnvironment (),
871879 "google_notebooks_instance" : resourceNotebooksInstance (),
872880 "google_notebooks_location" : resourceNotebooksLocation (),
881+ "google_os_config_patch_deployment" : resourceOSConfigPatchDeployment (),
873882 "google_os_login_ssh_public_key" : resourceOSLoginSSHPublicKey (),
874883 "google_pubsub_topic" : resourcePubsubTopic (),
875884 "google_pubsub_topic_iam_binding" : ResourceIamBinding (PubsubTopicIamSchema , PubsubTopicIamUpdaterProducer , PubsubTopicIdParseFunc ),
@@ -1127,6 +1136,7 @@ func providerConfigure(d *schema.ResourceData, p *schema.Provider, terraformVers
11271136 config .MonitoringBasePath = d .Get ("monitoring_custom_endpoint" ).(string )
11281137 config .NetworkManagementBasePath = d .Get ("network_management_custom_endpoint" ).(string )
11291138 config .NotebooksBasePath = d .Get ("notebooks_custom_endpoint" ).(string )
1139+ config .OSConfigBasePath = d .Get ("os_config_custom_endpoint" ).(string )
11301140 config .OSLoginBasePath = d .Get ("os_login_custom_endpoint" ).(string )
11311141 config .PubsubBasePath = d .Get ("pubsub_custom_endpoint" ).(string )
11321142 config .RedisBasePath = d .Get ("redis_custom_endpoint" ).(string )
0 commit comments