Skip to content

Commit

Permalink
pass vpc_subnet_id explicitly to avoid amazon.aws error, fixes #46
Browse files Browse the repository at this point in the history
The upstream code there can call  their get_default_vpc(), which will
fail if our users do not have one in their AWS account.

It is common practice to remove it and build a more restricted one -
causing errors for users that do so.
  • Loading branch information
danielpodwysocki authored and zhan9san committed Nov 13, 2023
1 parent bae14d8 commit d15cfa7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
profile: "{{ item.aws_profile | default(omit) }}"
region: "{{ item.region | default(omit) }}"
instance_ids: "{{ instance_config | map(attribute='instance_ids') | flatten }}"
vpc_subnet_id: "{{ item.vpc_subnet_id }}"
state: absent
loop: "{{ platforms }}"
loop_control:
Expand Down

0 comments on commit d15cfa7

Please sign in to comment.