mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-26 04:41:25 -07:00
Better resourceref flexibility (#149)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
3496923252
commit
982933cfe8
64 changed files with 569 additions and 526 deletions
|
@ -61,10 +61,9 @@ 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. You can add `register: name-of-resource` to a gcp_sql_instance
|
||||
task and then set this instance field to "{{ name-of-resource }}" Alternatively,
|
||||
you can set this instance to a dictionary with the name key where the value
|
||||
is the name of your Instance'
|
||||
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 }}"'
|
||||
required: true
|
||||
password:
|
||||
description:
|
||||
|
@ -119,7 +118,7 @@ instance:
|
|||
description:
|
||||
- The name of the Cloud SQL instance. This does not include the project ID.
|
||||
returned: success
|
||||
type: dict
|
||||
type: str
|
||||
password:
|
||||
description:
|
||||
- The password for the user.
|
||||
|
@ -148,8 +147,8 @@ def main():
|
|||
state=dict(default='present', choices=['present', 'absent'], type='str'),
|
||||
host=dict(required=True, type='str'),
|
||||
name=dict(required=True, type='str'),
|
||||
instance=dict(required=True, type='dict'),
|
||||
password=dict(type='str'),
|
||||
instance=dict(required=True),
|
||||
password=dict(type='str')
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue