mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-27 15:11:33 -07:00
Changing NodePool from Zone to Location (#182)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
ba60e76aee
commit
1ec588abb1
5 changed files with 59 additions and 46 deletions
|
@ -45,7 +45,9 @@ options:
|
|||
- The location where the cluster is deployed.
|
||||
required: true
|
||||
aliases:
|
||||
- region
|
||||
- zone
|
||||
version_added: 2.8
|
||||
extends_documentation_fragment: gcp
|
||||
'''
|
||||
|
||||
|
@ -362,7 +364,7 @@ import json
|
|||
|
||||
|
||||
def main():
|
||||
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['zone'])))
|
||||
module = GcpModule(argument_spec=dict(location=dict(required=True, type='str', aliases=['region', 'zone'])))
|
||||
|
||||
if not module.params['scopes']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/cloud-platform']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue