--- # ---------------------------------------------------------------------------- # # *** AUTO GENERATED CODE *** AUTO GENERATED CODE *** # # ---------------------------------------------------------------------------- # # 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. # # ---------------------------------------------------------------------------- layout: "google" page_title: "Google: google_access_context_manager_access_policy" sidebar_current: "docs-google-access-context-manager-access-policy" description: |- AccessPolicy is a container for AccessLevels (which define the necessary attributes to use GCP services) and ServicePerimeters (which define regions of services able to freely pass data within a perimeter). --- # google\_access\_context\_manager\_access\_policy AccessPolicy is a container for AccessLevels (which define the necessary attributes to use GCP services) and ServicePerimeters (which define regions of services able to freely pass data within a perimeter). An access policy is globally visible within an organization, and the restrictions it specifies apply to all projects within an organization. To get more information about AccessPolicy, see: * [API documentation](https://cloud.google.com/access-context-manager/docs/reference/rest/v1/accessPolicies) * How-to Guides * [Access Policy Quickstart](https://cloud.google.com/access-context-manager/docs/quickstart) ## Example Usage - Access Context Manager Access Policy Basic ```hcl resource "google_access_context_manager_access_policy" "access-policy" { parent = "organizations/123456789" title = "my policy" } ``` ## Argument Reference The following arguments are supported: * `parent` - (Required) The parent of this AccessPolicy in the Cloud Resource Hierarchy. Format: organizations/{organization_id} * `title` - (Required) Human readable title. Does not affect behavior. - - - ## Attributes Reference In addition to the arguments listed above, the following computed attributes are exported: * `name` - Resource name of the AccessPolicy. Format: {policy_id} * `create_time` - Time the AccessPolicy was created in UTC. * `update_time` - Time the AccessPolicy was updated in UTC. ## Timeouts This resource provides the following [Timeouts](/docs/configuration/resources.html#timeouts) configuration options: - `create` - Default is 6 minutes. - `update` - Default is 6 minutes. - `delete` - Default is 6 minutes. ## Import AccessPolicy can be imported using any of these accepted formats: ``` $ terraform import google_access_context_manager_access_policy.default {{name}} ``` -> If you're importing a resource with beta features, make sure to include `-provider=google-beta` as an argument so that Terraform uses the correct provider to import your resource.