# gcp\_cloudfunctions\_cloud\_function with function service account

**URL:** <https://forum.ansible.com/t/gcp-cloudfunctions-cloud-function-with-function-service-account/36073>\
**Category:** Ansible Project\
**Tags:** gcp\
**Created:** [December 6, 2021, 12:27am UTC](https://forum.ansible.com/t/gcp-cloudfunctions-cloud-function-with-function-service-account/36073 "2021-12-06T00:27:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jm1](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@jm1](https://forum.ansible.com/u/jm1)\
**Post date:** [December 6, 2021, 12:27am UTC](https://forum.ansible.com/t/gcp-cloudfunctions-cloud-function-with-function-service-account/36073/1 "2021-12-06T00:27:00Z")

</div>

New to Ansible and am attempting to write a playbook to add a Cloud Function to a GCP Project. This Cloud Function will run with its own Service Account ( [https://cloud.google.com/sdk/gcloud/reference/functions/deploy](https://cloud.google.com/sdk/gcloud/reference/functions/deploy) ). The documentation for the Ansible module google.cloud

[https://docs.ansible.com/ansible/latest/collections/google/cloud/gcp\_cloudfunctions\_cloud\_function\_module.html](https://docs.ansible.com/ansible/latest/collections/google/cloud/gcp_cloudfunctions_cloud_function_module.html)

doesn't mention anything about this. The only reference I've been able to find to this is

[https://github.com/ansible/ansible/issues/62964](https://github.com/ansible/ansible/issues/62964)

which was closed by the bot.

Where is the repo and issue tracker for google.cloud?

And, how do I specify the Service Account which the Cloud Function will use?

Jeff.
