Skip to content

Commit ef9ec23

Browse files
Update google_cloudfunctions_function datasource documentation. (#3813) (#2334)
Signed-off-by: Modular Magician <[email protected]>
1 parent 13bb0dd commit ef9ec23

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changelog/3813.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
cloudfunctions: Updated the `google_cloudfunctions_function` datasource to include new fields available in the API.
3+
```

website/docs/d/cloudfunctions_function.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ exported:
5656
* `service_account_email` - The service account email to be assumed by the cloud function.
5757
* `vpc_connector` - The VPC Network Connector that this cloud function can connect to.
5858
* `vpc_connector_egress_settings` - The egress settings for the connector, controlling what traffic is diverted through it.
59+
* `max_instances` - The limit on the maximum number of function instances that may coexist at a given time.
60+
* `source_repository` - The URL of the Cloud Source Repository that the function is deployed from. Structure is documented below.
5961

6062
The `event_trigger` block contains:
6163

@@ -70,3 +72,8 @@ for a full reference of accepted triggers.
7072
The `failure_policy` block supports:
7173

7274
* `retry` - Whether the function should be retried on failure.
75+
76+
77+
The `source_repository` block contains:
78+
79+
* `url` - The URL pointing to the hosted repository where the function is defined.

0 commit comments

Comments
 (0)