Manages an Access Package within Identity Governance in Azure Active Directory.
The following API permissions are required in order to use this resource.
When authenticated with a service principal, this resource requires the following application role: EntitlementManagement.ReadWrite.All
.
When authenticated with a user principal, this resource requires one of the following directory roles: Catalog owner
, Access package manager
or Global Administrator
resource "azuread_access_package_catalog" "example" {
display_name = "example-catalog"
description = "Example catalog"
}
resource "azuread_access_package" "example" {
catalog_id = azuread_access_package_catalog.example.id
display_name = "access-package"
description = "Access Package"
}
catalog_id
- (Required) The ID of the Catalog this access package will be created in.description
- (Required) The description of the access package.display_name
- (Required) The display name of the access package.hidden
- (Optional) Whether the access package is hidden from the requestor.In addition to all arguments above, the following attributes are exported:
id
- The ID of this resource.Access Packages can be imported using the id
, e.g.
terraform import azuread_access_package.example_package 00000000-0000-0000-0000-000000000000