Change exactly one of in VPN tunnel to conflicts with (#4120) (#311)

* Revert addition of exactly one of that is a breaking change

* Switch to conflicts with

* Don't reference self

Signed-off-by: Modular Magician <magic-modules@google.com>
This commit is contained in:
The Magician 2020-10-16 14:46:59 -07:00 committed by GitHub
parent 3af242d21d
commit 93b2e441a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -414,7 +414,8 @@ def main():
local_traffic_selector=dict(type='list', elements='str'),
remote_traffic_selector=dict(type='list', elements='str'),
region=dict(required=True, type='str'),
)
),
mutually_exclusive=[['peer_external_gateway', 'peer_gcp_gateway']],
)
if not module.params['scopes']: