subcategory | page_title | description |
---|---|---|
Firebase |
Google: google_firebase_android_app |
A Google Cloud Firebase Android application instance |
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:
- API documentation
- How-to Guides
resource "google_firebase_android_app" "basic" {
provider = google-beta
project = "my-project-name"
display_name = "Display Name Basic"
package_name = ""
}
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 toABANDON
to allow the AndroidApp to be untracked from terraform state rather than deleted uponterraform destroy
. This is useful because the AndroidApp may be serving traffic. Set toDELETE
to delete the AndroidApp. Default toDELETE
. -
project
- (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
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.
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.update
- Default is 20 minutes.delete
- Default is 20 minutes.
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}}
This resource supports User Project Overrides.