Catalogs are top-level containers for Databases and Tables.
To get more information about Catalog, see:
resource "google_biglake_catalog" "default" {
name = "my_catalog"
location = "US"
}
The following arguments are supported:
location
-
(Required)
The geographic location where the Catalog should reside.
name
-
(Required)
The name of the Catalog. Format:
projects/{project_id_or_number}/locations/{locationId}/catalogs/{catalogId}
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 projects/{{project}}/locations/{{location}}/catalogs/{{name}}
create_time
-
Output only. The creation time of the catalog. A timestamp in RFC3339 UTC
"Zulu" format, with nanosecond resolution and up to nine fractional
digits.
update_time
-
Output only. The last modification time of the catalog. A timestamp in
RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits.
delete_time
-
Output only. The deletion time of the catalog. Only set after the catalog
is deleted. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond
resolution and up to nine fractional digits.
expire_time
-
Output only. The time when this catalog is considered expired. Only set
after the catalog is deleted. Only set after the catalog is deleted.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
up to nine fractional digits.
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.delete
- Default is 20 minutes.Catalog can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/catalogs/{{name}}
{{project}}/{{location}}/{{name}}
{{location}}/{{name}}
In Terraform v1.5.0 and later, use an import
block to import Catalog using one of the formats above. For example:
import {
id = "projects/{{project}}/locations/{{location}}/catalogs/{{name}}"
to = google_biglake_catalog.default
}
When using the terraform import
command, Catalog can be imported using one of the formats above. For example:
$ terraform import google_biglake_catalog.default projects/{{project}}/locations/{{location}}/catalogs/{{name}}
$ terraform import google_biglake_catalog.default {{project}}/{{location}}/{{name}}
$ terraform import google_biglake_catalog.default {{location}}/{{name}}
This resource supports User Project Overrides.