diff options
Diffstat (limited to 'cloud/google/gce.py')
-rw-r--r-- | cloud/google/gce.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloud/google/gce.py b/cloud/google/gce.py index 7bf342bd..e1682e9c 100644 --- a/cloud/google/gce.py +++ b/cloud/google/gce.py @@ -449,7 +449,7 @@ def create_instances(module, gce, instance_names, number): bad_perms = [] if service_account_permissions: for perm in service_account_permissions: - if perm not in gce.SA_SCOPES_MAP.keys(): + if perm not in gce.SA_SCOPES_MAP: bad_perms.append(perm) if len(bad_perms) > 0: module.fail_json(msg='bad permissions: %s' % str(bad_perms)) |