Configures the Google Compute Engine Default Network Tier for a project.
For more information, see, the Project API documentation.
resource "google_compute_project_default_network_tier" "default" {
network_tier = "PREMIUM"
}
The following arguments are supported:
network_tier
- (Required) The default network tier to be configured for the project.
This field can take the following values: PREMIUM
or STANDARD
.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 {{project}}
This resource provides the following Timeouts configuration options: configuration options:
create
- Default is 4 minutes (also used for update).Compute Engine Default Network Tier can be imported using any of these accepted formats:
{{project_id}}
In Terraform v1.5.0 and later, use an import
block to import Compute Engine Default Network Tier using one of the formats above. For example:
import {
id = "{{project_id}}"
to = google_compute_project_default_network_tier.default
}
When using the terraform import
command, Compute Engine Default Network Tier can be imported using one of the formats above. For example:
$ terraform import google_compute_project_default_network_tier.default {{project_id}}