hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.36k stars 1.75k forks source link

Firebase - Cloud Messaging, Remote Config etc #10886

Open mcrobbj-abrdn opened 2 years ago

mcrobbj-abrdn commented 2 years ago

Community Note

Description

There doesnt seem to be any resources for many of the key Firebase resources. Firebase is the cloud messaging solution for all Android devices and many use it as the proxy for Apple push notifications.

New or Affected Resource(s)

Potential Terraform Configuration

resource "google_firebase_cloud_messaging_app" "example" { type = "android" package_name = "com." nickname= "Johns Android App" debug_signing_cert= "" }

resource "google_firebase_cloud_remote_config" "example" { parameter_name= "myParam" data_type = "string." description= "Testt paramater" default_value= "Test value" }

# Propose what you think the configuration to take advantage of this feature should look like.
# We may not use it verbatim, but it's helpful in understanding your intent.

References

shuyama1 commented 2 years ago

Hi @mcrobbj-abrdn! Thanks for filing the issue. Would you mind clarifying the resource you are asking for. Is https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages the one you are requesting?

mcrobbj-abrdn commented 2 years ago

This looks like the API, however there doesn’t seem to be an API to setup the Cloud messaging config. I would use Terraform to send notifications that’s application code. There are Google contributors for the provider, so Google maybe need to expose new AP’s so Terraform can use them.

From: Shuya Ma @.*** Sent: 18 January 2022 05:36 To: hashicorp/terraform-provider-google Cc: John McRobb; Mention Subject: [EXT] Re: [hashicorp/terraform-provider-google] Firebase - Cloud Messaging, Remote Config etc (Issue #10886)

Hi @mcrobbj-abrdnhttps://github.com/mcrobbj-abrdn! Thanks for filing the issue. Would you mind clarifying the resource you are asking for. Is https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages the one you are requesting?

— Reply to this email directly, view it on GitHubhttps://github.com/hashicorp/terraform-provider-google/issues/10886#issuecomment-1015086287, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWG76LRBPZBAHGCM5VNWLGTUWT33LANCNFSM5LWAKUXQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

This message is issued by a member of abrdn group.

The information contained in this message may be confidential, the disclosure of which is prohibited by law. If you don't think this email is meant for you, please let us know immediately by email, do not copy or forward the information it contains, and delete this email from your system. We filter, monitor and retain electronic communications to protect our systems and keep them running smoothly, and to comply with regulation and good business practice. E-mail transmission cannot be guaranteed to be secure and virus-free. We therefore do not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. Any personal views or opinions expressed in this email are the sender's and do not necessarily reflect the views of abrdn group. Calls may be monitored and/or recorded to protect both you and us and help with our training. For more information about how we process data and monitor communications please see our privacy policy www.abrdn.com/corporate/privacy

Our key entities in the United Kingdom (UK) are: abrdn plc (SC286832); Aberdeen Standard Alternative Funds Limited (SC111488), abrdn Capital Limited (SC317950), Ignis Asset Management Limited(SC200801), Ignis Investments Services Limited (SC101825), Standard Life Employee Services Limited (SC271355), abrdn Client Management Limited (SC193444), Standard Life Savings Limited (SC180203), Standard Life Investments Limited (SC123321), SL Capital Partners LLP (S0301408), Standard Life Investments (Private Capital) Limited (SC184076), Standard Life Investments (Mutual Funds) Limited (SC123322), SLTM Limited (SC075550), all registered in Scotland at 1 George Street, Edinburgh EH2 2LL. Aberdeen Asset Management PLC (SC82015), Aberdeen Asset Managers Limited (SC108419), Aberdeen Investment Solutions Limited (SC106723 ) all registered in Scotland at 10 Queen’s Terrace, Aberdeen, AB10 1XL. Aberdeen Asset Investments Limited (00794936), Aberdeen Standard Investments Life and Pensions Limited (03526143), Aberdeen Standard Fund Managers Limited (00740118) all registered in England at Bow Bells House, Bread Street, London, EC4M 9HH. abrdn Financial Planning and Advice Ltd (01447544), registered at 14th Floor 30 St. Mary Axe, London EC3A 8BF.
All entities are authorised and regulated by the UK Financial Conduct Authority with the exception of abrdn plc, Aberdeen Asset Management PLC, Ignis Asset Management Limited and Standard Life Employee Services Limited. *Also regulated by the UK Prudential Regulation Authority.

abrdn group comprises abrdn plc and its subsidiaries. For more information on abrdn group and entities outside the UK visit our website www.abrdn.com

© 2021 abrdn. All rights reserved.

mcrobbj-abrdn commented 2 years ago

https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.androidApps/create https://firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.iosApps/create

Look to be what is required

From: Shuya Ma @.*** Sent: 18 January 2022 05:36 To: hashicorp/terraform-provider-google Cc: John McRobb; Mention Subject: [EXT] Re: [hashicorp/terraform-provider-google] Firebase - Cloud Messaging, Remote Config etc (Issue #10886)

Hi @mcrobbj-abrdnhttps://github.com/mcrobbj-abrdn! Thanks for filing the issue. Would you mind clarifying the resource you are asking for. Is https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages the one you are requesting?

— Reply to this email directly, view it on GitHubhttps://github.com/hashicorp/terraform-provider-google/issues/10886#issuecomment-1015086287, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWG76LRBPZBAHGCM5VNWLGTUWT33LANCNFSM5LWAKUXQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>

This message is issued by a member of abrdn group.

The information contained in this message may be confidential, the disclosure of which is prohibited by law. If you don't think this email is meant for you, please let us know immediately by email, do not copy or forward the information it contains, and delete this email from your system. We filter, monitor and retain electronic communications to protect our systems and keep them running smoothly, and to comply with regulation and good business practice. E-mail transmission cannot be guaranteed to be secure and virus-free. We therefore do not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. Any personal views or opinions expressed in this email are the sender's and do not necessarily reflect the views of abrdn group. Calls may be monitored and/or recorded to protect both you and us and help with our training. For more information about how we process data and monitor communications please see our privacy policy www.abrdn.com/corporate/privacy

Our key entities in the United Kingdom (UK) are: abrdn plc (SC286832); Aberdeen Standard Alternative Funds Limited (SC111488), abrdn Capital Limited (SC317950), Ignis Asset Management Limited(SC200801), Ignis Investments Services Limited (SC101825), Standard Life Employee Services Limited (SC271355), abrdn Client Management Limited (SC193444), Standard Life Savings Limited (SC180203), Standard Life Investments Limited (SC123321), SL Capital Partners LLP (S0301408), Standard Life Investments (Private Capital) Limited (SC184076), Standard Life Investments (Mutual Funds) Limited (SC123322), SLTM Limited (SC075550), all registered in Scotland at 1 George Street, Edinburgh EH2 2LL. Aberdeen Asset Management PLC (SC82015), Aberdeen Asset Managers Limited (SC108419), Aberdeen Investment Solutions Limited (SC106723 ) all registered in Scotland at 10 Queen’s Terrace, Aberdeen, AB10 1XL. Aberdeen Asset Investments Limited (00794936), Aberdeen Standard Investments Life and Pensions Limited (03526143), Aberdeen Standard Fund Managers Limited (00740118) all registered in England at Bow Bells House, Bread Street, London, EC4M 9HH. abrdn Financial Planning and Advice Ltd (01447544), registered at 14th Floor 30 St. Mary Axe, London EC3A 8BF.
All entities are authorised and regulated by the UK Financial Conduct Authority with the exception of abrdn plc, Aberdeen Asset Management PLC, Ignis Asset Management Limited and Standard Life Employee Services Limited. *Also regulated by the UK Prudential Regulation Authority.

abrdn group comprises abrdn plc and its subsidiaries. For more information on abrdn group and entities outside the UK visit our website www.abrdn.com

© 2021 abrdn. All rights reserved.

mcrobbj commented 1 year ago

Any update on this?

tthrone-atomic commented 1 year ago

We are also wondering specifically about Remote Config support.

holumyn commented 1 year ago

Any hope on getting Remote Config support anytime soon?

tdemaio commented 1 year ago

Also interested - REST API exists for Remote Config: https://firebase.google.com/docs/reference/remote-config/rest

habid-loadsure commented 11 months ago

Any news on this? I love to have Remote Config in Terraform for +50 workspace i'm manually facing.

mmadjer commented 9 months ago

+1

kavaka123 commented 9 months ago

Could someone please look into this? We are in great need of having firebase remote configurations in Terraform.

lirlia commented 7 months ago

I created github action for remote config

serpro69 commented 12 hours ago

Any updates on this? We're in dire need for remote config support in terraform. There are APIs for remote config, so kind if strange that the provider still has no support for it.