mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 10:50:28 -07:00
spanner database fix (#374)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
917e6ad81c
commit
fa3c220fc8
1 changed files with 3 additions and 0 deletions
|
@ -158,6 +158,9 @@ def main():
|
|||
fetch = fetch_resource(module, self_link(module))
|
||||
changed = False
|
||||
|
||||
if 'instance' in module.params and 'name' in module.params['instance']:
|
||||
module.params['instance']['name'] = module.params['instance']['name'].split('/')[-1]
|
||||
|
||||
if fetch:
|
||||
if state == 'present':
|
||||
if is_different(module, fetch):
|
||||
|
|
Loading…
Add table
Reference in a new issue