@@ -111,10 +111,12 @@ func resourceRancher2NodeTemplateUpdate(d *schema.ResourceData, meta interface{}
111111 return err
112112 }
113113
114+ useInternalIPAddress := d .Get ("use_internal_ip_address" ).(bool )
114115 update := map [string ]interface {}{
115116 "name" : d .Get ("name" ).(string ),
116117 "authCertificateAuthority" : d .Get ("auth_certificate_authority" ).(string ),
117118 "authKey" : d .Get ("auth_key" ).(string ),
119+ "cloudCredentialId" : d .Get ("cloud_credential_id" ).(string ),
118120 "description" : d .Get ("description" ).(string ),
119121 "engineEnv" : toMapString (d .Get ("engine_env" ).(map [string ]interface {})),
120122 "engineInsecureRegistry" : toArrayString (d .Get ("engine_insecure_registry" ).([]interface {})),
@@ -124,6 +126,7 @@ func resourceRancher2NodeTemplateUpdate(d *schema.ResourceData, meta interface{}
124126 "engineRegistryMirror" : toArrayString (d .Get ("engine_registry_mirror" ).([]interface {})),
125127 "engineStorageDriver" : d .Get ("engine_storage_driver" ).(string ),
126128 "nodeTaints" : expandTaints (d .Get ("node_taints" ).([]interface {})),
129+ "useInternalIpAddress" : & useInternalIPAddress ,
127130 "annotations" : toMapString (d .Get ("annotations" ).(map [string ]interface {})),
128131 "labels" : toMapString (d .Get ("labels" ).(map [string ]interface {})),
129132 }
0 commit comments