google_network_security_security_profile_group

A security profile group defines a container for security profiles.

To get more information about SecurityProfileGroup, see:

Example Usage - Network Security Security Profile Group Basic

resource "google_network_security_security_profile_group" "default" {
  provider                  = google-beta
  name                      = "sec-profile-group"
  parent                    = "organizations/123456789"
  description               = "my description"
  threat_prevention_profile = google_network_security_security_profile.security_profile.id

  labels = {
    foo = "bar"
  }
}

resource "google_network_security_security_profile" "security_profile" {
    provider    = google-beta
    name        = "sec-profile"
    type        = "THREAT_PREVENTION"
    parent      = "organizations/123456789"
    location    = "global"
}

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

SecurityProfileGroup can be imported using any of these accepted formats:

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

import {
  id = "{{parent}}/locations/{{location}}/securityProfileGroups/{{name}}"
  to = google_network_security_security_profile_group.default
}

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

$ terraform import google_network_security_security_profile_group.default {{parent}}/locations/{{location}}/securityProfileGroups/{{name}}