mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-06-06 00:49:10 -07:00
Object.input should == noneditable (#62)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
fc87db420b
commit
7c4d1c582b
12 changed files with 169 additions and 375 deletions
|
@ -461,11 +461,7 @@ def create(module, link, kind):
|
|||
|
||||
|
||||
def update(module, link, kind):
|
||||
auth = GcpSession(module, 'compute')
|
||||
auth.post(
|
||||
''.join(["https://www.googleapis.com/compute/v1/", "projects/{project}/regions/{region}/forwardingRules/{name}/setTarget"]).format(**module.params),
|
||||
{u'target': replace_resource_dict(module.params.get(u'target', {}), 'selfLink')},
|
||||
)
|
||||
module.fail_json(msg="ForwardingRule cannot be edited")
|
||||
|
||||
|
||||
def delete(module, link, kind):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue