cs_vpn_connection: fix wrong connection used (#34937)

* cs_vpn_connection: fix wrong connection used

* fix vpn_customer_gateway is required

* fix tests as we have a new required param

* code styling
This commit is contained in:
René Moser
2018-01-16 22:56:24 +01:00
committed by GitHub
parent 6351eff74e
commit 3b7136c5ab
2 changed files with 25 additions and 17 deletions

View File

@@ -28,6 +28,7 @@
- name: setup remove vpn connection
cs_vpn_connection:
vpn_customer_gateway: my_vpn_customer_gateway
vpc: my_vpc
zone: "{{ cs_common_zone_adv }}"
state: absent
@@ -104,6 +105,7 @@
- name: test remove vpn connection in check mode
cs_vpn_connection:
vpn_customer_gateway: my_vpn_customer_gateway
vpc: my_vpc
zone: "{{ cs_common_zone_adv }}"
state: absent
@@ -118,6 +120,7 @@
- name: test remove vpn connection
cs_vpn_connection:
vpn_customer_gateway: my_vpn_customer_gateway
vpc: my_vpc
zone: "{{ cs_common_zone_adv }}"
state: absent
@@ -131,6 +134,7 @@
- name: test remove vpn connection idempotence
cs_vpn_connection:
vpn_customer_gateway: my_vpn_customer_gateway
vpc: my_vpc
zone: "{{ cs_common_zone_adv }}"
state: absent
@@ -190,6 +194,7 @@
- name: cleanup remove vpn connection
cs_vpn_connection:
vpn_customer_gateway: my_vpn_customer_gateway
vpc: my_vpc
zone: "{{ cs_common_zone_adv }}"
state: absent