mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-23 11:21:22 -07:00
stop databases from being deleted (#312)
Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
parent
52bdcb7906
commit
a6d44765e7
4 changed files with 4 additions and 8 deletions
|
@ -763,8 +763,7 @@ def create(module, link, kind):
|
|||
|
||||
|
||||
def update(module, link, kind, fetch):
|
||||
auth = GcpSession(module, 'sql')
|
||||
return wait_for_operation(module, auth.put(link, resource_to_request(module)))
|
||||
module.fail_json(msg="SQL objects can't be updated to ensure data safety")
|
||||
|
||||
|
||||
def delete(module, link, kind, fetch):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue