|
|
|
@ -32,8 +32,6 @@ DOCUMENTATION = '''
|
|
|
|
|
module: gcp_compute_target_vpn_gateway_info
|
|
|
|
|
description:
|
|
|
|
|
- Gather info for GCP TargetVpnGateway
|
|
|
|
|
- This module was called C(gcp_compute_target_vpn_gateway_facts) before Ansible 2.9.
|
|
|
|
|
The usage has not changed.
|
|
|
|
|
short_description: Gather info for GCP TargetVpnGateway
|
|
|
|
|
version_added: '2.7'
|
|
|
|
|
author: Google Inc. (@googlecloudplatform)
|
|
|
|
@ -182,9 +180,6 @@ import json
|
|
|
|
|
def main():
|
|
|
|
|
module = GcpModule(argument_spec=dict(filters=dict(type='list', elements='str'), region=dict(required=True, type='str')))
|
|
|
|
|
|
|
|
|
|
if module._name == 'gcp_compute_target_vpn_gateway_facts':
|
|
|
|
|
module.deprecate("The 'gcp_compute_target_vpn_gateway_facts' module has been renamed to 'gcp_compute_target_vpn_gateway_info'", version='2.13')
|
|
|
|
|
|
|
|
|
|
if not module.params['scopes']:
|
|
|
|
|
module.params['scopes'] = ['https://www.googleapis.com/auth/compute']
|
|
|
|
|
|
|
|
|
|