Skip to content

Commit e50d0cc

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.449.0
1 parent 06d637f commit e50d0cc

File tree

34 files changed

+1068
-3348
lines changed

34 files changed

+1068
-3348
lines changed

.speakeasy/gen.lock

Lines changed: 79 additions & 1476 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

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

.speakeasy/workflow.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
workflowVersion: 1.0.0
2+
speakeasyVersion: latest
23
sources:
34
my-source:
45
inputs:
56
- location: https://docs.api.epilot.io/template-variables.yaml
7+
registry:
8+
location: registry.speakeasyapi.dev/epilot/epilot/my-source
69
targets:
710
terraform:
811
target: terraform

README.md

Lines changed: 44 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,19 @@ Template Variables API: API to provide variables for email and document template
2626

2727
<!-- Start Table of Contents [toc] -->
2828
## Table of Contents
29+
<!-- $toc-max-depth=2 -->
30+
* [epilot-custom-variable](#epilot-custom-variable)
31+
* [🏗 **Welcome to your new Terraform Provider!** 🏗](#welcome-to-your-new-terraform-provider)
32+
* [Installation](#installation)
33+
* [Available Resources and Data Sources](#available-resources-and-data-sources)
34+
* [Testing the provider locally](#testing-the-provider-locally)
35+
* [Development](#development)
36+
* [Contributions](#contributions)
2937

30-
* [Installation](#installation)
31-
* [Available Resources and Data Sources](#available-resources-and-data-sources)
32-
* [Testing the provider locally](#testing-the-provider-locally)
3338
<!-- End Table of Contents [toc] -->
3439

35-
<!-- Start SDK Installation [installation] -->
36-
## SDK Installation
40+
<!-- Start Installation [installation] -->
41+
## Installation
3742

3843
To install this provider, copy and paste this code into your Terraform configuration. Then, run `terraform init`.
3944

@@ -42,7 +47,7 @@ terraform {
4247
required_providers {
4348
epilot-custom-variable = {
4449
source = "epilot-dev/epilot-custom-variable"
45-
version = "1.1.2"
50+
version = "1.2.0"
4651
}
4752
}
4853
}
@@ -51,25 +56,25 @@ provider "epilot-custom-variable" {
5156
# Configuration options
5257
}
5358
```
54-
<!-- End SDK Installation [installation] -->
59+
<!-- End Installation [installation] -->
5560

56-
<!-- Start Available Resources and Operations [operations] -->
57-
## Available Resources and Operations
61+
<!-- Start Available Resources and Data Sources [operations] -->
62+
## Available Resources and Data Sources
5863

64+
### Resources
5965

60-
<!-- End Available Resources and Operations [operations] -->
66+
### Data Sources
67+
<!-- End Available Resources and Data Sources [operations] -->
6168

62-
<!-- Start SDK Example Usage [usage] -->
63-
## SDK Example Usage
69+
<!-- Start Testing the provider locally [usage] -->
70+
## Testing the provider locally
6471

65-
### Testing the provider locally
72+
#### Local Provider
6673

6774
Should you want to validate a change locally, the `--debug` flag allows you to execute the provider against a terraform instance locally.
6875

6976
This also allows for debuggers (e.g. delve) to be attached to the provider.
7077

71-
### Example
72-
7378
```sh
7479
go run main.go --debug
7580
# Copy the TF_REATTACH_PROVIDERS env var
@@ -78,7 +83,30 @@ cd examples/your-example
7883
TF_REATTACH_PROVIDERS=... terraform init
7984
TF_REATTACH_PROVIDERS=... terraform apply
8085
```
81-
<!-- End SDK Example Usage [usage] -->
86+
87+
#### Compiled Provider
88+
89+
Terraform allows you to use local provider builds by setting a `dev_overrides` block in a configuration file called `.terraformrc`. This block overrides all other configured installation methods.
90+
91+
1. Execute `go build` to construct a binary called `terraform-provider-epilot-custom-variable`
92+
2. Ensure that the `.terraformrc` file is configured with a `dev_overrides` section such that your local copy of terraform can see the provider binary
93+
94+
Terraform searches for the `.terraformrc` file in your home directory and applies any configuration settings you set.
95+
96+
```
97+
provider_installation {
98+
99+
dev_overrides {
100+
"registry.terraform.io/epilot-dev/epilot-custom-variable" = "<PATH>"
101+
}
102+
103+
# For all other providers, install them directly from their origin provider
104+
# registries as normal. If you omit this, Terraform will _only_ use
105+
# the dev_overrides block, and so no other providers will be available.
106+
direct {}
107+
}
108+
```
109+
<!-- End Testing the provider locally [usage] -->
82110

83111
<!-- Placeholder for Future Speakeasy SDK Sections -->
84112

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+
## 2024-12-03 00:33:18
20+
### Changes
21+
Based on:
22+
- OpenAPI Doc
23+
- Speakeasy CLI 1.449.0 (2.467.4) https://github.com/speakeasy-api/speakeasy
24+
### Generated
25+
- [terraform v1.2.0] .
26+
### Releases
27+
- [Terraform v1.2.0] https://registry.terraform.io/providers/epilot-dev/epilot-custom-variable/1.2.0 - .

docs/data-sources/custom_variable.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ terraform {
1717
required_providers {
1818
epilot-custom-variable = {
1919
source = "epilot-dev/epilot-custom-variable"
20-
version = "1.1.2"
20+
version = "1.2.0"
2121
}
2222
}
2323
}

docs/resources/custom_variable.md

Lines changed: 0 additions & 57 deletions
This file was deleted.

examples/data-sources/epilot-custom-variable_custom_variable/data-source.tf

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/provider/provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
epilot-custom-variable = {
44
source = "epilot-dev/epilot-custom-variable"
5-
version = "1.1.2"
5+
version = "1.2.0"
66
}
77
}
88
}

examples/resources/epilot-custom-variable_custom_variable/import.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

examples/resources/epilot-custom-variable_custom_variable/resource.tf

Lines changed: 0 additions & 8 deletions
This file was deleted.

gen.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@ generation:
1010
requestResponseComponentNamesFeb2024: false
1111
auth:
1212
oAuth2ClientCredentialsEnabled: false
13+
oAuth2PasswordEnabled: false
1314
sdkFlattening: true
1415
telemetryEnabled: false
1516
terraform:
16-
version: 1.1.2
17+
version: 1.2.0
1718
additionalDataSources: []
1819
additionalDependencies: {}
1920
additionalResources: []
2021
allowUnknownFieldsInWeakUnions: false
2122
author: epilot-dev
23+
defaultErrorName: SDKError
24+
enableTypeDeduplication: true
2225
environmentVariables: []
2326
imports:
2427
option: openapi

0 commit comments

Comments
 (0)