Represents a Location resource.
The following arguments are supported:
name
-
(Optional)
Name of the Location resource.
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/{{name}}
self_link
- The URI of the created resource.This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.update
- Default is 20 minutes.delete
- Default is 20 minutes.Location can be imported using any of these accepted formats:
projects/{{project}}/locations/{{name}}
{{project}}/{{name}}
{{name}}
In Terraform v1.5.0 and later, use an import
block to import Location using one of the formats above. For example:
import {
id = "projects/{{project}}/locations/{{name}}"
to = google_notebooks_location.default
}
When using the terraform import
command, Location can be imported using one of the formats above. For example:
$ terraform import google_notebooks_location.default projects/{{project}}/locations/{{name}}
$ terraform import google_notebooks_location.default {{project}}/{{name}}
$ terraform import google_notebooks_location.default {{name}}
This resource supports User Project Overrides.