Bug fixes for GCP modules (#61359)
This commit is contained in:
parent
89744b72d3
commit
b20bfc1048
1 changed files with 3 additions and 0 deletions
|
@ -158,6 +158,9 @@ def main():
|
||||||
fetch = fetch_resource(module, self_link(module))
|
fetch = fetch_resource(module, self_link(module))
|
||||||
changed = False
|
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 fetch:
|
||||||
if state == 'present':
|
if state == 'present':
|
||||||
if is_different(module, fetch):
|
if is_different(module, fetch):
|
||||||
|
|
Loading…
Reference in a new issue