Skip to content

googleComputeProjectDefaultNetworkTier

Configures the Google Compute Engine Default Network Tier for a project.

For more information, see, the Project API documentation.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
new google.computeProjectDefaultNetworkTier.ComputeProjectDefaultNetworkTier(
  this,
  "default",
  {
    network_tier: "PREMIUM",
  }
);

Argument Reference

The following arguments are supported:

  • networkTier - (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.

Attributes Reference

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

  • id - an identifier for the resource with format {{project}}

Timeouts

This resource provides the following Timeouts configuration options: configuration options:

  • create - Default is 4 minutes (also used for update).

Import

This resource can be imported using the project ID:

terraformImportGoogleComputeProjectDefaultNetworkTierDefaultProjectId