Fix bug in extend_instance

parent 3a6435ec
Pipeline #1838699 passed with stages
in 3 minutes and 47 seconds
......@@ -33,9 +33,9 @@ extend_instance:
description: 'Sets the expire_at metadata in the instance'
action: nova.servers_set_meta_item
input:
server: <% task(check_instance).published.instance.id %>
server: <% $.instance.id %>
key: expire_at
value: <% task(check_instance).published.instance.expire_at %>
value: <% $.instance.expire_at %>
action_region: <% $.region %>
on-success:
- lock_instance: <% task(check_instance).published.instance.locked %>
......@@ -45,4 +45,4 @@ extend_instance:
action: nova.servers_lock
input:
server: <% $.instance.id %>
action_region: <% $.region %>
\ No newline at end of file
action_region: <% $.region %>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment