mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-23 21:30:29 -07:00
fix gcp_bigtable_instance
gcp_bigtable_instance scope was using an incorrect scope, which was causing oauth requests to not complete successfully.
This commit is contained in:
parent
44eb7c2d29
commit
6171713572
4 changed files with 3 additions and 8 deletions
|
@ -264,7 +264,7 @@ def main():
|
|||
)
|
||||
|
||||
if not module.params['scopes']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/bigtable']
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||
|
||||
state = module.params['state']
|
||||
|
||||
|
|
|
@ -184,7 +184,7 @@ def main():
|
|||
module = GcpModule(argument_spec=dict())
|
||||
|
||||
if not module.params['scopes']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/bigtable']
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||
|
||||
return_value = {'resources': fetch_list(module, collection(module))}
|
||||
module.exit_json(**return_value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue