This resource has been deprecated, please refer to ServicePerimeterIngressPolicy.
To get more information about IngressPolicy, see:
The following arguments are supported:
resource
-
(Required)
A GCP resource that is inside of the service perimeter.
ingress_policy_name
-
(Required)
The name of the Service Perimeter to add this resource to.
In addition to the arguments listed above, the following computed attributes are exported:
id
- an identifier for the resource with format {{ingress_policy_name}}/{{resource}}
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.delete
- Default is 20 minutes.IngressPolicy can be imported using any of these accepted formats:
{{ingress_policy_name}}/{{resource}}
In Terraform v1.5.0 and later, use an import
block to import IngressPolicy using one of the formats above. For example:
import {
id = "{{ingress_policy_name}}/{{resource}}"
to = google_access_context_manager_ingress_policy.default
}
When using the terraform import
command, IngressPolicy can be imported using one of the formats above. For example:
$ terraform import google_access_context_manager_ingress_policy.default {{ingress_policy_name}}/{{resource}}