Skip to content

Commit

Permalink
Fix ec2_vol volume_size parameter (sky-uk#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
flfernandez authored Mar 10, 2021
1 parent 054e317 commit 18c48f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create/tasks/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
snapshot: "{{item.auto_volume.snapshot | default(omit)}}"
device_name: "{{item.auto_volume.device_name}}"
encrypted: "{{item.auto_volume.encrypted}}"
volume_size: "{%- if 'src' not in item.auto_volume -%}{{item.auto_volume.volume_size}}{%- endif -%}"
volume_size: "{%- if 'src' in item.auto_volume -%}{{omit}}{%- else -%}{{item.auto_volume.volume_size}}{%- endif -%}"
volume_type: "{{item.auto_volume.volume_type}}"
delete_on_termination: yes
loop: "{{ cluster_hosts_target_denormalised_by_volume | selectattr('auto_volume.src', 'defined') | list }}"
Expand Down

0 comments on commit 18c48f6

Please sign in to comment.