diff --git a/plugins/doc_fragments/gcp.py b/plugins/doc_fragments/gcp.py index a2d52124..4f2e7ca1 100644 --- a/plugins/doc_fragments/gcp.py +++ b/plugins/doc_fragments/gcp.py @@ -21,7 +21,7 @@ options: - The type of credential used. type: str required: true - choices: [ application, machineaccount, serviceaccount ] + choices: [ application, machineaccount, serviceaccount, impersonation ] service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a JSON string that represents it. diff --git a/plugins/inventory/gcp_compute.py b/plugins/inventory/gcp_compute.py index 9a7cde80..b029ce12 100644 --- a/plugins/inventory/gcp_compute.py +++ b/plugins/inventory/gcp_compute.py @@ -61,7 +61,7 @@ DOCUMENTATION = """ description: - The type of credential used. required: True - choices: ['application', 'serviceaccount', 'machineaccount', 'accesstoken'] + choices: ['application', 'serviceaccount', 'machineaccount', 'accesstoken', 'impersonation'] env: - name: GCP_AUTH_KIND scopes: @@ -89,6 +89,7 @@ DOCUMENTATION = """ description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. env: - name: GCP_SERVICE_ACCOUNT_EMAIL access_token: diff --git a/plugins/module_utils/gcp_utils.py b/plugins/module_utils/gcp_utils.py index baf9a6c0..b540275e 100644 --- a/plugins/module_utils/gcp_utils.py +++ b/plugins/module_utils/gcp_utils.py @@ -17,6 +17,7 @@ except ImportError: try: import google.auth import google.auth.compute_engine + import google.auth.impersonated_credentials from google.oauth2 import service_account, credentials as oauth2 from google.auth.transport.requests import AuthorizedSession HAS_GOOGLE_LIBRARIES = True @@ -200,9 +201,9 @@ class GcpSession(object): if not HAS_GOOGLE_LIBRARIES: self.module.fail_json(msg="Please install the google-auth library") - if self.module.params.get('service_account_email') is not None and self.module.params['auth_kind'] != 'machineaccount': + if self.module.params.get('service_account_email') is not None and not self.module.params['auth_kind'] in ['machineaccount','impersonation']: self.module.fail_json( - msg="Service Account Email only works with Machine Account-based authentication" + msg="Service Account Email only works with Impersonation and Machine Account-based authentication" ) if (self.module.params.get('service_account_file') is not None or @@ -260,6 +261,20 @@ class GcpSession(object): msg='An access token must be supplied when auth_kind is accesstoken' ) return oauth2.Credentials(access_token, scopes=self.module.params['scopes']) + + if cred_type == 'impersonation': + service_account_email = self.module.params.get('service_account_email') + if service_account_email is None: + self.module.fail_json( + msg='Service Account impersonation authentication requires setting service_account_email' + ) + source_credentials, _ = google.auth.default() + return google.auth.impersonated_credentials.Credentials( + source_credentials=source_credentials, + target_principal=self.module.params['service_account_email'], + target_scopes=self.module.params['scopes'], + lifetime=3600, + ) self.module.fail_json(msg="Credential type '%s' not implemented" % cred_type) @@ -291,7 +306,7 @@ class GcpModule(AnsibleModule): auth_kind=dict( required=True, fallback=(env_fallback, ['GCP_AUTH_KIND']), - choices=['machineaccount', 'serviceaccount', 'accesstoken', 'application'], + choices=['machineaccount', 'serviceaccount', 'accesstoken', 'application', 'impersonation'], type='str'), service_account_email=dict( required=False, diff --git a/plugins/modules/gcp_appengine_firewall_rule.py b/plugins/modules/gcp_appengine_firewall_rule.py index f0dbd61c..b59730d7 100644 --- a/plugins/modules/gcp_appengine_firewall_rule.py +++ b/plugins/modules/gcp_appengine_firewall_rule.py @@ -88,6 +88,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -101,6 +102,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_appengine_firewall_rule_info.py b/plugins/modules/gcp_appengine_firewall_rule_info.py index ad9a22a9..26ba5b8b 100644 --- a/plugins/modules/gcp_appengine_firewall_rule_info.py +++ b/plugins/modules/gcp_appengine_firewall_rule_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_bigquery_dataset.py b/plugins/modules/gcp_bigquery_dataset.py index efc365ae..b63074a4 100644 --- a/plugins/modules/gcp_bigquery_dataset.py +++ b/plugins/modules/gcp_bigquery_dataset.py @@ -225,6 +225,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -238,6 +239,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_bigquery_dataset_info.py b/plugins/modules/gcp_bigquery_dataset_info.py index d972b37f..6e1e559f 100644 --- a/plugins/modules/gcp_bigquery_dataset_info.py +++ b/plugins/modules/gcp_bigquery_dataset_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_bigquery_table.py b/plugins/modules/gcp_bigquery_table.py index 0eaebb1d..6be8d53c 100644 --- a/plugins/modules/gcp_bigquery_table.py +++ b/plugins/modules/gcp_bigquery_table.py @@ -479,6 +479,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -492,6 +493,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_bigquery_table_info.py b/plugins/modules/gcp_bigquery_table_info.py index 40d0ae23..1e917cc3 100644 --- a/plugins/modules/gcp_bigquery_table_info.py +++ b/plugins/modules/gcp_bigquery_table_info.py @@ -71,6 +71,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_bigtable_instance.py b/plugins/modules/gcp_bigtable_instance.py index e219cb22..09e93aa1 100644 --- a/plugins/modules/gcp_bigtable_instance.py +++ b/plugins/modules/gcp_bigtable_instance.py @@ -118,6 +118,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -131,6 +132,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_bigtable_instance_info.py b/plugins/modules/gcp_bigtable_instance_info.py index 5336f9e4..3a237ac7 100644 --- a/plugins/modules/gcp_bigtable_instance_info.py +++ b/plugins/modules/gcp_bigtable_instance_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_cloudbuild_trigger.py b/plugins/modules/gcp_cloudbuild_trigger.py index 218135a8..d7dc957d 100644 --- a/plugins/modules/gcp_cloudbuild_trigger.py +++ b/plugins/modules/gcp_cloudbuild_trigger.py @@ -728,6 +728,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -741,6 +742,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_cloudbuild_trigger_info.py b/plugins/modules/gcp_cloudbuild_trigger_info.py index 2f6fcfd2..12cdd13a 100644 --- a/plugins/modules/gcp_cloudbuild_trigger_info.py +++ b/plugins/modules/gcp_cloudbuild_trigger_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_cloudfunctions_cloud_function.py b/plugins/modules/gcp_cloudfunctions_cloud_function.py index e09ed7be..5c1b1ad1 100644 --- a/plugins/modules/gcp_cloudfunctions_cloud_function.py +++ b/plugins/modules/gcp_cloudfunctions_cloud_function.py @@ -175,6 +175,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -188,6 +189,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_cloudfunctions_cloud_function_info.py b/plugins/modules/gcp_cloudfunctions_cloud_function_info.py index 778f2b51..69b9137b 100644 --- a/plugins/modules/gcp_cloudfunctions_cloud_function_info.py +++ b/plugins/modules/gcp_cloudfunctions_cloud_function_info.py @@ -58,6 +58,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -71,6 +72,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_cloudscheduler_job.py b/plugins/modules/gcp_cloudscheduler_job.py index e2adf59e..79d496ad 100644 --- a/plugins/modules/gcp_cloudscheduler_job.py +++ b/plugins/modules/gcp_cloudscheduler_job.py @@ -311,6 +311,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -324,6 +325,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_cloudscheduler_job_info.py b/plugins/modules/gcp_cloudscheduler_job_info.py index 0c03f714..aff2301d 100644 --- a/plugins/modules/gcp_cloudscheduler_job_info.py +++ b/plugins/modules/gcp_cloudscheduler_job_info.py @@ -58,6 +58,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -71,6 +72,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_cloudtasks_queue.py b/plugins/modules/gcp_cloudtasks_queue.py index f8b98f48..e0c9a09b 100644 --- a/plugins/modules/gcp_cloudtasks_queue.py +++ b/plugins/modules/gcp_cloudtasks_queue.py @@ -189,6 +189,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -202,6 +203,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_cloudtasks_queue_info.py b/plugins/modules/gcp_cloudtasks_queue_info.py index f006fe85..e70fe4bb 100644 --- a/plugins/modules/gcp_cloudtasks_queue_info.py +++ b/plugins/modules/gcp_cloudtasks_queue_info.py @@ -58,6 +58,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -71,6 +72,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_address.py b/plugins/modules/gcp_compute_address.py index 55fd596b..87800b5e 100644 --- a/plugins/modules/gcp_compute_address.py +++ b/plugins/modules/gcp_compute_address.py @@ -154,6 +154,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -167,6 +168,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_address_info.py b/plugins/modules/gcp_compute_address_info.py index b919a303..b52e12b0 100644 --- a/plugins/modules/gcp_compute_address_info.py +++ b/plugins/modules/gcp_compute_address_info.py @@ -66,6 +66,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -79,6 +80,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_autoscaler.py b/plugins/modules/gcp_compute_autoscaler.py index 267116f7..e4f627cc 100644 --- a/plugins/modules/gcp_compute_autoscaler.py +++ b/plugins/modules/gcp_compute_autoscaler.py @@ -261,6 +261,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -274,6 +275,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_autoscaler_info.py b/plugins/modules/gcp_compute_autoscaler_info.py index f908fece..b6e9cb2d 100644 --- a/plugins/modules/gcp_compute_autoscaler_info.py +++ b/plugins/modules/gcp_compute_autoscaler_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_backend_bucket.py b/plugins/modules/gcp_compute_backend_bucket.py index 420b5934..f3cc242f 100644 --- a/plugins/modules/gcp_compute_backend_bucket.py +++ b/plugins/modules/gcp_compute_backend_bucket.py @@ -175,6 +175,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -188,6 +189,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_backend_bucket_info.py b/plugins/modules/gcp_compute_backend_bucket_info.py index 8a504294..5dd11ea2 100644 --- a/plugins/modules/gcp_compute_backend_bucket_info.py +++ b/plugins/modules/gcp_compute_backend_bucket_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_backend_service.py b/plugins/modules/gcp_compute_backend_service.py index 6decbc8c..4242ebbd 100644 --- a/plugins/modules/gcp_compute_backend_service.py +++ b/plugins/modules/gcp_compute_backend_service.py @@ -709,6 +709,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -722,6 +723,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_backend_service_info.py b/plugins/modules/gcp_compute_backend_service_info.py index 54171d62..81bd8331 100644 --- a/plugins/modules/gcp_compute_backend_service_info.py +++ b/plugins/modules/gcp_compute_backend_service_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_disk.py b/plugins/modules/gcp_compute_disk.py index d3880eed..674bd5a7 100644 --- a/plugins/modules/gcp_compute_disk.py +++ b/plugins/modules/gcp_compute_disk.py @@ -239,6 +239,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -252,6 +253,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_disk_info.py b/plugins/modules/gcp_compute_disk_info.py index c8e4be1d..99c15581 100644 --- a/plugins/modules/gcp_compute_disk_info.py +++ b/plugins/modules/gcp_compute_disk_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_external_vpn_gateway.py b/plugins/modules/gcp_compute_external_vpn_gateway.py index e2d96b13..602ef05e 100644 --- a/plugins/modules/gcp_compute_external_vpn_gateway.py +++ b/plugins/modules/gcp_compute_external_vpn_gateway.py @@ -105,6 +105,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -118,6 +119,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_external_vpn_gateway_info.py b/plugins/modules/gcp_compute_external_vpn_gateway_info.py index ffd36e42..3b6c6c7a 100644 --- a/plugins/modules/gcp_compute_external_vpn_gateway_info.py +++ b/plugins/modules/gcp_compute_external_vpn_gateway_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_firewall.py b/plugins/modules/gcp_compute_firewall.py index cee64bc7..b8013326 100644 --- a/plugins/modules/gcp_compute_firewall.py +++ b/plugins/modules/gcp_compute_firewall.py @@ -264,6 +264,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -277,6 +278,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_firewall_info.py b/plugins/modules/gcp_compute_firewall_info.py index e5cb8306..ce989aef 100644 --- a/plugins/modules/gcp_compute_firewall_info.py +++ b/plugins/modules/gcp_compute_firewall_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_forwarding_rule.py b/plugins/modules/gcp_compute_forwarding_rule.py index 8141605e..01db735c 100644 --- a/plugins/modules/gcp_compute_forwarding_rule.py +++ b/plugins/modules/gcp_compute_forwarding_rule.py @@ -238,6 +238,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -251,6 +252,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_forwarding_rule_info.py b/plugins/modules/gcp_compute_forwarding_rule_info.py index d8a8e581..46ff34e2 100644 --- a/plugins/modules/gcp_compute_forwarding_rule_info.py +++ b/plugins/modules/gcp_compute_forwarding_rule_info.py @@ -66,6 +66,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -79,6 +80,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_global_address.py b/plugins/modules/gcp_compute_global_address.py index 22815350..af8c6a7c 100644 --- a/plugins/modules/gcp_compute_global_address.py +++ b/plugins/modules/gcp_compute_global_address.py @@ -125,6 +125,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -138,6 +139,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_global_address_info.py b/plugins/modules/gcp_compute_global_address_info.py index 377b5f48..2d98deee 100644 --- a/plugins/modules/gcp_compute_global_address_info.py +++ b/plugins/modules/gcp_compute_global_address_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_global_forwarding_rule.py b/plugins/modules/gcp_compute_global_forwarding_rule.py index 158caab8..6b66f6f0 100644 --- a/plugins/modules/gcp_compute_global_forwarding_rule.py +++ b/plugins/modules/gcp_compute_global_forwarding_rule.py @@ -218,6 +218,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -231,6 +232,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_global_forwarding_rule_info.py b/plugins/modules/gcp_compute_global_forwarding_rule_info.py index 68f9de4c..5264348a 100644 --- a/plugins/modules/gcp_compute_global_forwarding_rule_info.py +++ b/plugins/modules/gcp_compute_global_forwarding_rule_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_health_check.py b/plugins/modules/gcp_compute_health_check.py index 54ab3000..0fadd55e 100644 --- a/plugins/modules/gcp_compute_health_check.py +++ b/plugins/modules/gcp_compute_health_check.py @@ -472,6 +472,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -485,6 +486,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_health_check_info.py b/plugins/modules/gcp_compute_health_check_info.py index 78662af3..7331c5de 100644 --- a/plugins/modules/gcp_compute_health_check_info.py +++ b/plugins/modules/gcp_compute_health_check_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_http_health_check.py b/plugins/modules/gcp_compute_http_health_check.py index ee1bae39..185cdabc 100644 --- a/plugins/modules/gcp_compute_http_health_check.py +++ b/plugins/modules/gcp_compute_http_health_check.py @@ -126,6 +126,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -139,6 +140,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_http_health_check_info.py b/plugins/modules/gcp_compute_http_health_check_info.py index cfd394db..4f0f44b1 100644 --- a/plugins/modules/gcp_compute_http_health_check_info.py +++ b/plugins/modules/gcp_compute_http_health_check_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_https_health_check.py b/plugins/modules/gcp_compute_https_health_check.py index cd38bb19..1974b9b0 100644 --- a/plugins/modules/gcp_compute_https_health_check.py +++ b/plugins/modules/gcp_compute_https_health_check.py @@ -123,6 +123,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -136,6 +137,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_https_health_check_info.py b/plugins/modules/gcp_compute_https_health_check_info.py index 4597ca3a..23c3ed78 100644 --- a/plugins/modules/gcp_compute_https_health_check_info.py +++ b/plugins/modules/gcp_compute_https_health_check_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_image.py b/plugins/modules/gcp_compute_image.py index 741536e8..d4bc9e82 100644 --- a/plugins/modules/gcp_compute_image.py +++ b/plugins/modules/gcp_compute_image.py @@ -230,6 +230,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -243,6 +244,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_image_info.py b/plugins/modules/gcp_compute_image_info.py index dff5da92..ba2189ee 100644 --- a/plugins/modules/gcp_compute_image_info.py +++ b/plugins/modules/gcp_compute_image_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_instance.py b/plugins/modules/gcp_compute_instance.py index ab7ce1c7..83a62237 100644 --- a/plugins/modules/gcp_compute_instance.py +++ b/plugins/modules/gcp_compute_instance.py @@ -543,6 +543,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -556,6 +557,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_instance_group.py b/plugins/modules/gcp_compute_instance_group.py index 8f65b4b2..bede0531 100644 --- a/plugins/modules/gcp_compute_instance_group.py +++ b/plugins/modules/gcp_compute_instance_group.py @@ -139,6 +139,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -152,6 +153,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_instance_group_info.py b/plugins/modules/gcp_compute_instance_group_info.py index da030c52..cb948b3a 100644 --- a/plugins/modules/gcp_compute_instance_group_info.py +++ b/plugins/modules/gcp_compute_instance_group_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_instance_group_manager.py b/plugins/modules/gcp_compute_instance_group_manager.py index 776503d5..fff618b5 100644 --- a/plugins/modules/gcp_compute_instance_group_manager.py +++ b/plugins/modules/gcp_compute_instance_group_manager.py @@ -137,6 +137,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -150,6 +151,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_instance_group_manager_info.py b/plugins/modules/gcp_compute_instance_group_manager_info.py index 5caf7c29..25e66cb7 100644 --- a/plugins/modules/gcp_compute_instance_group_manager_info.py +++ b/plugins/modules/gcp_compute_instance_group_manager_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_instance_info.py b/plugins/modules/gcp_compute_instance_info.py index 22d87e9a..126a9f59 100644 --- a/plugins/modules/gcp_compute_instance_info.py +++ b/plugins/modules/gcp_compute_instance_info.py @@ -69,6 +69,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -82,6 +83,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_instance_template.py b/plugins/modules/gcp_compute_instance_template.py index 4eb1a7ce..7c8a8d8e 100644 --- a/plugins/modules/gcp_compute_instance_template.py +++ b/plugins/modules/gcp_compute_instance_template.py @@ -486,6 +486,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -499,6 +500,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_instance_template_info.py b/plugins/modules/gcp_compute_instance_template_info.py index 943cf021..e209396a 100644 --- a/plugins/modules/gcp_compute_instance_template_info.py +++ b/plugins/modules/gcp_compute_instance_template_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_interconnect_attachment.py b/plugins/modules/gcp_compute_interconnect_attachment.py index 5deac092..b28fc9c6 100644 --- a/plugins/modules/gcp_compute_interconnect_attachment.py +++ b/plugins/modules/gcp_compute_interconnect_attachment.py @@ -195,6 +195,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -208,6 +209,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_interconnect_attachment_info.py b/plugins/modules/gcp_compute_interconnect_attachment_info.py index 0d30dba1..51e5963d 100644 --- a/plugins/modules/gcp_compute_interconnect_attachment_info.py +++ b/plugins/modules/gcp_compute_interconnect_attachment_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_network.py b/plugins/modules/gcp_compute_network.py index e093195f..ec583560 100644 --- a/plugins/modules/gcp_compute_network.py +++ b/plugins/modules/gcp_compute_network.py @@ -109,6 +109,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -122,6 +123,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_network_endpoint_group.py b/plugins/modules/gcp_compute_network_endpoint_group.py index d6350de2..b28d1c09 100644 --- a/plugins/modules/gcp_compute_network_endpoint_group.py +++ b/plugins/modules/gcp_compute_network_endpoint_group.py @@ -125,6 +125,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -138,6 +139,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_network_endpoint_group_info.py b/plugins/modules/gcp_compute_network_endpoint_group_info.py index e34941a1..c40bd5b0 100644 --- a/plugins/modules/gcp_compute_network_endpoint_group_info.py +++ b/plugins/modules/gcp_compute_network_endpoint_group_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_network_info.py b/plugins/modules/gcp_compute_network_info.py index 854687ee..6b620a79 100644 --- a/plugins/modules/gcp_compute_network_info.py +++ b/plugins/modules/gcp_compute_network_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_node_group.py b/plugins/modules/gcp_compute_node_group.py index c4231107..b5584551 100644 --- a/plugins/modules/gcp_compute_node_group.py +++ b/plugins/modules/gcp_compute_node_group.py @@ -142,6 +142,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -155,6 +156,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_node_group_info.py b/plugins/modules/gcp_compute_node_group_info.py index a09934ef..d546d68f 100644 --- a/plugins/modules/gcp_compute_node_group_info.py +++ b/plugins/modules/gcp_compute_node_group_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_node_template.py b/plugins/modules/gcp_compute_node_template.py index 5de307c2..0c4edee8 100644 --- a/plugins/modules/gcp_compute_node_template.py +++ b/plugins/modules/gcp_compute_node_template.py @@ -136,6 +136,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -149,6 +150,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_node_template_info.py b/plugins/modules/gcp_compute_node_template_info.py index 0a5a53ee..ca3930ea 100644 --- a/plugins/modules/gcp_compute_node_template_info.py +++ b/plugins/modules/gcp_compute_node_template_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_autoscaler.py b/plugins/modules/gcp_compute_region_autoscaler.py index 6d4cca95..02016ce6 100644 --- a/plugins/modules/gcp_compute_region_autoscaler.py +++ b/plugins/modules/gcp_compute_region_autoscaler.py @@ -238,6 +238,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -251,6 +252,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_autoscaler_info.py b/plugins/modules/gcp_compute_region_autoscaler_info.py index 6775944c..553a7097 100644 --- a/plugins/modules/gcp_compute_region_autoscaler_info.py +++ b/plugins/modules/gcp_compute_region_autoscaler_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_backend_service.py b/plugins/modules/gcp_compute_region_backend_service.py index 832cfe54..08a569bc 100644 --- a/plugins/modules/gcp_compute_region_backend_service.py +++ b/plugins/modules/gcp_compute_region_backend_service.py @@ -720,6 +720,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -733,6 +734,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_backend_service_info.py b/plugins/modules/gcp_compute_region_backend_service_info.py index 99c2b750..6794b0f7 100644 --- a/plugins/modules/gcp_compute_region_backend_service_info.py +++ b/plugins/modules/gcp_compute_region_backend_service_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_disk.py b/plugins/modules/gcp_compute_region_disk.py index 705f7aab..e8fbecc4 100644 --- a/plugins/modules/gcp_compute_region_disk.py +++ b/plugins/modules/gcp_compute_region_disk.py @@ -177,6 +177,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -190,6 +191,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_disk_info.py b/plugins/modules/gcp_compute_region_disk_info.py index 76d4a706..da7e724c 100644 --- a/plugins/modules/gcp_compute_region_disk_info.py +++ b/plugins/modules/gcp_compute_region_disk_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_health_check.py b/plugins/modules/gcp_compute_region_health_check.py index 2e489c18..ffb737f7 100644 --- a/plugins/modules/gcp_compute_region_health_check.py +++ b/plugins/modules/gcp_compute_region_health_check.py @@ -472,6 +472,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -485,6 +486,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_health_check_info.py b/plugins/modules/gcp_compute_region_health_check_info.py index 8367f32b..2f0a8c11 100644 --- a/plugins/modules/gcp_compute_region_health_check_info.py +++ b/plugins/modules/gcp_compute_region_health_check_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_instance_group_manager.py b/plugins/modules/gcp_compute_region_instance_group_manager.py index 267e7f17..aa31419c 100644 --- a/plugins/modules/gcp_compute_region_instance_group_manager.py +++ b/plugins/modules/gcp_compute_region_instance_group_manager.py @@ -155,6 +155,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -168,6 +169,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_instance_group_manager_info.py b/plugins/modules/gcp_compute_region_instance_group_manager_info.py index fa5be229..9c17aaef 100644 --- a/plugins/modules/gcp_compute_region_instance_group_manager_info.py +++ b/plugins/modules/gcp_compute_region_instance_group_manager_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_target_http_proxy.py b/plugins/modules/gcp_compute_region_target_http_proxy.py index c409f586..0497e053 100644 --- a/plugins/modules/gcp_compute_region_target_http_proxy.py +++ b/plugins/modules/gcp_compute_region_target_http_proxy.py @@ -93,6 +93,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -106,6 +107,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_target_http_proxy_info.py b/plugins/modules/gcp_compute_region_target_http_proxy_info.py index 6537b310..0ee62ca3 100644 --- a/plugins/modules/gcp_compute_region_target_http_proxy_info.py +++ b/plugins/modules/gcp_compute_region_target_http_proxy_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_target_https_proxy.py b/plugins/modules/gcp_compute_region_target_https_proxy.py index 91dfd3cc..630adc95 100644 --- a/plugins/modules/gcp_compute_region_target_https_proxy.py +++ b/plugins/modules/gcp_compute_region_target_https_proxy.py @@ -101,6 +101,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -114,6 +115,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_target_https_proxy_info.py b/plugins/modules/gcp_compute_region_target_https_proxy_info.py index f28c3826..fff1ff0d 100644 --- a/plugins/modules/gcp_compute_region_target_https_proxy_info.py +++ b/plugins/modules/gcp_compute_region_target_https_proxy_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_url_map.py b/plugins/modules/gcp_compute_region_url_map.py index 94284889..9e4dc731 100644 --- a/plugins/modules/gcp_compute_region_url_map.py +++ b/plugins/modules/gcp_compute_region_url_map.py @@ -1590,6 +1590,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -1603,6 +1604,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_region_url_map_info.py b/plugins/modules/gcp_compute_region_url_map_info.py index 8bcb5204..946744d0 100644 --- a/plugins/modules/gcp_compute_region_url_map_info.py +++ b/plugins/modules/gcp_compute_region_url_map_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_reservation.py b/plugins/modules/gcp_compute_reservation.py index b8cc710b..2a6fbde1 100644 --- a/plugins/modules/gcp_compute_reservation.py +++ b/plugins/modules/gcp_compute_reservation.py @@ -162,6 +162,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -175,6 +176,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_reservation_info.py b/plugins/modules/gcp_compute_reservation_info.py index e6c2197e..d31cb135 100644 --- a/plugins/modules/gcp_compute_reservation_info.py +++ b/plugins/modules/gcp_compute_reservation_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_resource_policy.py b/plugins/modules/gcp_compute_resource_policy.py index 756685f7..53a7df22 100644 --- a/plugins/modules/gcp_compute_resource_policy.py +++ b/plugins/modules/gcp_compute_resource_policy.py @@ -275,6 +275,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -288,6 +289,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_resource_policy_info.py b/plugins/modules/gcp_compute_resource_policy_info.py index 2cec554e..a1123427 100644 --- a/plugins/modules/gcp_compute_resource_policy_info.py +++ b/plugins/modules/gcp_compute_resource_policy_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_route.py b/plugins/modules/gcp_compute_route.py index 12b8bec2..8f137785 100644 --- a/plugins/modules/gcp_compute_route.py +++ b/plugins/modules/gcp_compute_route.py @@ -175,6 +175,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -188,6 +189,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_route_info.py b/plugins/modules/gcp_compute_route_info.py index e0a5c4db..8b315e7e 100644 --- a/plugins/modules/gcp_compute_route_info.py +++ b/plugins/modules/gcp_compute_route_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_router.py b/plugins/modules/gcp_compute_router.py index d64d212f..d03ccd63 100644 --- a/plugins/modules/gcp_compute_router.py +++ b/plugins/modules/gcp_compute_router.py @@ -142,6 +142,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -155,6 +156,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_router_info.py b/plugins/modules/gcp_compute_router_info.py index 057a0b6b..470594db 100644 --- a/plugins/modules/gcp_compute_router_info.py +++ b/plugins/modules/gcp_compute_router_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_snapshot.py b/plugins/modules/gcp_compute_snapshot.py index 494b2aca..4700c8bb 100644 --- a/plugins/modules/gcp_compute_snapshot.py +++ b/plugins/modules/gcp_compute_snapshot.py @@ -158,6 +158,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -171,6 +172,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_snapshot_info.py b/plugins/modules/gcp_compute_snapshot_info.py index d885e890..24547c8b 100644 --- a/plugins/modules/gcp_compute_snapshot_info.py +++ b/plugins/modules/gcp_compute_snapshot_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_ssl_certificate.py b/plugins/modules/gcp_compute_ssl_certificate.py index d2f4680d..571ec58c 100644 --- a/plugins/modules/gcp_compute_ssl_certificate.py +++ b/plugins/modules/gcp_compute_ssl_certificate.py @@ -90,6 +90,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -103,6 +104,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_ssl_certificate_info.py b/plugins/modules/gcp_compute_ssl_certificate_info.py index 87b80fa9..be8418be 100644 --- a/plugins/modules/gcp_compute_ssl_certificate_info.py +++ b/plugins/modules/gcp_compute_ssl_certificate_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_ssl_policy.py b/plugins/modules/gcp_compute_ssl_policy.py index 64a62fda..dabfd39b 100644 --- a/plugins/modules/gcp_compute_ssl_policy.py +++ b/plugins/modules/gcp_compute_ssl_policy.py @@ -100,6 +100,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -113,6 +114,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_ssl_policy_info.py b/plugins/modules/gcp_compute_ssl_policy_info.py index 0fd69eb2..03cbb43c 100644 --- a/plugins/modules/gcp_compute_ssl_policy_info.py +++ b/plugins/modules/gcp_compute_ssl_policy_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_subnetwork.py b/plugins/modules/gcp_compute_subnetwork.py index 7642dc21..4075005e 100644 --- a/plugins/modules/gcp_compute_subnetwork.py +++ b/plugins/modules/gcp_compute_subnetwork.py @@ -152,6 +152,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -165,6 +166,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_subnetwork_info.py b/plugins/modules/gcp_compute_subnetwork_info.py index d8ae2c25..de085545 100644 --- a/plugins/modules/gcp_compute_subnetwork_info.py +++ b/plugins/modules/gcp_compute_subnetwork_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_http_proxy.py b/plugins/modules/gcp_compute_target_http_proxy.py index 5e92ee6b..026cd305 100644 --- a/plugins/modules/gcp_compute_target_http_proxy.py +++ b/plugins/modules/gcp_compute_target_http_proxy.py @@ -94,6 +94,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -107,6 +108,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_http_proxy_info.py b/plugins/modules/gcp_compute_target_http_proxy_info.py index 21f30904..ab4d3158 100644 --- a/plugins/modules/gcp_compute_target_http_proxy_info.py +++ b/plugins/modules/gcp_compute_target_http_proxy_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_https_proxy.py b/plugins/modules/gcp_compute_target_https_proxy.py index c6927302..1d7798d1 100644 --- a/plugins/modules/gcp_compute_target_https_proxy.py +++ b/plugins/modules/gcp_compute_target_https_proxy.py @@ -122,6 +122,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -135,6 +136,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_https_proxy_info.py b/plugins/modules/gcp_compute_target_https_proxy_info.py index 36fab9e9..c0ef590f 100644 --- a/plugins/modules/gcp_compute_target_https_proxy_info.py +++ b/plugins/modules/gcp_compute_target_https_proxy_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_instance.py b/plugins/modules/gcp_compute_target_instance.py index 686886dc..a6f1ecf7 100644 --- a/plugins/modules/gcp_compute_target_instance.py +++ b/plugins/modules/gcp_compute_target_instance.py @@ -105,6 +105,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -118,6 +119,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_instance_info.py b/plugins/modules/gcp_compute_target_instance_info.py index 5fe4415c..be54314f 100644 --- a/plugins/modules/gcp_compute_target_instance_info.py +++ b/plugins/modules/gcp_compute_target_instance_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_pool.py b/plugins/modules/gcp_compute_target_pool.py index 48118c12..1c42619e 100644 --- a/plugins/modules/gcp_compute_target_pool.py +++ b/plugins/modules/gcp_compute_target_pool.py @@ -147,6 +147,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -160,6 +161,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_pool_info.py b/plugins/modules/gcp_compute_target_pool_info.py index 58c2db55..4755f4bf 100644 --- a/plugins/modules/gcp_compute_target_pool_info.py +++ b/plugins/modules/gcp_compute_target_pool_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_ssl_proxy.py b/plugins/modules/gcp_compute_target_ssl_proxy.py index cd95c17f..bbf8c0d2 100644 --- a/plugins/modules/gcp_compute_target_ssl_proxy.py +++ b/plugins/modules/gcp_compute_target_ssl_proxy.py @@ -112,6 +112,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -125,6 +126,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_ssl_proxy_info.py b/plugins/modules/gcp_compute_target_ssl_proxy_info.py index ff6b11dc..5f82a8f3 100644 --- a/plugins/modules/gcp_compute_target_ssl_proxy_info.py +++ b/plugins/modules/gcp_compute_target_ssl_proxy_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_tcp_proxy.py b/plugins/modules/gcp_compute_target_tcp_proxy.py index 945cb9cf..4e1e587b 100644 --- a/plugins/modules/gcp_compute_target_tcp_proxy.py +++ b/plugins/modules/gcp_compute_target_tcp_proxy.py @@ -99,6 +99,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -112,6 +113,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_tcp_proxy_info.py b/plugins/modules/gcp_compute_target_tcp_proxy_info.py index c4e0619d..4e324507 100644 --- a/plugins/modules/gcp_compute_target_tcp_proxy_info.py +++ b/plugins/modules/gcp_compute_target_tcp_proxy_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_vpn_gateway.py b/plugins/modules/gcp_compute_target_vpn_gateway.py index e76bd401..d967fbef 100644 --- a/plugins/modules/gcp_compute_target_vpn_gateway.py +++ b/plugins/modules/gcp_compute_target_vpn_gateway.py @@ -92,6 +92,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -105,6 +106,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_target_vpn_gateway_info.py b/plugins/modules/gcp_compute_target_vpn_gateway_info.py index 67f71be7..e5aa5a55 100644 --- a/plugins/modules/gcp_compute_target_vpn_gateway_info.py +++ b/plugins/modules/gcp_compute_target_vpn_gateway_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_url_map.py b/plugins/modules/gcp_compute_url_map.py index f71ea3ed..f041802d 100644 --- a/plugins/modules/gcp_compute_url_map.py +++ b/plugins/modules/gcp_compute_url_map.py @@ -2531,6 +2531,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -2544,6 +2545,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_url_map_info.py b/plugins/modules/gcp_compute_url_map_info.py index 8ee58d7e..2e809da9 100644 --- a/plugins/modules/gcp_compute_url_map_info.py +++ b/plugins/modules/gcp_compute_url_map_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_vpn_tunnel.py b/plugins/modules/gcp_compute_vpn_tunnel.py index a59e469a..2b1ec431 100644 --- a/plugins/modules/gcp_compute_vpn_tunnel.py +++ b/plugins/modules/gcp_compute_vpn_tunnel.py @@ -179,6 +179,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -192,6 +193,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_compute_vpn_tunnel_info.py b/plugins/modules/gcp_compute_vpn_tunnel_info.py index 9cf5e163..cf8a187b 100644 --- a/plugins/modules/gcp_compute_vpn_tunnel_info.py +++ b/plugins/modules/gcp_compute_vpn_tunnel_info.py @@ -65,6 +65,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -78,6 +79,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_container_cluster.py b/plugins/modules/gcp_container_cluster.py index 34596a57..cd3f75f2 100644 --- a/plugins/modules/gcp_container_cluster.py +++ b/plugins/modules/gcp_container_cluster.py @@ -692,6 +692,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -705,6 +706,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_container_cluster_info.py b/plugins/modules/gcp_container_cluster_info.py index d94e5647..9711b6df 100644 --- a/plugins/modules/gcp_container_cluster_info.py +++ b/plugins/modules/gcp_container_cluster_info.py @@ -61,6 +61,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -74,6 +75,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_container_node_pool.py b/plugins/modules/gcp_container_node_pool.py index a0b9c714..c9e2033f 100644 --- a/plugins/modules/gcp_container_node_pool.py +++ b/plugins/modules/gcp_container_node_pool.py @@ -359,6 +359,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -372,6 +373,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_container_node_pool_info.py b/plugins/modules/gcp_container_node_pool_info.py index a3de8acc..bed1a0da 100644 --- a/plugins/modules/gcp_container_node_pool_info.py +++ b/plugins/modules/gcp_container_node_pool_info.py @@ -71,6 +71,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -84,6 +85,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_dns_managed_zone.py b/plugins/modules/gcp_dns_managed_zone.py index 8aec272b..05a20d95 100644 --- a/plugins/modules/gcp_dns_managed_zone.py +++ b/plugins/modules/gcp_dns_managed_zone.py @@ -235,6 +235,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -248,6 +249,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_dns_managed_zone_info.py b/plugins/modules/gcp_dns_managed_zone_info.py index d39aef26..01634241 100644 --- a/plugins/modules/gcp_dns_managed_zone_info.py +++ b/plugins/modules/gcp_dns_managed_zone_info.py @@ -58,6 +58,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -71,6 +72,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_dns_resource_record_set.py b/plugins/modules/gcp_dns_resource_record_set.py index c9822052..b27d3667 100644 --- a/plugins/modules/gcp_dns_resource_record_set.py +++ b/plugins/modules/gcp_dns_resource_record_set.py @@ -95,6 +95,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -108,6 +109,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_dns_resource_record_set_info.py b/plugins/modules/gcp_dns_resource_record_set_info.py index 1dba0a71..bc9f59cc 100644 --- a/plugins/modules/gcp_dns_resource_record_set_info.py +++ b/plugins/modules/gcp_dns_resource_record_set_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_filestore_instance.py b/plugins/modules/gcp_filestore_instance.py index 7895f9c3..6b916504 100644 --- a/plugins/modules/gcp_filestore_instance.py +++ b/plugins/modules/gcp_filestore_instance.py @@ -132,6 +132,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -145,6 +146,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_filestore_instance_info.py b/plugins/modules/gcp_filestore_instance_info.py index af81ccd1..827a16fc 100644 --- a/plugins/modules/gcp_filestore_instance_info.py +++ b/plugins/modules/gcp_filestore_instance_info.py @@ -58,6 +58,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -71,6 +72,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_iam_role.py b/plugins/modules/gcp_iam_role.py index 8af62c8e..1e9a83ef 100644 --- a/plugins/modules/gcp_iam_role.py +++ b/plugins/modules/gcp_iam_role.py @@ -94,6 +94,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -107,6 +108,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_iam_role_info.py b/plugins/modules/gcp_iam_role_info.py index 879bd089..8d71776a 100644 --- a/plugins/modules/gcp_iam_role_info.py +++ b/plugins/modules/gcp_iam_role_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_iam_service_account.py b/plugins/modules/gcp_iam_service_account.py index d93db04b..85efa6c3 100644 --- a/plugins/modules/gcp_iam_service_account.py +++ b/plugins/modules/gcp_iam_service_account.py @@ -71,6 +71,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -84,6 +85,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_iam_service_account_info.py b/plugins/modules/gcp_iam_service_account_info.py index 6e330237..1ef96731 100644 --- a/plugins/modules/gcp_iam_service_account_info.py +++ b/plugins/modules/gcp_iam_service_account_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_iam_service_account_key.py b/plugins/modules/gcp_iam_service_account_key.py index a34718d7..51f780ce 100644 --- a/plugins/modules/gcp_iam_service_account_key.py +++ b/plugins/modules/gcp_iam_service_account_key.py @@ -91,6 +91,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -104,6 +105,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_kms_crypto_key.py b/plugins/modules/gcp_kms_crypto_key.py index 4829081f..512dd474 100644 --- a/plugins/modules/gcp_kms_crypto_key.py +++ b/plugins/modules/gcp_kms_crypto_key.py @@ -120,6 +120,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -133,6 +134,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_kms_crypto_key_info.py b/plugins/modules/gcp_kms_crypto_key_info.py index 621b84a4..2a342e0f 100644 --- a/plugins/modules/gcp_kms_crypto_key_info.py +++ b/plugins/modules/gcp_kms_crypto_key_info.py @@ -59,6 +59,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -72,6 +73,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_kms_key_ring.py b/plugins/modules/gcp_kms_key_ring.py index 7f70faac..98d15ce9 100644 --- a/plugins/modules/gcp_kms_key_ring.py +++ b/plugins/modules/gcp_kms_key_ring.py @@ -73,6 +73,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -86,6 +87,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_kms_key_ring_info.py b/plugins/modules/gcp_kms_key_ring_info.py index d0b1fc70..97afe034 100644 --- a/plugins/modules/gcp_kms_key_ring_info.py +++ b/plugins/modules/gcp_kms_key_ring_info.py @@ -60,6 +60,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -73,6 +74,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_logging_metric.py b/plugins/modules/gcp_logging_metric.py index 262895de..7cc6d7af 100644 --- a/plugins/modules/gcp_logging_metric.py +++ b/plugins/modules/gcp_logging_metric.py @@ -240,6 +240,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -253,6 +254,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_logging_metric_info.py b/plugins/modules/gcp_logging_metric_info.py index c1a3cded..92ac893a 100644 --- a/plugins/modules/gcp_logging_metric_info.py +++ b/plugins/modules/gcp_logging_metric_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_mlengine_model.py b/plugins/modules/gcp_mlengine_model.py index e3edaace..b361dabc 100644 --- a/plugins/modules/gcp_mlengine_model.py +++ b/plugins/modules/gcp_mlengine_model.py @@ -108,6 +108,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -121,6 +122,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_mlengine_model_info.py b/plugins/modules/gcp_mlengine_model_info.py index 33289272..525e1ed8 100644 --- a/plugins/modules/gcp_mlengine_model_info.py +++ b/plugins/modules/gcp_mlengine_model_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_mlengine_version.py b/plugins/modules/gcp_mlengine_version.py index e19fbe76..d5e28533 100644 --- a/plugins/modules/gcp_mlengine_version.py +++ b/plugins/modules/gcp_mlengine_version.py @@ -171,6 +171,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -184,6 +185,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_mlengine_version_info.py b/plugins/modules/gcp_mlengine_version_info.py index 04523a75..fed182f1 100644 --- a/plugins/modules/gcp_mlengine_version_info.py +++ b/plugins/modules/gcp_mlengine_version_info.py @@ -63,6 +63,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -76,6 +77,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_pubsub_subscription.py b/plugins/modules/gcp_pubsub_subscription.py index af101c8a..78368616 100644 --- a/plugins/modules/gcp_pubsub_subscription.py +++ b/plugins/modules/gcp_pubsub_subscription.py @@ -333,6 +333,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -346,6 +347,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_pubsub_subscription_info.py b/plugins/modules/gcp_pubsub_subscription_info.py index dd20c935..cc25706c 100644 --- a/plugins/modules/gcp_pubsub_subscription_info.py +++ b/plugins/modules/gcp_pubsub_subscription_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_pubsub_topic.py b/plugins/modules/gcp_pubsub_topic.py index 28fdb081..89d8062e 100644 --- a/plugins/modules/gcp_pubsub_topic.py +++ b/plugins/modules/gcp_pubsub_topic.py @@ -118,6 +118,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -131,6 +132,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_pubsub_topic_info.py b/plugins/modules/gcp_pubsub_topic_info.py index 7b8627db..a8fae1da 100644 --- a/plugins/modules/gcp_pubsub_topic_info.py +++ b/plugins/modules/gcp_pubsub_topic_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_redis_instance.py b/plugins/modules/gcp_redis_instance.py index cef6ecac..7aa1fc21 100644 --- a/plugins/modules/gcp_redis_instance.py +++ b/plugins/modules/gcp_redis_instance.py @@ -162,6 +162,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -175,6 +176,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_redis_instance_info.py b/plugins/modules/gcp_redis_instance_info.py index 593b063f..42f2225d 100644 --- a/plugins/modules/gcp_redis_instance_info.py +++ b/plugins/modules/gcp_redis_instance_info.py @@ -58,6 +58,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -71,6 +72,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_resourcemanager_project.py b/plugins/modules/gcp_resourcemanager_project.py index cd2d099f..6a73f00e 100644 --- a/plugins/modules/gcp_resourcemanager_project.py +++ b/plugins/modules/gcp_resourcemanager_project.py @@ -104,6 +104,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -117,6 +118,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_resourcemanager_project_info.py b/plugins/modules/gcp_resourcemanager_project_info.py index 1e747b75..52e52ee1 100644 --- a/plugins/modules/gcp_resourcemanager_project_info.py +++ b/plugins/modules/gcp_resourcemanager_project_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_runtimeconfig_config.py b/plugins/modules/gcp_runtimeconfig_config.py index 6fe439eb..ca73cce3 100644 --- a/plugins/modules/gcp_runtimeconfig_config.py +++ b/plugins/modules/gcp_runtimeconfig_config.py @@ -72,6 +72,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -85,6 +86,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_runtimeconfig_config_info.py b/plugins/modules/gcp_runtimeconfig_config_info.py index c0821402..812533be 100644 --- a/plugins/modules/gcp_runtimeconfig_config_info.py +++ b/plugins/modules/gcp_runtimeconfig_config_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_runtimeconfig_variable.py b/plugins/modules/gcp_runtimeconfig_variable.py index 8da87320..5af44df4 100644 --- a/plugins/modules/gcp_runtimeconfig_variable.py +++ b/plugins/modules/gcp_runtimeconfig_variable.py @@ -81,6 +81,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -94,6 +95,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_runtimeconfig_variable_info.py b/plugins/modules/gcp_runtimeconfig_variable_info.py index 0e619dc7..b387fc9d 100644 --- a/plugins/modules/gcp_runtimeconfig_variable_info.py +++ b/plugins/modules/gcp_runtimeconfig_variable_info.py @@ -58,6 +58,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -71,6 +72,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_serviceusage_service.py b/plugins/modules/gcp_serviceusage_service.py index 40a10cd2..eb5bc045 100644 --- a/plugins/modules/gcp_serviceusage_service.py +++ b/plugins/modules/gcp_serviceusage_service.py @@ -72,6 +72,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -85,6 +86,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_serviceusage_service_info.py b/plugins/modules/gcp_serviceusage_service_info.py index b5c88d38..2ca122b7 100644 --- a/plugins/modules/gcp_serviceusage_service_info.py +++ b/plugins/modules/gcp_serviceusage_service_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_sourcerepo_repository.py b/plugins/modules/gcp_sourcerepo_repository.py index 178cee86..457b52d6 100644 --- a/plugins/modules/gcp_sourcerepo_repository.py +++ b/plugins/modules/gcp_sourcerepo_repository.py @@ -68,6 +68,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -81,6 +82,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_sourcerepo_repository_info.py b/plugins/modules/gcp_sourcerepo_repository_info.py index 607e6243..9809df48 100644 --- a/plugins/modules/gcp_sourcerepo_repository_info.py +++ b/plugins/modules/gcp_sourcerepo_repository_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_spanner_database.py b/plugins/modules/gcp_spanner_database.py index 6c6bce90..6ce78823 100644 --- a/plugins/modules/gcp_spanner_database.py +++ b/plugins/modules/gcp_spanner_database.py @@ -98,6 +98,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -111,6 +112,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_spanner_database_info.py b/plugins/modules/gcp_spanner_database_info.py index 84a7b47d..a3d74d46 100644 --- a/plugins/modules/gcp_spanner_database_info.py +++ b/plugins/modules/gcp_spanner_database_info.py @@ -63,6 +63,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -76,6 +77,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_spanner_instance.py b/plugins/modules/gcp_spanner_instance.py index deb212ff..af0bb8a5 100644 --- a/plugins/modules/gcp_spanner_instance.py +++ b/plugins/modules/gcp_spanner_instance.py @@ -101,6 +101,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -114,6 +115,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_spanner_instance_info.py b/plugins/modules/gcp_spanner_instance_info.py index 64bc7a00..6b6daeea 100644 --- a/plugins/modules/gcp_spanner_instance_info.py +++ b/plugins/modules/gcp_spanner_instance_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_sql_database.py b/plugins/modules/gcp_sql_database.py index 685ffee1..c3473bbe 100644 --- a/plugins/modules/gcp_sql_database.py +++ b/plugins/modules/gcp_sql_database.py @@ -88,6 +88,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -101,6 +102,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_sql_database_info.py b/plugins/modules/gcp_sql_database_info.py index adb90460..f2494934 100644 --- a/plugins/modules/gcp_sql_database_info.py +++ b/plugins/modules/gcp_sql_database_info.py @@ -58,6 +58,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -71,6 +72,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_sql_instance.py b/plugins/modules/gcp_sql_instance.py index 9999dd18..77b9662f 100644 --- a/plugins/modules/gcp_sql_instance.py +++ b/plugins/modules/gcp_sql_instance.py @@ -371,6 +371,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -384,6 +385,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_sql_instance_info.py b/plugins/modules/gcp_sql_instance_info.py index 8f734c36..f688ec68 100644 --- a/plugins/modules/gcp_sql_instance_info.py +++ b/plugins/modules/gcp_sql_instance_info.py @@ -53,6 +53,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -66,6 +67,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_sql_ssl_cert.py b/plugins/modules/gcp_sql_ssl_cert.py index 4d06ce28..b6b03480 100644 --- a/plugins/modules/gcp_sql_ssl_cert.py +++ b/plugins/modules/gcp_sql_ssl_cert.py @@ -107,6 +107,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -120,6 +121,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_sql_user.py b/plugins/modules/gcp_sql_user.py index b0494105..8797088f 100644 --- a/plugins/modules/gcp_sql_user.py +++ b/plugins/modules/gcp_sql_user.py @@ -88,6 +88,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -101,6 +102,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_sql_user_info.py b/plugins/modules/gcp_sql_user_info.py index b03048d6..f686cdcd 100644 --- a/plugins/modules/gcp_sql_user_info.py +++ b/plugins/modules/gcp_sql_user_info.py @@ -63,6 +63,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -76,6 +77,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_storage_bucket.py b/plugins/modules/gcp_storage_bucket.py index 18645d95..d492d4ab 100644 --- a/plugins/modules/gcp_storage_bucket.py +++ b/plugins/modules/gcp_storage_bucket.py @@ -415,6 +415,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -428,6 +429,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_storage_bucket_access_control.py b/plugins/modules/gcp_storage_bucket_access_control.py index b2b1ea79..65f47f7c 100644 --- a/plugins/modules/gcp_storage_bucket_access_control.py +++ b/plugins/modules/gcp_storage_bucket_access_control.py @@ -96,6 +96,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -109,6 +110,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_storage_default_object_acl.py b/plugins/modules/gcp_storage_default_object_acl.py index 45c615f0..4c324912 100644 --- a/plugins/modules/gcp_storage_default_object_acl.py +++ b/plugins/modules/gcp_storage_default_object_acl.py @@ -94,6 +94,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -107,6 +108,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_storage_object.py b/plugins/modules/gcp_storage_object.py index aef08296..4fc3412e 100644 --- a/plugins/modules/gcp_storage_object.py +++ b/plugins/modules/gcp_storage_object.py @@ -69,6 +69,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -82,6 +83,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_tpu_node.py b/plugins/modules/gcp_tpu_node.py index 87bcc477..c580857c 100644 --- a/plugins/modules/gcp_tpu_node.py +++ b/plugins/modules/gcp_tpu_node.py @@ -130,6 +130,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -143,6 +144,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: diff --git a/plugins/modules/gcp_tpu_node_info.py b/plugins/modules/gcp_tpu_node_info.py index 5c8007ef..f4fc6b75 100644 --- a/plugins/modules/gcp_tpu_node_info.py +++ b/plugins/modules/gcp_tpu_node_info.py @@ -58,6 +58,7 @@ options: - machineaccount - serviceaccount - accesstoken + - impersonation service_account_contents: description: - The contents of a Service Account JSON file, either in a dictionary or as a @@ -71,6 +72,7 @@ options: description: - An optional service account email address if machineaccount is selected and the user does not wish to use the default email. + - Required service account to impersonate if impersonation is selected. type: str access_token: description: