mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-07 03:10:30 -07:00
Conflicts-with (#133)
<!-- This change is generated by MagicModules. --> /cc @rambleraptor
This commit is contained in:
parent
462c731c4d
commit
39fe1760be
3 changed files with 12 additions and 3 deletions
|
@ -447,7 +447,14 @@ def main():
|
|||
source_tags=dict(type='list', elements='str'),
|
||||
target_service_accounts=dict(type='list', elements='str'),
|
||||
target_tags=dict(type='list', elements='str')
|
||||
)
|
||||
),
|
||||
mutually_exclusive=[['allowed', 'denied'],
|
||||
['destination_ranges', 'source_ranges', 'source_tags'],
|
||||
['destination_ranges', 'source_ranges'],
|
||||
['source_service_accounts', 'source_tags', 'target_tags'],
|
||||
['destination_ranges', 'source_service_accounts', 'source_tags', 'target_service_accounts'],
|
||||
['source_tags', 'target_service_accounts', 'target_tags'],
|
||||
['source_service_accounts', 'target_service_accounts', 'target_tags']]
|
||||
)
|
||||
|
||||
if not module.params['scopes']:
|
||||
|
|
|
@ -566,7 +566,8 @@ def main():
|
|||
port_name=dict(type='str'),
|
||||
proxy_header=dict(default='NONE', type='str', choices=['NONE', 'PROXY_V1'])
|
||||
))
|
||||
)
|
||||
),
|
||||
mutually_exclusive=[['http_health_check', 'https_health_check', 'ssl_health_check', 'tcp_health_check']]
|
||||
)
|
||||
|
||||
if not module.params['scopes']:
|
||||
|
|
|
@ -218,7 +218,8 @@ def main():
|
|||
routing_config=dict(type='dict', options=dict(
|
||||
routing_mode=dict(required=True, type='str', choices=['REGIONAL', 'GLOBAL'])
|
||||
))
|
||||
)
|
||||
),
|
||||
mutually_exclusive=[['auto_create_subnetworks', 'ipv4_range']]
|
||||
)
|
||||
|
||||
if not module.params['scopes']:
|
||||
|
|
Loading…
Add table
Reference in a new issue