mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Bug fixes for GCP modules (#55360)
This commit is contained in:
parent
ef3607f1e7
commit
6193658608
15 changed files with 18 additions and 27 deletions
|
@ -204,7 +204,8 @@ def create(module, link, kind):
|
||||||
|
|
||||||
|
|
||||||
def update(module, link, kind):
|
def update(module, link, kind):
|
||||||
module.fail_json(msg="SslCertificate cannot be edited")
|
delete(module, self_link(module), kind)
|
||||||
|
create(module, collection(module), kind)
|
||||||
|
|
||||||
|
|
||||||
def delete(module, link, kind):
|
def delete(module, link, kind):
|
||||||
|
|
|
@ -222,7 +222,8 @@ def create(module, link, kind):
|
||||||
|
|
||||||
|
|
||||||
def update(module, link, kind):
|
def update(module, link, kind):
|
||||||
module.fail_json(msg="TargetVpnGateway cannot be edited")
|
delete(module, self_link(module), kind)
|
||||||
|
create(module, collection(module), kind)
|
||||||
|
|
||||||
|
|
||||||
def delete(module, link, kind):
|
def delete(module, link, kind):
|
||||||
|
|
|
@ -314,7 +314,8 @@ def create(module, link, kind):
|
||||||
|
|
||||||
|
|
||||||
def update(module, link, kind):
|
def update(module, link, kind):
|
||||||
module.fail_json(msg="VpnTunnel cannot be edited")
|
delete(module, self_link(module), kind)
|
||||||
|
create(module, collection(module), kind)
|
||||||
|
|
||||||
|
|
||||||
def delete(module, link, kind):
|
def delete(module, link, kind):
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
# defaults file
|
resource_name: "{{ resource_prefix }}"
|
||||||
resource_name: '{{resource_prefix}}'
|
|
||||||
|
|
Loading…
Reference in a new issue