terraform-provider-google icon indicating copy to clipboard operation
terraform-provider-google copied to clipboard

Add New Resource into TPG, Eventarc Channel

Open daveavi opened this issue 2 years ago • 0 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment. If the issue is assigned to the "modular-magician" user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If the issue is assigned to a user, that user is claiming responsibility for the issue. If the issue is assigned to "hashibot", a community member has claimed the issue already.

Description

Currently terraform provider google does not have support for a new resource that the Eventarc team has created, called Channel. To give a bit more context about channel's, channel's act as a communication layer for third party providers (example Datadog), to provide events to a subscribers GCP project.

We want to allow customers to set up channels in their terraform modules, and provide the name of the channel for new third party triggers they may want to set up.

New or Affected Resource(s)

  • google_eventarc_channel
  • google_eventarc_trigger

Potential Terraform Configuration

resource "google_eventarc_channel" "new_channel" {
  location = "us-west1"
  name     = "channel"
  project  = "my-project-name"
  third_party_provider = "projects/my-project-name/locations/us-west1/providers/datadog"
}

References

  • https://cloud.google.com/eventarc/docs/third-parties/create-channels
  • https://cloud.google.com/eventarc/docs/third-parties/third-parties-overview

daveavi avatar Sep 09 '22 14:09 daveavi