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

Make the destination.cloud_function field on google_eventarc_trigger output only, update field description in docs #17052

Conversation

modular-magician
Copy link
Collaborator

The API docs describe this field as output only:

The Cloud Function resource name. Only Cloud Functions V2 is supported. Format: projects/{project}/locations/{location}/functions/{function}This is a read-only field. Creating Cloud Functions V2 triggers is only supported via the Cloud Functions product. An error will be returned if the user sets this value.

In this PR I'm updating the schema for this field so it's Computed and not Optional, and also updating the provider documentation for this field to match the API docs.

Release Note Template for Downstream PRs (will be copied)

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.

Derived from GoogleCloudPlatform/magic-modules#9820

…r output only, update field description in docs (hashicorp#9820)

* 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 <magic-modules@google.com>
@modular-magician modular-magician merged commit 689b8e1 into hashicorp:main Jan 19, 2024
4 checks passed
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant