New in version 2.2.
The path to the JSON file associated with the service account email.
An arbitrary text string to use for the zone description.
The path to the PEM file associated with the service account email.
This option is deprecated and may be removed in a future release. Use credentials_file instead.
The Google Cloud Platform project ID to use.
The e-mail address for a service account with access to Google Cloud DNS.
Whether the given zone should or should not be present.
The DNS domain name of the zone.
This is NOT the Google Cloud DNS zone ID (e.g., example-com). If you attempt to specify a zone ID, this module will attempt to create a TLD and will fail.
# Basic zone creation example. - name: Create a basic zone with the minimum number of parameters. gcdns_zone: zone=example.com # Zone removal example. - name: Remove a zone. gcdns_zone: zone=example.com state=absent # Zone creation with description - name: Creating a zone with a description gcdns_zone: zone=example.com description="This is an awesome zone"
Common return values are documented here Return Values, the following are the fields unique to this module:
|state||Whether the zone is present or absent||success||string||present|
|description||The zone's description||success||string||This is an awesome zone|
|zone||The zone's DNS name||success||string||example.com.|
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.