Skip to content

Latest commit

 

History

History
112 lines (78 loc) · 3.44 KB

firebase_android_app.html.markdown

File metadata and controls

112 lines (78 loc) · 3.44 KB
subcategory page_title description
Firebase
Google: google_firebase_android_app
A Google Cloud Firebase Android application instance

google_firebase_android_app

A Google Cloud Firebase Android application instance

~> Warning: This resource is in beta, and should be used with the terraform-provider-google-beta provider. See Provider Versions for more details on beta resources.

To get more information about AndroidApp, see:

Example Usage - Firebase Android App Basic

resource "google_firebase_android_app" "basic" {
  provider = google-beta
  project = "my-project-name"
  display_name = "Display Name Basic"
  package_name = ""
}

Argument Reference

The following arguments are supported:

  • display_name - (Required) The user-assigned display name of the App.

  • package_name - (Optional) Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.

  • deletion_policy - (Optional) (Optional) Set to ABANDON to allow the AndroidApp to be untracked from terraform state rather than deleted upon terraform destroy. This is useful because the AndroidApp may be serving traffic. Set to DELETE to delete the AndroidApp. Default to DELETE.

  • project - (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Attributes Reference

In addition to the arguments listed above, the following computed attributes are exported:

  • id - an identifier for the resource with format {{name}}

  • name - The fully qualified resource name of the App, for example: projects/projectId/androidApps/appId

  • app_id - The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

Timeouts

This resource provides the following Timeouts configuration options:

  • create - Default is 20 minutes.
  • update - Default is 20 minutes.
  • delete - Default is 20 minutes.

Import

AndroidApp can be imported using any of these accepted formats:

$ terraform import google_firebase_android_app.default projects/{{project}}/androidApps/{{appId}}
$ terraform import google_firebase_android_app.default {{project}}/{{appId}}
$ terraform import google_firebase_android_app.default androidApps/{{appId}}
$ terraform import google_firebase_android_app.default {{appId}}

User Project Overrides

This resource supports User Project Overrides.