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 baf9a6c..b540275 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 a2d5212..4f2e7ca 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 f4743b2..971f591 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 f0dbd61..b59730d 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 7206b15..1eec809 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 efc365a..b63074a 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 ca689a6..a3a755c 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 b0021e2..7654998 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 a67af95..13165bc 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 e219cb2..09e93aa 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 6c8f416..81a187e 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 b252f86..55be20c 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 c8a9202..6764896 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 e09ed7b..5c1b1ad 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 075fd86..fd30f2b 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 8a93053..4cc4167 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 29ba123..447d1ca 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 f8b98f4..e0c9a09 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 631b10d..7be131c 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 55fd596..87800b5 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 247d892..5d35149 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 267116f..e4f627c 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 110c10d..5ce6140 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 420b593..f3cc242 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 aaf40e3..215816a 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 b259848..54361a7 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 5e71577..c5bea48 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 8409cac..fee8277 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 8e36468..e8825ae 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 e2d96b1..602ef05 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 6e2e0d0..46224cd 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 cee64bc..b801332 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 dfc105e..3c7cb78 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 8141605..01db735 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 87dcb89..d0ad825 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 2281535..af8c6a7 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 34aa175..9398e53 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 158caab..6b66f6f 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 735d622..ac3b8cb 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 ca4c642..c1e4ee3 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 b6876f2..7771447 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 ee1bae3..185cdab 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 547fdc9..7429ca2 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 cd38bb1..1974b9b 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 58af6d4..4caa137 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 66d897a..8e99423 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 2f1acd1..be6e79e 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 1d7f56e..daea6fa 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 8f65b4b..bede053 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 a8d3045..8a3eb44 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 776503d..fff618b 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 16a6e57..074cee7 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 e12b957..57f9348 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 ce4a8eb..9a920d7 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 2d337cf..512544a 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 5deac09..b28fc9c 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 20b90be..9830216 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 e093195..ec58356 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 d6350de..b28d1c0 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 b36afb0..aacb76e 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 7896fac..fd072c6 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 c423110..b558455 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 6864c28..3264137 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 5de307c..0c4edee 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 5219bc6..a318bf4 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 6d4cca9..02016ce 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 64114af..3a9537b 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 557e92d..6720ede 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 685f48f..e81eac2 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 673d925..cfda56d 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 6e70b4d..11ff350 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 fcbad21..481632e 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 38b4a7c..d9b1c79 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 267e7f1..aa31419 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 43816fd..90468e3 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 c409f58..0497e05 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 f53beca..f7693cb 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 91dfd3c..630adc9 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 fdb9f99..fe87934 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 1d8c9c3..034ae09 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 3b5cdb7..547f454 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 c0a9dd0..6aa2644 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 ba42f85..80076bd 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 756685f..53a7df2 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 545a3bf..90b842c 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 12b8bec..8f13778 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 86e9ab4..1ae4a3c 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 d64d212..d03ccd6 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 d595d19..9d2fc16 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 5759fbf..3755f02 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 26963f3..1121dc5 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 d2f4680..571ec58 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 27b4ce2..f227610 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 64a62fd..dabfd39 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 04219c8..e5c73a4 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 7642dc2..4075005 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 5b126f2..a392532 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 5e92ee6..026cd30 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 6a78af4..1b5033c 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 c692730..1d7798d 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 b4186a9..db67e6e 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 686886d..a6f1ecf 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 791fb0a..c2d87eb 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 48118c1..1c42619 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 54345a1..dd77bc3 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 cd95c17..bbf8c0d 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 e23e841..be0d77a 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 945cb9c..4e1e587 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 65cc775..e8b2d2c 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 e76bd40..d967fbe 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 8d9763b..3de6fdb 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 2856e59..9331dcf 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 fa5431a..b32104e 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 a59e469..2b1ec43 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 7b3430a..1257a8a 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 0a5d949..b151474 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 0b90433..df8a5d3 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 1740837..30d868a 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 e27412a..da81048 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 83c327a..0e109c8 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 333bfce..92b08e5 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 c982205..b27d366 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 622c310..e69a2a5 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 7895f9c..6b91650 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 55ab27c..98fd136 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 8af62c8..1e9a83e 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 35874cc..6ec4cd6 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 d93db04..85efa6c 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 b201718..75d62dc 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 a34718d..51f780c 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 40bfae9..86f6e16 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 bc40b48..8255e05 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 7f70faa..98d15ce 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 39d3de9..0eb10e2 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 f897324..4a52514 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 76c323c..1e70fac 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 e3edaac..b361dab 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 11f28ae..eefaa60 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 e19fbe7..d5e2853 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 ecf9281..d29d10f 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 f39583b..d0cc383 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 b911131..05b33a5 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 28fdb08..89d8062 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 0dc6f4e..eca6191 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 ac8724a..ae0b04d 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 33a9241..c751b4d 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 cd2d099..6a73f00 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 7d97829..87c0818 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 6fe439e..ca73cce 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 063c1ce..e2ce78a 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 8da8732..5af44df 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 ec1adb9..9a328b7 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 221f7b6..ebafc25 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 1c49512..0957765 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 178cee8..457b52d 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 4a0d809..68f3e91 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 6c6bce9..6ce7882 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 2f45553..3c28c9d 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 deb212f..af0bb8a 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 90e25dd..d0a67d5 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 685ffee..c3473bb 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 dfc9bc9..5549e9a 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 9f18a2f..931dec3 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 afbc7c3..a6bb946 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 02519b3..ac95491 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 ca2cbf4..bf6ed83 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 762a735..6809d6f 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 18645d9..d492d4a 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 b2b1ea7..65f47f7 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 5bfea2f..e223c89 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 1411d0f..c7ed8ee 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 32d599e..24a0e3d 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 a01d08a..d978cb3 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: