Skip to content

Commit fa83f54

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.761.9
1 parent 908b835 commit fa83f54

119 files changed

Lines changed: 12101 additions & 2976 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.env
2+
.env.local
13
**/.speakeasy/temp/
24
**/.speakeasy/logs/
35
.terraform

.speakeasy/gen.lock

Lines changed: 782 additions & 122 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
speakeasyVersion: 1.761.9
2+
sources:
3+
my-source:
4+
sourceNamespace: my-source
5+
sourceRevisionDigest: sha256:18ca3a653203fd0f2eb3f57462031549361456e2bc270f945b098d757e1d2115
6+
sourceBlobDigest: sha256:9fe6328715ec19ff6e4e57221fdacf95412bfede465a8a40661f527b8309bb9f
7+
tags:
8+
- latest
9+
- 1.2.1
10+
targets:
11+
terraform:
12+
source: my-source
13+
sourceNamespace: my-source
14+
sourceRevisionDigest: sha256:18ca3a653203fd0f2eb3f57462031549361456e2bc270f945b098d757e1d2115
15+
sourceBlobDigest: sha256:9fe6328715ec19ff6e4e57221fdacf95412bfede465a8a40661f527b8309bb9f
16+
workflow:
17+
workflowVersion: 1.0.0
18+
speakeasyVersion: latest
19+
sources:
20+
my-source:
21+
inputs:
22+
- location: https://docs.api.epilot.io/permissions.yaml
23+
overlays:
24+
- location: overlay.yaml
25+
registry:
26+
location: registry.speakeasyapi.dev/epilot/epilot/my-source
27+
targets:
28+
terraform:
29+
target: terraform
30+
source: my-source

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Permissions API: Flexible Role-based Access Control for epilot
2020
<!-- $toc-max-depth=2 -->
2121
* [epilot-dashboard](#epilot-dashboard)
2222
* [Installation](#installation)
23+
* [Authentication](#authentication)
2324
* [Available Resources and Data Sources](#available-resources-and-data-sources)
2425
* [Testing the provider locally](#testing-the-provider-locally)
2526
* [Development](#development)
@@ -48,12 +49,26 @@ provider "epilot-role" {
4849
```
4950
<!-- End Installation [installation] -->
5051

52+
<!-- Start Authentication [security] -->
53+
## Authentication
54+
55+
This provider supports authentication configuration via provider configuration.
56+
57+
Available configuration:
58+
59+
| Provider Attribute | Description |
60+
|---|---|
61+
| `epilot_auth` | Authorization header with epilot OAuth2 bearer token. |
62+
| `epilot_org` | Overrides the target organization to allow shared tenantaccess. |
63+
<!-- End Authentication [security] -->
64+
5165
<!-- Start Available Resources and Data Sources [operations] -->
5266
## Available Resources and Data Sources
5367

54-
### Resources
68+
### Managed Resources
5569

5670
* [epilot-role_role](docs/resources/role.md)
71+
5772
### Data Sources
5873

5974
* [epilot-role_role](docs/data-sources/role.md)

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,14 @@ Based on:
1414
- OpenAPI Doc 1.0.0
1515
- Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy
1616
### Generated
17-
- [terraform v0.4.4] .
17+
- [terraform v0.4.4] .
18+
19+
## 2026-04-28 00:57:31
20+
### Changes
21+
Based on:
22+
- OpenAPI Doc
23+
- Speakeasy CLI 1.761.9 (2.881.4) https://github.com/speakeasy-api/speakeasy
24+
### Generated
25+
- [terraform v0.21.0] .
26+
### Releases
27+
- [Terraform v0.21.0] https://registry.terraform.io/providers/epilot-dev/epilot-role/0.21.0 - .

docs/data-sources/role.md

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,46 +14,73 @@ Role DataSource
1414

1515
```terraform
1616
data "epilot-role_role" "my_role" {
17+
id = "123:owner"
1718
}
1819
```
1920

2021
<!-- schema generated by tfplugindocs -->
2122
## Schema
2223

24+
### Required
25+
26+
- `id` (String) Format: <organization_id>:<slug>
27+
2328
### Read-Only
2429

2530
- `expires_at` (String) date and time then the role will expire
26-
- `grants` (Attributes List) List of grants (permissions) applied to the role (see [below for nested schema](#nestedatt--grants))
31+
- `name` (String) Human-friendly name for the role
32+
- `organization_id` (String) Id of an organization
33+
- `schemas` (Attributes) A role that is applied to end customers and installers using the Portals (see [below for nested schema](#nestedatt--schemas))
34+
- `slug` (String) URL-friendly name for the role
35+
- `type` (String)
36+
37+
<a id="nestedatt--schemas"></a>
38+
### Nested Schema for `schemas`
39+
40+
Read-Only:
41+
42+
- `expires_at` (String) date and time then the role will expire
43+
- `grants` (Attributes List) List of grants (permissions) applied to the role (see [below for nested schema](#nestedatt--schemas--grants))
2744
- `id` (String) Format: <organization_id>:<slug>
2845
- `name` (String) Human-friendly name for the role
2946
- `organization_id` (String) Id of an organization
30-
- `partner_org_id` (String)
31-
- `pricing_tier` (String) The pricing tier of the organization this root role is based on
47+
- `parent_role` (String)
3248
- `slug` (String) URL-friendly name for the role
3349
- `type` (String)
50+
- `vendor_created` (Boolean) Indicates whether this role was created by a vendor organization on behalf of the partner organization.
3451

35-
<a id="nestedatt--grants"></a>
36-
### Nested Schema for `grants`
52+
<a id="nestedatt--schemas--grants"></a>
53+
### Nested Schema for `schemas.grants`
3754

3855
Read-Only:
3956

4057
- `action` (String)
41-
- `conditions` (Attributes List) (see [below for nested schema](#nestedatt--grants--conditions))
58+
- `conditions` (Attributes List) (see [below for nested schema](#nestedatt--schemas--grants--conditions))
4259
- `effect` (String)
4360
- `resource` (String)
4461

45-
<a id="nestedatt--grants--conditions"></a>
46-
### Nested Schema for `grants.conditions`
62+
<a id="nestedatt--schemas--grants--conditions"></a>
63+
### Nested Schema for `schemas.grants.conditions`
4764

4865
Read-Only:
4966

50-
- `equals_condition` (Attributes) Check if attribute equals to any of the values (see [below for nested schema](#nestedatt--grants--conditions--equals_condition))
67+
- `equals_condition` (Attributes) Check if attribute equals to any of the values (see [below for nested schema](#nestedatt--schemas--grants--conditions--equals_condition))
68+
- `equals_current_user_condition` (Attributes) Check if any relation_user attribute on the entity contains the current user. When attribute is provided, only that specific attribute path is checked. (see [below for nested schema](#nestedatt--schemas--grants--conditions--equals_current_user_condition))
5169

52-
<a id="nestedatt--grants--conditions--equals_condition"></a>
53-
### Nested Schema for `grants.conditions.equals_condition`
70+
<a id="nestedatt--schemas--grants--conditions--equals_condition"></a>
71+
### Nested Schema for `schemas.grants.conditions.equals_condition`
5472

5573
Read-Only:
5674

5775
- `attribute` (String)
5876
- `operation` (String)
5977
- `values` (List of String)
78+
79+
80+
<a id="nestedatt--schemas--grants--conditions--equals_current_user_condition"></a>
81+
### Nested Schema for `schemas.grants.conditions.equals_current_user_condition`
82+
83+
Read-Only:
84+
85+
- `attribute` (String) Optional JSON path to a specific user attribute. When omitted, all relation_user attributes on the entity are scanned.
86+
- `operation` (String)

docs/index.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
33
page_title: "epilot-role Provider"
4-
subcategory: ""
54
description: |-
65
Permissions API: Flexible Role-based Access Control for epilot
76
---
@@ -17,13 +16,13 @@ terraform {
1716
required_providers {
1817
epilot-role = {
1918
source = "epilot-dev/epilot-role"
20-
version = "0.20.8"
19+
version = "0.21.0"
2120
}
2221
}
2322
}
2423
2524
provider "epilot-role" {
26-
# Configuration options
25+
server_url = "..." # Optional
2726
}
2827
```
2928

@@ -32,6 +31,6 @@ provider "epilot-role" {
3231

3332
### Optional
3433

35-
- `epilot_auth` (String, Sensitive)
36-
- `epilot_org` (String, Sensitive)
34+
- `epilot_auth` (String, Sensitive) Authorization header with epilot OAuth2 bearer token.
35+
- `epilot_org` (String, Sensitive) Overrides the target organization to allow shared tenantaccess.
3736
- `server_url` (String) Server URL (defaults to https://permissions.sls.epilot.io)

0 commit comments

Comments
 (0)