diff --git a/plugins/modules/gcp_compute_vpn_tunnel.py b/plugins/modules/gcp_compute_vpn_tunnel.py index 7efe468..693d76f 100644 --- a/plugins/modules/gcp_compute_vpn_tunnel.py +++ b/plugins/modules/gcp_compute_vpn_tunnel.py @@ -182,6 +182,11 @@ EXAMPLES = ''' ''' RETURN = ''' +id: + description: + - The unique identifier for the resource. This identifier is defined by the server. + returned: success + type: str creationTimestamp: description: - Creation timestamp in RFC3339 text format. @@ -411,6 +416,7 @@ def is_different(module, response): # This is for doing comparisons with Ansible's current parameters. def response_to_hash(module, response): return { + u'id': response.get(u'id'), u'creationTimestamp': response.get(u'creationTimestamp'), u'name': response.get(u'name'), u'description': module.params.get('description'), diff --git a/plugins/modules/gcp_compute_vpn_tunnel_info.py b/plugins/modules/gcp_compute_vpn_tunnel_info.py index f88cc10..d294d0f 100644 --- a/plugins/modules/gcp_compute_vpn_tunnel_info.py +++ b/plugins/modules/gcp_compute_vpn_tunnel_info.py @@ -73,6 +73,12 @@ resources: returned: always type: complex contains: + id: + description: + - The unique identifier for the resource. This identifier is defined by the + server. + returned: success + type: str creationTimestamp: description: - Creation timestamp in RFC3339 text format.