diff --git a/lib/ansible/modules/cloud/google/gcp_compute_instance.py b/lib/ansible/modules/cloud/google/gcp_compute_instance.py index b71b0d7173e9b9..43c14a64d1f8c2 100644 --- a/lib/ansible/modules/cloud/google/gcp_compute_instance.py +++ b/lib/ansible/modules/cloud/google/gcp_compute_instance.py @@ -993,7 +993,7 @@ def machine_type_update(module, request, response): auth.post( ''.join([ "https://www.googleapis.com/compute/v1/", - "projdcts/{project}/zones/{zone}/instances/{name}/setMachineType" + "projects/{project}/zones/{zone}/instances/{name}/setMachineType" ]).format(**module.params), { u'machineType': machine_type_selflink(module.params.get('machine_type'), module.params)