This resource has been deprecated, please refer to ServicePerimeterEgressPolicy.
To get more information about EgressPolicy, see:
The following arguments are supported:
resource
-
(Required)
A GCP resource that is inside of the service perimeter.
egress_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 {{egress_policy_name}}/{{resource}}
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.delete
- Default is 20 minutes.EgressPolicy can be imported using any of these accepted formats:
{{egress_policy_name}}/{{resource}}
In Terraform v1.5.0 and later, use an import
block to import EgressPolicy using one of the formats above. For example:
import {
id = "{{egress_policy_name}}/{{resource}}"
to = google_access_context_manager_egress_policy.default
}
When using the terraform import
command, EgressPolicy can be imported using one of the formats above. For example:
$ terraform import google_access_context_manager_egress_policy.default {{egress_policy_name}}/{{resource}}