You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the destination.cloud_function field on google_eventarc_trigger output only, update field description in docs (#9820) (#17052)
* Make the `destination.cloud_function` field on google_eventarc_trigger output only
* Update description of `destination.cloud_function` field on google_eventarc_trigger
* Add beta overrides to `google_eventarc_trigger` resource
[upstream:ad8f182ac10f8c3537ef793f6f99b1053d153d7f]
Signed-off-by: Modular Magician <[email protected]>
eventarc: made the `destination.cloud_function` field on `google_eventarc_trigger` an output. Previously when users attempted to set this in their configuration it caused an API error.
Description: "[WARNING] Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}",
Description: "The resource name of the Workflow whose Executions are triggered by the events. The Workflow resource should be deployed in the same project as the trigger. Format: `projects/{project}/locations/{location}/workflows/{workflow}`",
215
208
},
209
+
210
+
"cloud_function": {
211
+
Type: schema.TypeString,
212
+
Computed: true,
213
+
Description: "The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.",
Copy file name to clipboardExpand all lines: website/docs/r/eventarc_trigger.html.markdown
+1-2
Original file line number
Diff line number
Diff line change
@@ -100,8 +100,7 @@ The following arguments are supported:
100
100
The `destination` block supports:
101
101
102
102
*`cloud_function` -
103
-
(Optional)
104
-
[WARNING] Configuring a Cloud Function in Trigger is not supported as of today. The Cloud Function resource name. Format: projects/{project}/locations/{location}/functions/{function}
103
+
The Cloud Function resource name. Only Cloud Functions V2 is supported. Format projects/{project}/locations/{location}/functions/{function} This is a read-only field. [WARNING] Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.
0 commit comments