diff --git a/.changelog/3813.txt b/.changelog/3813.txt new file mode 100644 index 00000000000..15fd6652220 --- /dev/null +++ b/.changelog/3813.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +cloudfunctions: Updated the `google_cloudfunctions_function` datasource to include new fields available in the API. +``` diff --git a/website/docs/d/cloudfunctions_function.html.markdown b/website/docs/d/cloudfunctions_function.html.markdown index 98a85f24c49..783b26f3d24 100644 --- a/website/docs/d/cloudfunctions_function.html.markdown +++ b/website/docs/d/cloudfunctions_function.html.markdown @@ -56,6 +56,8 @@ exported: * `service_account_email` - The service account email to be assumed by the cloud function. * `vpc_connector` - The VPC Network Connector that this cloud function can connect to. * `vpc_connector_egress_settings` - The egress settings for the connector, controlling what traffic is diverted through it. +* `max_instances` - The limit on the maximum number of function instances that may coexist at a given time. +* `source_repository` - The URL of the Cloud Source Repository that the function is deployed from. Structure is documented below. The `event_trigger` block contains: @@ -70,3 +72,8 @@ for a full reference of accepted triggers. The `failure_policy` block supports: * `retry` - Whether the function should be retried on failure. + + +The `source_repository` block contains: + +* `url` - The URL pointing to the hosted repository where the function is defined.