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

Support for Azure Notification Hub FCM credentials

Open tcarsuzanlandytech opened this issue 1 year ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Community Note

  • Please vote on this issue by adding a :thumbsup: 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 and review the contribution guide to help.

Description

We need a new FCM credentials block in Azure Notification module.

image

Migration from GCM to FCM is required before July 2024. https://learn.microsoft.com/en-us/azure/notification-hubs/notification-hubs-gcm-to-fcm https://learn.microsoft.com/en-us/azure/notification-hubs/firebase-migration-rest#create-google-service-account-json-file

New or Affected Resource(s)/Data Source(s)

azurerm_notification_hub

Potential Terraform Configuration

resource "azurerm_notification_hub" "example" {
  name                = "mynotificationhub"
  namespace_name      = azurerm_notification_hub_namespace.example.name
  resource_group_name = azurerm_resource_group.example.name
  location            = azurerm_resource_group.example.location
  fcm_credential {
    private_key       = "xxx"
    client_email      = "xxx"
    project_id        = "xxx"
  } 
}

References

https://github.com/MicrosoftDocs/azure-docs/issues/93522

tcarsuzanlandytech avatar Mar 12 '24 08:03 tcarsuzanlandytech