Skip to content

Commit

Permalink
Update google_cloudfunctions_function datasource documentation. (#3813)…
Browse files Browse the repository at this point in the history
… (#6935)

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Aug 4, 2020
1 parent 6b0eaae commit ba9a6c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/3813.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
cloudfunctions: Updated the `google_cloudfunctions_function` datasource to include new fields available in the API.
```
7 changes: 7 additions & 0 deletions website/docs/d/cloudfunctions_function.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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.

0 comments on commit ba9a6c7

Please sign in to comment.