blob: cf67b9a9d10c436a269221ab95e88206378cef05 [file] [log] [blame]
---
# ----------------------------------------------------------------------------
#
# *** AUTO GENERATED CODE *** Type: MMv1 ***
#
# ----------------------------------------------------------------------------
#
# This file is automatically generated by Magic Modules and manual
# changes will be clobbered when the file is regenerated.
#
# Please read more about how to change this file in
# .github/CONTRIBUTING.md.
#
# ----------------------------------------------------------------------------
subcategory: "Access Context Manager (VPC Service Controls)"
description: |-
This resource has been deprecated, please refer to ServicePerimeterIngressPolicy.
---
# google\_access\_context\_manager\_ingress\_policy
This resource has been deprecated, please refer to ServicePerimeterIngressPolicy.
To get more information about IngressPolicy, see:
* [API documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies.servicePerimeters#ingresspolicy)
## Argument Reference
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.
- - -
## Attributes Reference
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}}`
## Timeouts
This resource provides the following
[Timeouts](https://developer.hashicorp.com/terraform/plugin/sdkv2/resources/retries-and-customizable-timeouts) configuration options:
- `create` - Default is 20 minutes.
- `delete` - Default is 20 minutes.
## Import
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](https://developer.hashicorp.com/terraform/language/import) to import IngressPolicy using one of the formats above. For example:
```tf
import {
id = "{{ingress_policy_name}}/{{resource}}"
to = google_access_context_manager_ingress_policy.default
}
```
When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), 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}}
```