English 中文(简体)
我们能够通过地形对云层QL作出通知?
原标题:Can we Enable notifications preferences on CloudSQL by terraform?
问题回答

或许请参看google_monitoring_notification_channel@ https://registry.form.io/providers/hashicorp/google/latest/docs/resources/monitoring_notification_channel

resource "google_monitoring_notification_channel" "default" {
  display_name = "Test Slack Channel"
  type         = "slack"
  labels = {
    "channel_name" = "#foobar"
  }
  sensitive_labels {
    auth_token = "one"
  }
}

我没有测试过这件事,因此,请对你的工作(如果我不删除的话)发表意见。

Unfortunately, as of this post in April 2024...

http://stackoverflow.com/questions/63466142/gcloud-sql-is-there-a-way-to-opting-in-to-mainance-notifications-via-cli-or>。

So logically... there isn t a way to use Terraform to do this.

If you look at the Terraform docs for the google_sql_database_instance resource in the Terraform docs[2], you ll find there are only options for maintenance windows and maintenance versions, but not for opting in for maintenance notifications.

此外,对于那些希望使用定制电子邮件地址或他人收到通知的人,请参见:3>:

通知发给与谷歌账户有关的电子邮件地址。

www.un.org/spanish/ecosoc 不可能混淆一个习惯电子邮件,如(例如,a Team emails)。

我最好的猜测? 没有足够的用户要求这一特征在GCP console之外暴露。

你们可以检查公共问题跟踪器,但到现在,我看不到这一问题,因为“谷歌”()。

Sources:





相关问题
How to allow only a specific branch to merge to main?

As main branch is always the default branch in my repositories, when I create a pull request the default branch to merge into is main. Without paying attention, I can merge a feature branch to main, ...

热门标签