stop databases from being deleted (#312)

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2019-07-23 14:48:56 -07:00 committed by Alex Stephen
parent 52bdcb7906
commit a6d44765e7
4 changed files with 4 additions and 8 deletions

View file

@ -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):