Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update google_cloudfunctions_function datasource documentation. #6935

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.