google_cloud_ids_endpoint

Cloud IDS is an intrusion detection service that provides threat detection for intrusions, malware, spyware, and command-and-control attacks on your network.

To get more information about Endpoint, see:

Example Usage - Cloudids Endpoint

resource "google_compute_network" "default" {
    name = "tf-test-my-network"
}
resource "google_compute_global_address" "service_range" {
    name          = "address"
    purpose       = "VPC_PEERING"
    address_type  = "INTERNAL"
    prefix_length = 16
    network       = google_compute_network.default.id
}
resource "google_service_networking_connection" "private_service_connection" {
    network                 = google_compute_network.default.id
    service                 = "servicenetworking.googleapis.com"
    reserved_peering_ranges = [google_compute_global_address.service_range.name]
}

resource "google_cloud_ids_endpoint" "example-endpoint" {
    name     = "test"
    location = "us-central1-f"
    network  = google_compute_network.default.id
    severity = "INFORMATIONAL"
    depends_on = [google_service_networking_connection.private_service_connection]
}

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

Endpoint can be imported using any of these accepted formats:

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

import {
  id = "projects/{{project}}/locations/{{location}}/endpoints/{{name}}"
  to = google_cloud_ids_endpoint.default
}

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

$ terraform import google_cloud_ids_endpoint.default projects/{{project}}/locations/{{location}}/endpoints/{{name}}
$ terraform import google_cloud_ids_endpoint.default {{project}}/{{location}}/{{name}}
$ terraform import google_cloud_ids_endpoint.default {{location}}/{{name}}

User Project Overrides

This resource supports User Project Overrides.