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
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
**/.speakeasy/temp/
**/.speakeasy/logs/
.env
.env.local
.terraform
.terraform*
*.tfstate*
.DS_Store

original.yaml
original_modified.yaml
317 changes: 31 additions & 286 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.634.2
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:2179e09157bb3cbb0518b8c1a3bbf815fe2aa1b8c608f8ffd727ecffef510238
sourceBlobDigest: sha256:a54edacc88044f0b5c57bf0507c0477c4619f7d3c99a53fd5b371c4ef1ff9ce0
tags:
- latest
- speakeasy-sdk-regen-1758759933
- 0.0.1
targets:
terraform:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:2179e09157bb3cbb0518b8c1a3bbf815fe2aa1b8c608f8ffd727ecffef510238
sourceBlobDigest: sha256:a54edacc88044f0b5c57bf0507c0477c4619f7d3c99a53fd5b371c4ef1ff9ce0
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
sources:
my-source:
inputs:
- location: https://docs.api.epilot.io/dashboard.yaml
overlays:
- location: overlay.yaml
registry:
location: registry.speakeasyapi.dev/epilot/epilot/my-source
targets:
terraform:
target: terraform
source: my-source
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Dashboard API: API to store the dashboard configuration for the epilot 360 dashb
<!-- $toc-max-depth=2 -->
* [epilot-dashboard](#epilot-dashboard)
* [Installation](#installation)
* [Authentication](#authentication)
* [Available Resources and Data Sources](#available-resources-and-data-sources)
* [Testing the provider locally](#testing-the-provider-locally)
* [Development](#development)
Expand All @@ -38,7 +39,7 @@ terraform {
required_providers {
epilot-dashboard = {
source = "epilot-dev/epilot-dashboard"
version = "0.15.2"
version = "0.16.0"
}
}
}
Expand All @@ -49,6 +50,19 @@ provider "epilot-dashboard" {
```
<!-- End Installation [installation] -->

<!-- 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. |
| `epilot_org` | Overrides the target organization to allow shared tenantaccess. |
<!-- 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 @@ -14,4 +14,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.4.4] .
- [terraform v0.4.4] .

## 2025-10-06 00:25:57
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.634.2 (2.721.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [terraform v0.16.0] .
### Releases
- [Terraform v0.16.0] https://registry.terraform.io/providers/epilot-dev/epilot-dashboard/0.16.0 - .
7 changes: 3 additions & 4 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-dashboard Provider"
subcategory: ""
description: |-
Dashboard API: API to store the dashboard configuration for the epilot 360 dashboard
---
Expand All @@ -17,7 +16,7 @@ terraform {
required_providers {
epilot-dashboard = {
source = "epilot-dev/epilot-dashboard"
version = "0.15.2"
version = "0.16.0"
}
}
}
Expand All @@ -32,6 +31,6 @@ provider "epilot-dashboard" {

### Optional

- `epilot_auth` (String, Sensitive)
- `epilot_org` (String, Sensitive)
- `epilot_auth` (String, Sensitive) Authorization header with epilot OAuth2 bearer token.
- `epilot_org` (String, Sensitive) Overrides the target organization to allow shared tenantaccess.
- `server_url` (String) Server URL (defaults to https://dashboard.sls.epilot.io)
11 changes: 11 additions & 0 deletions docs/resources/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@ resource "epilot-dashboard_dashboard" "my_dashboard" {

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-dashboard_dashboard.my_epilot-dashboard_dashboard
id = "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
```

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

```shell
terraform import epilot-dashboard_dashboard.my_epilot-dashboard_dashboard "3fa85f64-5717-4562-b3fc-2c963f66afa6"
```
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-dashboard = {
source = "epilot-dev/epilot-dashboard"
version = "0.15.2"
version = "0.16.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import {
to = epilot-dashboard_dashboard.my_epilot-dashboard_dashboard
id = "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
17 changes: 15 additions & 2 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,21 @@ generation:
sdkClassName: SDK
usageSnippets:
optionalPropertyRendering: withExample
sdkInitStyle: constructor
fixes:
nameResolutionDec2023: false
nameResolutionFeb2025: false
parameterOrderingFeb2024: false
requestResponseComponentNamesFeb2024: false
securityFeb2025: false
sharedErrorComponentsApr2025: false
auth:
oAuth2ClientCredentialsEnabled: false
oAuth2PasswordEnabled: false
hoistGlobalSecurity: true
tests:
generateTests: true
generateNewTests: false
skipResponseBodyAssertions: false
telemetryEnabled: false
go:
version: 0.0.1
Expand All @@ -28,12 +36,17 @@ go:
outputModelSuffix: output
packageName: openapi
terraform:
version: 0.15.2
version: 0.16.0
additionalDataSources: []
additionalDependencies: {}
additionalEphemeralResources: []
additionalProviderAttributes:
httpHeaders: ""
tlsSkipVerify: ""
additionalResources: []
allowUnknownFieldsInWeakUnions: false
author: epilot-dev
baseErrorName: SDKBaseError
defaultErrorName: SDKError
enableTypeDeduplication: true
environmentVariables: []
Expand Down
58 changes: 31 additions & 27 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
module github.com/epilot-dev/terraform-provider-epilot-dashboard

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-jsontypes v0.2.0
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 +19,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