Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadow649 committed Jul 11, 2023
1 parent a0f2a42 commit ef1aea0
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions website/docs/d/custom_role.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
subcategory: "Sysdig Platform"
layout: "sysdig"
page_title: "Sysdig: sysdig_custom_role"
description: |-
Retrieves information about a custom role from the name
---

# Data Source: sysdig_custom_role

Retrieves information about a custom role from the name

-> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.

## Example Usage

```terraform
data "sysdig_custom_role" "custom_role" {
name = "CustomRoleName"
}
```

## Attributes Reference

In addition to all arguments above, the following attributes are exported:

* `id` - The custom role's ID.

* `name` - The custom role's name.

* `description` - The custom role's description.

* `monitor_permissions` - The custom role's monitor permissions.

* `secure_permissions` - The custom role's secure permissions.

0 comments on commit ef1aea0

Please sign in to comment.