mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-19 01:11:21 -07:00
Reverting some ResourceRef changes (#226)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
795304780b
commit
bbaf1a79c7
64 changed files with 423 additions and 379 deletions
|
@ -44,9 +44,10 @@ options:
|
|||
description:
|
||||
- The name of the Cloud SQL instance. This does not include the project ID.
|
||||
- 'This field represents a link to a Instance resource in GCP. It can be specified
|
||||
in two ways. First, you can place in the name of the resource here as a string
|
||||
Alternatively, you can add `register: name-of-resource` to a gcp_sql_instance
|
||||
task and then set this instance field to "{{ name-of-resource }}"'
|
||||
in two ways. First, you can place a dictionary with key ''name'' and value of
|
||||
your resource''s name Alternatively, you can add `register: name-of-resource`
|
||||
to a gcp_sql_instance task and then set this instance field to "{{ name-of-resource
|
||||
}}"'
|
||||
required: true
|
||||
extends_documentation_fragment: gcp
|
||||
'''
|
||||
|
@ -83,7 +84,7 @@ items:
|
|||
description:
|
||||
- The name of the Cloud SQL instance. This does not include the project ID.
|
||||
returned: success
|
||||
type: str
|
||||
type: dict
|
||||
password:
|
||||
description:
|
||||
- The password for the user.
|
||||
|
@ -103,7 +104,7 @@ import json
|
|||
|
||||
|
||||
def main():
|
||||
module = GcpModule(argument_spec=dict(instance=dict(required=True)))
|
||||
module = GcpModule(argument_spec=dict(instance=dict(required=True, type='dict')))
|
||||
|
||||
if not module.params['scopes']:
|
||||
module.params['scopes'] = ['https://www.googleapis.com/auth/sqlservice.admin']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue