Google Cloud Armor network edge security service resource.
To get more information about NetworkEdgeSecurityService, see:
resource "google_compute_network_edge_security_service" "default" {
provider = google-beta
name = "my-edge-security-service"
region = "us-east1"
description = "My basic resource"
}
The following arguments are supported:
name
-
(Required)
Name of the resource. Provided by the client when the resource is created.description
-
(Optional)
Free-text description of the resource.
security_policy
-
(Optional)
The resource URL for the network edge security service associated with this network edge security service.
region
-
(Optional)
The region of the gateway security policy.
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}}/regions/{{region}}/networkEdgeSecurityServices/{{name}}
service_id
-
The unique identifier for the resource. This identifier is defined by the server.
creation_timestamp
-
Creation timestamp in RFC3339 text format.
self_link
-
Server-defined URL for the resource.
self_link_with_service_id
-
Server-defined URL for this resource with the resource id.
fingerprint
-
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService.
An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet.
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.update
- Default is 20 minutes.delete
- Default is 20 minutes.NetworkEdgeSecurityService can be imported using any of these accepted formats:
projects/{{project}}/regions/{{region}}/networkEdgeSecurityServices/{{name}}
{{project}}/{{region}}/{{name}}
{{region}}/{{name}}
{{name}}
In Terraform v1.5.0 and later, use an import
block to import NetworkEdgeSecurityService using one of the formats above. For example:
import {
id = "projects/{{project}}/regions/{{region}}/networkEdgeSecurityServices/{{name}}"
to = google_compute_network_edge_security_service.default
}
When using the terraform import
command, NetworkEdgeSecurityService can be imported using one of the formats above. For example:
$ terraform import google_compute_network_edge_security_service.default projects/{{project}}/regions/{{region}}/networkEdgeSecurityServices/{{name}}
$ terraform import google_compute_network_edge_security_service.default {{project}}/{{region}}/{{name}}
$ terraform import google_compute_network_edge_security_service.default {{region}}/{{name}}
$ terraform import google_compute_network_edge_security_service.default {{name}}
This resource supports User Project Overrides.