From c53ea67cdfec9591ba26c0a7d8985890e0fe8878 Mon Sep 17 00:00:00 2001 From: Konstantin Tchernov Date: Mon, 6 May 2024 11:01:05 +1200 Subject: [PATCH 1/2] feat: add impersonation as an authentication option --- plugins/module_utils/gcp_utils.py | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) 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, From b103f42e149766f0727d463ad1d432db6eb91dc2 Mon Sep 17 00:00:00 2001 From: Konstantin Tchernov Date: Mon, 6 May 2024 11:03:24 +1200 Subject: [PATCH 2/2] feat: upate docs to include impersonation --- plugins/doc_fragments/gcp.py | 2 +- plugins/inventory/gcp_compute.py | 3 ++- plugins/modules/gcp_appengine_firewall_rule.py | 2 ++ plugins/modules/gcp_appengine_firewall_rule_info.py | 2 ++ plugins/modules/gcp_bigquery_dataset.py | 2 ++ plugins/modules/gcp_bigquery_dataset_info.py | 2 ++ plugins/modules/gcp_bigquery_table.py | 2 ++ plugins/modules/gcp_bigquery_table_info.py | 1 + plugins/modules/gcp_bigtable_instance.py | 2 ++ plugins/modules/gcp_bigtable_instance_info.py | 2 ++ plugins/modules/gcp_cloudbuild_trigger.py | 2 ++ plugins/modules/gcp_cloudbuild_trigger_info.py | 2 ++ plugins/modules/gcp_cloudfunctions_cloud_function.py | 2 ++ plugins/modules/gcp_cloudfunctions_cloud_function_info.py | 2 ++ plugins/modules/gcp_cloudscheduler_job.py | 2 ++ plugins/modules/gcp_cloudscheduler_job_info.py | 2 ++ plugins/modules/gcp_cloudtasks_queue.py | 2 ++ plugins/modules/gcp_cloudtasks_queue_info.py | 2 ++ plugins/modules/gcp_compute_address.py | 2 ++ plugins/modules/gcp_compute_address_info.py | 2 ++ plugins/modules/gcp_compute_autoscaler.py | 2 ++ plugins/modules/gcp_compute_autoscaler_info.py | 2 ++ plugins/modules/gcp_compute_backend_bucket.py | 2 ++ plugins/modules/gcp_compute_backend_bucket_info.py | 2 ++ plugins/modules/gcp_compute_backend_service.py | 2 ++ plugins/modules/gcp_compute_backend_service_info.py | 2 ++ plugins/modules/gcp_compute_disk.py | 2 ++ plugins/modules/gcp_compute_disk_info.py | 2 ++ plugins/modules/gcp_compute_external_vpn_gateway.py | 2 ++ plugins/modules/gcp_compute_external_vpn_gateway_info.py | 2 ++ plugins/modules/gcp_compute_firewall.py | 2 ++ plugins/modules/gcp_compute_firewall_info.py | 2 ++ plugins/modules/gcp_compute_forwarding_rule.py | 2 ++ plugins/modules/gcp_compute_forwarding_rule_info.py | 2 ++ plugins/modules/gcp_compute_global_address.py | 2 ++ plugins/modules/gcp_compute_global_address_info.py | 2 ++ plugins/modules/gcp_compute_global_forwarding_rule.py | 2 ++ plugins/modules/gcp_compute_global_forwarding_rule_info.py | 2 ++ plugins/modules/gcp_compute_health_check.py | 2 ++ plugins/modules/gcp_compute_health_check_info.py | 2 ++ plugins/modules/gcp_compute_http_health_check.py | 2 ++ plugins/modules/gcp_compute_http_health_check_info.py | 2 ++ plugins/modules/gcp_compute_https_health_check.py | 2 ++ plugins/modules/gcp_compute_https_health_check_info.py | 2 ++ plugins/modules/gcp_compute_image.py | 2 ++ plugins/modules/gcp_compute_image_info.py | 2 ++ plugins/modules/gcp_compute_instance.py | 2 ++ plugins/modules/gcp_compute_instance_group.py | 2 ++ plugins/modules/gcp_compute_instance_group_info.py | 2 ++ plugins/modules/gcp_compute_instance_group_manager.py | 2 ++ plugins/modules/gcp_compute_instance_group_manager_info.py | 2 ++ plugins/modules/gcp_compute_instance_info.py | 2 ++ plugins/modules/gcp_compute_instance_template.py | 2 ++ plugins/modules/gcp_compute_instance_template_info.py | 2 ++ plugins/modules/gcp_compute_interconnect_attachment.py | 2 ++ plugins/modules/gcp_compute_interconnect_attachment_info.py | 2 ++ plugins/modules/gcp_compute_network.py | 2 ++ plugins/modules/gcp_compute_network_endpoint_group.py | 2 ++ plugins/modules/gcp_compute_network_endpoint_group_info.py | 2 ++ plugins/modules/gcp_compute_network_info.py | 2 ++ plugins/modules/gcp_compute_node_group.py | 2 ++ plugins/modules/gcp_compute_node_group_info.py | 2 ++ plugins/modules/gcp_compute_node_template.py | 2 ++ plugins/modules/gcp_compute_node_template_info.py | 2 ++ plugins/modules/gcp_compute_region_autoscaler.py | 2 ++ plugins/modules/gcp_compute_region_autoscaler_info.py | 2 ++ plugins/modules/gcp_compute_region_backend_service.py | 2 ++ plugins/modules/gcp_compute_region_backend_service_info.py | 2 ++ plugins/modules/gcp_compute_region_disk.py | 2 ++ plugins/modules/gcp_compute_region_disk_info.py | 2 ++ plugins/modules/gcp_compute_region_health_check.py | 2 ++ plugins/modules/gcp_compute_region_health_check_info.py | 2 ++ plugins/modules/gcp_compute_region_instance_group_manager.py | 2 ++ .../modules/gcp_compute_region_instance_group_manager_info.py | 2 ++ plugins/modules/gcp_compute_region_target_http_proxy.py | 2 ++ plugins/modules/gcp_compute_region_target_http_proxy_info.py | 2 ++ plugins/modules/gcp_compute_region_target_https_proxy.py | 2 ++ plugins/modules/gcp_compute_region_target_https_proxy_info.py | 2 ++ plugins/modules/gcp_compute_region_url_map.py | 2 ++ plugins/modules/gcp_compute_region_url_map_info.py | 2 ++ plugins/modules/gcp_compute_reservation.py | 2 ++ plugins/modules/gcp_compute_reservation_info.py | 2 ++ plugins/modules/gcp_compute_resource_policy.py | 2 ++ plugins/modules/gcp_compute_resource_policy_info.py | 2 ++ plugins/modules/gcp_compute_route.py | 2 ++ plugins/modules/gcp_compute_route_info.py | 2 ++ plugins/modules/gcp_compute_router.py | 2 ++ plugins/modules/gcp_compute_router_info.py | 2 ++ plugins/modules/gcp_compute_snapshot.py | 2 ++ plugins/modules/gcp_compute_snapshot_info.py | 2 ++ plugins/modules/gcp_compute_ssl_certificate.py | 2 ++ plugins/modules/gcp_compute_ssl_certificate_info.py | 2 ++ plugins/modules/gcp_compute_ssl_policy.py | 2 ++ plugins/modules/gcp_compute_ssl_policy_info.py | 2 ++ plugins/modules/gcp_compute_subnetwork.py | 2 ++ plugins/modules/gcp_compute_subnetwork_info.py | 2 ++ plugins/modules/gcp_compute_target_http_proxy.py | 2 ++ plugins/modules/gcp_compute_target_http_proxy_info.py | 2 ++ plugins/modules/gcp_compute_target_https_proxy.py | 2 ++ plugins/modules/gcp_compute_target_https_proxy_info.py | 2 ++ plugins/modules/gcp_compute_target_instance.py | 2 ++ plugins/modules/gcp_compute_target_instance_info.py | 2 ++ plugins/modules/gcp_compute_target_pool.py | 2 ++ plugins/modules/gcp_compute_target_pool_info.py | 2 ++ plugins/modules/gcp_compute_target_ssl_proxy.py | 2 ++ plugins/modules/gcp_compute_target_ssl_proxy_info.py | 2 ++ plugins/modules/gcp_compute_target_tcp_proxy.py | 2 ++ plugins/modules/gcp_compute_target_tcp_proxy_info.py | 2 ++ plugins/modules/gcp_compute_target_vpn_gateway.py | 2 ++ plugins/modules/gcp_compute_target_vpn_gateway_info.py | 2 ++ plugins/modules/gcp_compute_url_map.py | 2 ++ plugins/modules/gcp_compute_url_map_info.py | 2 ++ plugins/modules/gcp_compute_vpn_tunnel.py | 2 ++ plugins/modules/gcp_compute_vpn_tunnel_info.py | 2 ++ plugins/modules/gcp_container_cluster.py | 2 ++ plugins/modules/gcp_container_cluster_info.py | 2 ++ plugins/modules/gcp_container_node_pool.py | 2 ++ plugins/modules/gcp_container_node_pool_info.py | 2 ++ plugins/modules/gcp_dns_managed_zone.py | 2 ++ plugins/modules/gcp_dns_managed_zone_info.py | 2 ++ plugins/modules/gcp_dns_resource_record_set.py | 2 ++ plugins/modules/gcp_dns_resource_record_set_info.py | 2 ++ plugins/modules/gcp_filestore_instance.py | 2 ++ plugins/modules/gcp_filestore_instance_info.py | 2 ++ plugins/modules/gcp_iam_role.py | 2 ++ plugins/modules/gcp_iam_role_info.py | 2 ++ plugins/modules/gcp_iam_service_account.py | 2 ++ plugins/modules/gcp_iam_service_account_info.py | 2 ++ plugins/modules/gcp_iam_service_account_key.py | 2 ++ plugins/modules/gcp_kms_crypto_key.py | 2 ++ plugins/modules/gcp_kms_crypto_key_info.py | 2 ++ plugins/modules/gcp_kms_key_ring.py | 2 ++ plugins/modules/gcp_kms_key_ring_info.py | 2 ++ plugins/modules/gcp_logging_metric.py | 2 ++ plugins/modules/gcp_logging_metric_info.py | 2 ++ plugins/modules/gcp_mlengine_model.py | 2 ++ plugins/modules/gcp_mlengine_model_info.py | 2 ++ plugins/modules/gcp_mlengine_version.py | 2 ++ plugins/modules/gcp_mlengine_version_info.py | 2 ++ plugins/modules/gcp_pubsub_subscription.py | 2 ++ plugins/modules/gcp_pubsub_subscription_info.py | 2 ++ plugins/modules/gcp_pubsub_topic.py | 2 ++ plugins/modules/gcp_pubsub_topic_info.py | 2 ++ plugins/modules/gcp_redis_instance.py | 2 ++ plugins/modules/gcp_redis_instance_info.py | 2 ++ plugins/modules/gcp_resourcemanager_project.py | 2 ++ plugins/modules/gcp_resourcemanager_project_info.py | 2 ++ plugins/modules/gcp_runtimeconfig_config.py | 2 ++ plugins/modules/gcp_runtimeconfig_config_info.py | 2 ++ plugins/modules/gcp_runtimeconfig_variable.py | 2 ++ plugins/modules/gcp_runtimeconfig_variable_info.py | 2 ++ plugins/modules/gcp_serviceusage_service.py | 2 ++ plugins/modules/gcp_serviceusage_service_info.py | 2 ++ plugins/modules/gcp_sourcerepo_repository.py | 2 ++ plugins/modules/gcp_sourcerepo_repository_info.py | 2 ++ plugins/modules/gcp_spanner_database.py | 2 ++ plugins/modules/gcp_spanner_database_info.py | 2 ++ plugins/modules/gcp_spanner_instance.py | 2 ++ plugins/modules/gcp_spanner_instance_info.py | 2 ++ plugins/modules/gcp_sql_database.py | 2 ++ plugins/modules/gcp_sql_database_info.py | 2 ++ plugins/modules/gcp_sql_instance.py | 2 ++ plugins/modules/gcp_sql_instance_info.py | 2 ++ plugins/modules/gcp_sql_ssl_cert.py | 2 ++ plugins/modules/gcp_sql_user.py | 2 ++ plugins/modules/gcp_sql_user_info.py | 2 ++ plugins/modules/gcp_storage_bucket.py | 2 ++ plugins/modules/gcp_storage_bucket_access_control.py | 2 ++ plugins/modules/gcp_storage_default_object_acl.py | 2 ++ plugins/modules/gcp_storage_object.py | 2 ++ plugins/modules/gcp_tpu_node.py | 2 ++ plugins/modules/gcp_tpu_node_info.py | 2 ++ 172 files changed, 342 insertions(+), 2 deletions(-) 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 f4743b29..971f5910 100644 --- a/plugins/inventory/gcp_compute.py +++ b/plugins/inventory/gcp_compute.py @@ -57,7 +57,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: @@ -84,6 +84,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/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 7206b157..1eec8095 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 ca689a63..a3a755c8 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 b0021e21..76549988 100644 --- a/plugins/modules/gcp_bigquery_table.py +++ b/plugins/modules/gcp_bigquery_table.py @@ -476,6 +476,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 @@ -489,6 +490,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 a67af959..13165bc2 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 6c8f4160..81a187e6 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 b252f86f..55be20c1 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 c8a9202d..67648963 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 075fd863..fd30f2b2 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 8a930535..4cc4167e 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 29ba1236..447d1ca4 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 631b10de..7be131ca 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 247d8927..5d35149a 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 110c10da..5ce6140d 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 aaf40e32..215816a9 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 b259848f..54361a72 100644 --- a/plugins/modules/gcp_compute_backend_service.py +++ b/plugins/modules/gcp_compute_backend_service.py @@ -703,6 +703,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 @@ -716,6 +717,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 5e715778..c5bea488 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 8409cac7..fee82776 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 8e364682..e8825ae0 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 6e2e0d0f..46224cd9 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 dfc105ee..3c7cb78e 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 87dcb899..d0ad825e 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 34aa1755..9398e53f 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 735d622a..ac3b8cbb 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 ca4c6428..c1e4ee3d 100644 --- a/plugins/modules/gcp_compute_health_check.py +++ b/plugins/modules/gcp_compute_health_check.py @@ -473,6 +473,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 @@ -486,6 +487,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 b6876f25..77714470 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 547fdc9a..7429ca2a 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 58af6d45..4caa1379 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 66d897a3..8e994236 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 2f1acd14..be6e79ea 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 1d7f56e9..daea6fae 100644 --- a/plugins/modules/gcp_compute_instance.py +++ b/plugins/modules/gcp_compute_instance.py @@ -523,6 +523,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 @@ -536,6 +537,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 a8d30456..8a3eb445 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 16a6e576..074cee7a 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 e12b957a..57f93484 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 ce4a8eb4..9a920d77 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 2d337cf1..512544ae 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 20b90beb..9830216e 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 b36afb09..aacb76e0 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 7896facb..fd072c64 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 6864c281..3264137c 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 5219bc60..a318bf40 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 64114af2..3a9537bc 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 557e92d2..6720ede6 100644 --- a/plugins/modules/gcp_compute_region_backend_service.py +++ b/plugins/modules/gcp_compute_region_backend_service.py @@ -719,6 +719,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 @@ -732,6 +733,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 685f48ff..e81eac20 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 673d925a..cfda56db 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 6e70b4da..11ff3505 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 fcbad213..481632e2 100644 --- a/plugins/modules/gcp_compute_region_health_check.py +++ b/plugins/modules/gcp_compute_region_health_check.py @@ -473,6 +473,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 @@ -486,6 +487,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 38b4a7ca..d9b1c79a 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 43816fd2..90468e34 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 f53beca5..f7693cb9 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 fdb9f99a..fe87934e 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 1d8c9c31..034ae098 100644 --- a/plugins/modules/gcp_compute_region_url_map.py +++ b/plugins/modules/gcp_compute_region_url_map.py @@ -1603,6 +1603,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 @@ -1616,6 +1617,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 3b5cdb71..547f454a 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 c0a9dd02..6aa26449 100644 --- a/plugins/modules/gcp_compute_reservation.py +++ b/plugins/modules/gcp_compute_reservation.py @@ -163,6 +163,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 @@ -176,6 +177,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 ba42f85f..80076bdd 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 545a3bfe..90b842c8 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 86e9ab49..1ae4a3ca 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 d595d199..9d2fc161 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 5759fbfa..3755f022 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 26963f3c..1121dc57 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 27b4ce26..f2276100 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 04219c88..e5c73a46 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 5b126f29..a3925324 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 6a78af42..1b5033cc 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 b4186a9e..db67e6e6 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 791fb0a4..c2d87eb0 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 54345a1b..dd77bc31 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 e23e8417..be0d77a9 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 65cc7759..e8b2d2c9 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 8d9763bb..3de6fdbc 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 2856e596..9331dcf3 100644 --- a/plugins/modules/gcp_compute_url_map.py +++ b/plugins/modules/gcp_compute_url_map.py @@ -2548,6 +2548,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 @@ -2561,6 +2562,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 fa5431a1..b32104eb 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 7b3430aa..1257a8a7 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 0a5d9493..b1514743 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 0b90433c..df8a5d3d 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 17408376..30d868a5 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 e27412ab..da810483 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 83c327a8..0e109c84 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 333bfcee..92b08e5c 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 622c3102..e69a2a59 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 55ab27ca..98fd1363 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 35874cc2..6ec4cd65 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 b2017181..75d62dca 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 40bfae95..86f6e161 100644 --- a/plugins/modules/gcp_kms_crypto_key.py +++ b/plugins/modules/gcp_kms_crypto_key.py @@ -119,6 +119,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 @@ -132,6 +133,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 bc40b484..8255e053 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 39d3de92..0eb10e26 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 f8973240..4a525140 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 76c323c3..1e70fac9 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 11f28aee..eefaa609 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 ecf92817..d29d10f1 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 f39583be..d0cc3837 100644 --- a/plugins/modules/gcp_pubsub_subscription.py +++ b/plugins/modules/gcp_pubsub_subscription.py @@ -274,6 +274,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 @@ -287,6 +288,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 b911131d..05b33a5c 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 0dc6f4e0..eca6191b 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 ac8724a0..ae0b04d3 100644 --- a/plugins/modules/gcp_redis_instance.py +++ b/plugins/modules/gcp_redis_instance.py @@ -163,6 +163,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 @@ -176,6 +177,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 33a9241a..c751b4de 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 7d978299..87c08183 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 063c1cee..e2ce78a0 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 ec1adb92..9a328b7f 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 221f7b6c..ebafc25e 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 1c49512e..09577654 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 4a0d809b..68f3e91a 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 2f45553d..3c28c9d5 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 90e25dda..d0a67d55 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 dfc9bc9c..5549e9a3 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 9f18a2f6..931dec3c 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 afbc7c30..a6bb946d 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 02519b30..ac95491f 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 ca2cbf4f..bf6ed83c 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 762a7356..6809d6f1 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 5bfea2f7..e223c896 100644 --- a/plugins/modules/gcp_storage_default_object_acl.py +++ b/plugins/modules/gcp_storage_default_object_acl.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_storage_object.py b/plugins/modules/gcp_storage_object.py index 1411d0ff..c7ed8eed 100644 --- a/plugins/modules/gcp_storage_object.py +++ b/plugins/modules/gcp_storage_object.py @@ -70,6 +70,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 @@ -83,6 +84,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 32d599e9..24a0e3d1 100644 --- a/plugins/modules/gcp_tpu_node.py +++ b/plugins/modules/gcp_tpu_node.py @@ -131,6 +131,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 @@ -144,6 +145,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 a01d08af..d978cb3e 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: