vishesh92 commented on code in PR #57: URL: https://github.com/apache/cloudstack-terraform-provider/pull/57#discussion_r1513894181
########## cloudstack/resource_cloudstack_instance.go: ########## @@ -570,7 +570,7 @@ func resourceCloudStackInstanceUpdate(d *schema.ResourceData, meta interface{}) if d.HasChange("keypair") { log.Printf("[DEBUG] SSH keypair changed for %s, starting update", name) - p := cs.SSH.NewResetSSHKeyForVirtualMachineParams(d.Id(), d.Get("keypair").(string)) + p := cs.SSH.NewResetSSHKeyForVirtualMachineParams(d.Id()) Review Comment: you should set the `keypair` param here as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org