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: