Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
**/.speakeasy/temp/
**/.speakeasy/logs/
.env
.env.local
.terraform
.terraform*
*.tfstate*
Expand Down
73 changes: 41 additions & 32 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
speakeasyVersion: 1.651.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:7ea416444bca3b48a3741f7e1de17530b8917995cfa7ae4ffaf4fef00bc72f7d
sourceBlobDigest: sha256:b0cdc27b97371a9c5c9ad1d5103926720d69c82f36e9e9d354f1be84b2e8a358
tags:
- latest
- speakeasy-sdk-regen-1758759560
- 2.0.0
targets:
terraform:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:7ea416444bca3b48a3741f7e1de17530b8917995cfa7ae4ffaf4fef00bc72f7d
sourceBlobDigest: sha256:b0cdc27b97371a9c5c9ad1d5103926720d69c82f36e9e9d354f1be84b2e8a358
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
my-source:
inputs:
- location: https://docs.api.epilot.io/user.yaml
overlays:
- location: overlay.yaml
registry:
location: registry.speakeasyapi.dev/epilot/epilot/my-source
targets:
terraform:
target: terraform
source: my-source
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ terraform {
required_providers {
epilot-usergroup = {
source = "epilot-dev/epilot-usergroup"
version = "0.10.5"
version = "0.11.0"
}
}
}
Expand Down Expand Up @@ -82,10 +82,23 @@ User API: Manage users in epilot organization(s)
<!-- $toc-max-depth=2 -->
* [Installation](#installation)
* [Testing the provider locally](#testing-the-provider-locally)
* [Authentication](#authentication)
* [Available Resources and Data Sources](#available-resources-and-data-sources)

<!-- End Table of Contents [toc] -->

<!-- Start Authentication [security] -->
## Authentication

This provider supports authentication configuration via provider configuration.

Available configuration:

| Provider Attribute | Description |
|---|---|
| `epilot_auth` | Authorization header with epilot OAuth2 bearer token. |
<!-- End Authentication [security] -->

<!-- Start Available Resources and Data Sources [operations] -->
## Available Resources and Data Sources

Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,14 @@ Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.147.0 (2.237.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [terraform v0.2.3] .
- [terraform v0.2.3] .

## 2025-11-09 00:21:46
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.651.0 (2.745.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [terraform v0.11.0] .
### Releases
- [Terraform v0.11.0] https://registry.terraform.io/providers/epilot-dev/epilot-usergroup/0.11.0 - .
5 changes: 2 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "epilot-usergroup Provider"
subcategory: ""
description: |-
User API: Manage users in epilot organization(s)
---
Expand All @@ -17,7 +16,7 @@ terraform {
required_providers {
epilot-usergroup = {
source = "epilot-dev/epilot-usergroup"
version = "0.10.5"
version = "0.11.0"
}
}
}
Expand All @@ -32,5 +31,5 @@ provider "epilot-usergroup" {

### Optional

- `epilot_auth` (String, Sensitive)
- `epilot_auth` (String, Sensitive) Authorization header with epilot OAuth2 bearer token.
- `server_url` (String) Server URL (defaults to https://user.sls.epilot.io)
13 changes: 12 additions & 1 deletion docs/resources/user_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,17 @@ resource "epilot-usergroup_user_group" "my_usergroup" {

Import is supported using the following syntax:

In Terraform v1.5.0 and later, the [`import` block](https://developer.hashicorp.com/terraform/language/import) can be used with the `id` attribute, for example:

```terraform
import {
to = epilot-usergroup_user_group.my_epilot-usergroup_user_group
id = "..."
}
```

The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:

```shell
terraform import epilot-usergroup_user_group.my_epilot-usergroup_user_group ""
terraform import epilot-usergroup_user_group.my_epilot-usergroup_user_group "..."
```
1 change: 0 additions & 1 deletion examples/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
epilot-usergroup = {
source = "epilot-dev/epilot-usergroup"
version = "0.10.5"
version = "0.11.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import {
to = epilot-usergroup_user_group.my_epilot-usergroup_user_group
id = "..."
}
2 changes: 1 addition & 1 deletion examples/resources/epilot-usergroup_user_group/import.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
terraform import epilot-usergroup_user_group.my_epilot-usergroup_user_group ""
terraform import epilot-usergroup_user_group.my_epilot-usergroup_user_group "..."
24 changes: 22 additions & 2 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,42 @@ generation:
maintainOpenAPIOrder: true
usageSnippets:
optionalPropertyRendering: withExample
sdkInitStyle: constructor
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: false
nameResolutionFeb2025: false
parameterOrderingFeb2024: false
requestResponseComponentNamesFeb2024: false
securityFeb2025: false
sharedErrorComponentsApr2025: false
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
schemas:
allOfMergeStrategy: shallowMerge
requestBodyFieldName: ""
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
sdkFlattening: true
telemetryEnabled: false
terraform:
version: 0.10.5
version: 0.11.0
additionalDataSources: []
additionalDependencies: {}
additionalEphemeralResources: []
additionalProviderAttributes:
httpHeaders: ""
tlsSkipVerify: ""
additionalResources: []
allowUnknownFieldsInWeakUnions: false
author: epilot-dev
baseErrorName: SDKBaseError
defaultErrorName: SDKError
enableOperationSecurity: false
enableOperationServers: false
enableTypeDeduplication: true
environmentVariables: []
imports:
Expand All @@ -32,6 +50,8 @@ terraform:
operations: operations
shared: shared
webhooks: webhooks
includeEmptyObjects: false
inputModelSuffix: input
outputModelSuffix: output
packageName: epilot-usergroup
unionDeserializationStrategy: populated-fields
57 changes: 30 additions & 27 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module github.com/epilot-dev/terraform-provider-epilot-usergroup

go 1.22.0
go 1.23.7

require (
github.com/ericlagergren/decimal v0.0.0-20221120152707-495c53812d05
github.com/hashicorp/go-uuid v1.0.3
github.com/hashicorp/terraform-plugin-docs v0.19.4
github.com/hashicorp/terraform-plugin-framework v1.12.0
github.com/hashicorp/terraform-plugin-framework-validators v0.13.0
github.com/hashicorp/terraform-plugin-go v0.24.0
github.com/hashicorp/terraform-plugin-docs v0.22.0
github.com/hashicorp/terraform-plugin-framework v1.15.1
github.com/hashicorp/terraform-plugin-framework-validators v0.18.0
github.com/hashicorp/terraform-plugin-go v0.28.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/stretchr/testify v1.8.3
)

require (
Expand All @@ -18,56 +18,59 @@ require (
github.com/Masterminds/goutils v1.1.1 // indirect
github.com/Masterminds/semver/v3 v3.2.0 // indirect
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect
github.com/ProtonMail/go-crypto v1.1.6 // indirect
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
github.com/armon/go-radix v1.0.0 // indirect
github.com/bgentry/speakeasy v0.1.0 // indirect
github.com/bmatcuk/doublestar/v4 v4.6.1 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/bmatcuk/doublestar/v4 v4.8.1 // indirect
github.com/cloudflare/circl v1.6.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/cli v1.1.6 // indirect
github.com/hashicorp/cli v1.1.7 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.5.0 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-plugin v1.6.1 // indirect
github.com/hashicorp/go-plugin v1.6.3 // indirect
github.com/hashicorp/go-retryablehttp v0.7.7 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/hashicorp/hc-install v0.7.0 // indirect
github.com/hashicorp/terraform-exec v0.21.0 // indirect
github.com/hashicorp/terraform-json v0.22.1 // indirect
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
github.com/hashicorp/hc-install v0.9.2 // indirect
github.com/hashicorp/terraform-exec v0.23.0 // indirect
github.com/hashicorp/terraform-json v0.25.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.5 // indirect
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/huandu/xstrings v1.3.3 // indirect
github.com/imdario/mergo v0.3.15 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/oklog/run v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/posener/complete v1.2.3 // indirect
github.com/shopspring/decimal v1.3.1 // indirect
github.com/spf13/cast v1.5.0 // indirect
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/yuin/goldmark v1.7.1 // indirect
github.com/yuin/goldmark v1.7.7 // indirect
github.com/yuin/goldmark-meta v1.1.0 // indirect
github.com/zclconf/go-cty v1.14.4 // indirect
github.com/zclconf/go-cty v1.16.3 // indirect
go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/crypto v0.38.0 // indirect
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 // indirect
google.golang.org/grpc v1.66.2 // indirect
google.golang.org/protobuf v1.34.2 // indirect
golang.org/x/mod v0.25.0 // indirect
golang.org/x/net v0.39.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/text v0.26.0 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a // indirect
google.golang.org/grpc v1.72.1 // indirect
google.golang.org/protobuf v1.36.6 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading