google_firebase_apple_app

A Google Cloud Firebase Apple application instance

To get more information about AppleApp, see:

Example Usage - Firebase Apple App Basic

resource "google_firebase_apple_app" "default" {
  provider = google-beta
  project = "my-project-name"
  display_name = "Display Name Basic"
  bundle_id = "apple.app.12345"
}

Example Usage - Firebase Apple App Full

resource "google_firebase_apple_app" "full" {
  provider = google-beta
  project = "my-project-name"
  display_name = "Display Name Full"
  bundle_id = "apple.app.12345"
  app_store_id = "12345"
  team_id = "9987654321"
  api_key_id = google_apikeys_key.apple.uid
}

resource "google_apikeys_key" "apple" {
  provider = google-beta

  name         = "api-key"
  display_name = "Display Name Full"
  project = "my-project-name"

  restrictions {
    ios_key_restrictions {
      allowed_bundle_ids = ["apple.app.12345"]
    }
  }
}

Argument Reference

The following arguments are supported:


Attributes Reference

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

Timeouts

This resource provides the following Timeouts configuration options:

Import

AppleApp can be imported using any of these accepted formats:

In Terraform v1.5.0 and later, use an import block to import AppleApp using one of the formats above. For example:

import {
  id = "{{project}} projects/{{project}}/iosApps/{{app_id}}"
  to = google_firebase_apple_app.default
}

When using the terraform import command, AppleApp can be imported using one of the formats above. For example:

$ terraform import google_firebase_apple_app.default {{project}} projects/{{project}}/iosApps/{{app_id}}
$ terraform import google_firebase_apple_app.default projects/{{project}}/iosApps/{{app_id}}
$ terraform import google_firebase_apple_app.default {{project}}/{{project}}/{{app_id}}
$ terraform import google_firebase_apple_app.default iosApps/{{app_id}}
$ terraform import google_firebase_apple_app.default {{app_id}}

User Project Overrides

This resource supports User Project Overrides.