Skip to content

Commit

Permalink
Fix validation + bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanzh committed Jul 25, 2024
1 parent f2e11db commit 0b8fc61
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ management:
docVersion: 0.1.0
speakeasyVersion: 1.346.0
generationVersion: 2.379.3
releaseVersion: 0.3.1
configChecksum: 1ad2f65d1ace75ce2a28f25aba85c731
releaseVersion: 0.3.2
configChecksum: 4090fca91cae4786cdcbfd8ba0a2499d
features:
terraform:
additionalDependencies: 0.1.0
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
terraform:
version: 0.3.1
version: 0.3.2
additionalDataSources: []
additionalDependencies: {}
additionalResources: []
Expand Down
8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ speakeasyVersion: 1.346.0
sources:
FastAPI:
sourceNamespace: fast-api
sourceRevisionDigest: sha256:65950b693a7d37899f1277423cf9144826afb949f0b3ce1455e6ac67d656f746
sourceBlobDigest: sha256:1d738ee71668af4b1f2014c68d68cbd221acb2ae40006d38fd937794b370091e
sourceRevisionDigest: sha256:60f26bfcaf4e3aafcbbf055dfcbc26b13b1e133a780d9f18838eb2c1ad4e673d
sourceBlobDigest: sha256:2750f115006e2be4d3e19fc19d0b73c97e3dc772b7316c2d98d39e1960af59b0
tags:
- latest
targets:
lumos-terraform-provider-target:
source: FastAPI
sourceNamespace: fast-api
sourceRevisionDigest: sha256:65950b693a7d37899f1277423cf9144826afb949f0b3ce1455e6ac67d656f746
sourceBlobDigest: sha256:1d738ee71668af4b1f2014c68d68cbd221acb2ae40006d38fd937794b370091e
sourceRevisionDigest: sha256:60f26bfcaf4e3aafcbbf055dfcbc26b13b1e133a780d9f18838eb2c1ad4e673d
sourceBlobDigest: sha256:2750f115006e2be4d3e19fc19d0b73c97e3dc772b7316c2d98d39e1960af59b0
outLocation: /Users/ethanzh/terraform-provider-lumos
workflow:
workflowVersion: 1.0.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ terraform {
required_providers {
lumos = {
source = "teamlumos/lumos"
version = "0.3.1"
version = "0.3.2"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ terraform {
required_providers {
lumos = {
source = "teamlumos/lumos"
version = "0.3.1"
version = "0.3.2"
}
}
}
Expand Down
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 {
lumos = {
source = "teamlumos/lumos"
version = "0.3.1"
version = "0.3.2"
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions internal/sdk/internal/hooks/registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,4 @@ func initHooks(h *Hooks) {
// Add hooks by calling h.register{SDKInit/BeforeRequest/AfterSuccess/AfterError}Hook
// with an instance of a hook that implements that specific Hook interface
// Hooks are registered per SDK instance, and are valid for the lifetime of the SDK instance
requestablePermissionsHook := &RequestablePermissionsHook{}

h.registerBeforeRequestHook(requestablePermissionsHook)
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,6 @@ func (v ObjectRequestConfigInputValidatorValidator) MarkdownDescription(ctx cont

// Validate performs the validation.
func (v ObjectRequestConfigInputValidatorValidator) ValidateObject(ctx context.Context, req validator.ObjectRequest, resp *validator.ObjectResponse) {
resp.Diagnostics.AddAttributeError(
req.Path,
"TODO: implement objectvalidator RequestConfigInputValidator logic",
req.Path.String()+": "+v.Description(ctx),
)
}

func RequestConfigInputValidator() validator.Object {
Expand Down

0 comments on commit 0b8fc61

Please sign in to comment.