google_iap_brand

OAuth brand data. Only "Organization Internal" brands can be created programmatically via API. To convert it into an external brands please use the GCP Console.

To get more information about Brand, see:

Example Usage - Iap Brand

resource "google_project" "project" {
  project_id = "my-project"
  name       = "my-project"
  org_id     = "123456789"
}

resource "google_project_service" "project_service" {
  project = google_project.project.project_id
  service = "iap.googleapis.com"
}

resource "google_iap_brand" "project_brand" {
  support_email     = "support@example.com"
  application_title = "Cloud IAP protected Application"
  project           = google_project_service.project_service.project
}

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

Brand can be imported using any of these accepted formats:

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

import {
  id = "projects/{{project_id}}/brands/{{brand_id}}"
  to = google_iap_brand.default
}

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

$ terraform import google_iap_brand.default projects/{{project_id}}/brands/{{brand_id}}
$ terraform import google_iap_brand.default projects/{{project_number}}/brands/{{brand_id}}
$ terraform import google_iap_brand.default {{project_number}}/{{brand_id}}

User Project Overrides

This resource supports User Project Overrides.