google_access_context_manager_authorized_orgs_desc

An authorized organizations description describes a list of organizations (1) that have been authorized to use certain asset (for example, device) data owned by different organizations at the enforcement points, or (2) with certain asset (for example, device) have been authorized to access the resources in another organization at the enforcement points.

To get more information about AuthorizedOrgsDesc, see:

Example Usage - Access Context Manager Authorized Orgs Desc Basic

resource "google_access_context_manager_authorized_orgs_desc" "authorized-orgs-desc" {
  parent = "accessPolicies/${google_access_context_manager_access_policy.test-access.name}"
  name   = "accessPolicies/${google_access_context_manager_access_policy.test-access.name}/authorizedOrgsDescs/fakeDescName"
  authorization_type = "AUTHORIZATION_TYPE_TRUST"
  asset_type = "ASSET_TYPE_CREDENTIAL_STRENGTH"
  authorization_direction = "AUTHORIZATION_DIRECTION_TO"
  orgs = ["organizations/12345", "organizations/98765"]
}

resource "google_access_context_manager_access_policy" "test-access" {
  parent = "organizations/"
  title  = "my policy"
}

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

AuthorizedOrgsDesc can be imported using any of these accepted formats:

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

import {
  id = "{{name}}"
  to = google_access_context_manager_authorized_orgs_desc.default
}

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

$ terraform import google_access_context_manager_authorized_orgs_desc.default {{name}}