Skip to content

Commit

Permalink
Upgrade terraform-provider-databricks to v1.64.1 (#718)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-databricks
--kind=all --target-version=1.64.1`.

---

- Upgrading terraform-provider-databricks from 1.63.0  to 1.64.1.
	Fixes #717
	Fixes #713
  • Loading branch information
pulumi-bot authored Jan 29, 2025
1 parent dec61cb commit 11f5cf5
Show file tree
Hide file tree
Showing 100 changed files with 1,093 additions and 897 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Subject: [PATCH] rename input property on guardrails to avoid name clash


diff --git a/internal/service/serving_tf/legacy_model.go b/internal/service/serving_tf/legacy_model.go
index 5573d72a..7134783f 100755
index 72d5bc3c..d08a7998 100755
--- a/internal/service/serving_tf/legacy_model.go
+++ b/internal/service/serving_tf/legacy_model.go
@@ -479,7 +479,7 @@ func (o AiGatewayGuardrailPiiBehavior_SdkV2) Type(ctx context.Context) attr.Type
@@ -474,7 +474,7 @@ func (o AiGatewayGuardrailPiiBehavior_SdkV2) Type(ctx context.Context) attr.Type

type AiGatewayGuardrails_SdkV2 struct {
// Configuration for input guardrail filters.
Expand All @@ -17,7 +17,7 @@ index 5573d72a..7134783f 100755
// Configuration for output guardrail filters.
Output types.List `tfsdk:"output"`
}
@@ -491,8 +491,8 @@ func (newState *AiGatewayGuardrails_SdkV2) SyncEffectiveFieldsDuringRead(existin
@@ -486,8 +486,8 @@ func (newState *AiGatewayGuardrails_SdkV2) SyncEffectiveFieldsDuringRead(existin
}

func (c AiGatewayGuardrails_SdkV2) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder {
Expand All @@ -28,7 +28,7 @@ index 5573d72a..7134783f 100755
attrs["output"] = attrs["output"].SetOptional()
attrs["output"] = attrs["output"].(tfschema.ListNestedAttributeBuilder).AddValidator(listvalidator.SizeAtMost(1)).(tfschema.AttributeBuilder)

@@ -508,7 +508,7 @@ func (c AiGatewayGuardrails_SdkV2) ApplySchemaCustomizations(attrs map[string]tf
@@ -503,7 +503,7 @@ func (c AiGatewayGuardrails_SdkV2) ApplySchemaCustomizations(attrs map[string]tf
// SDK values.
func (a AiGatewayGuardrails_SdkV2) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type {
return map[string]reflect.Type{
Expand All @@ -37,7 +37,7 @@ index 5573d72a..7134783f 100755
"output": reflect.TypeOf(AiGatewayGuardrailParameters_SdkV2{}),
}
}
@@ -520,7 +520,7 @@ func (o AiGatewayGuardrails_SdkV2) ToObjectValue(ctx context.Context) basetypes.
@@ -515,7 +515,7 @@ func (o AiGatewayGuardrails_SdkV2) ToObjectValue(ctx context.Context) basetypes.
return types.ObjectValueMust(
o.Type(ctx).(basetypes.ObjectType).AttrTypes,
map[string]attr.Value{
Expand All @@ -46,7 +46,7 @@ index 5573d72a..7134783f 100755
"output": o.Output,
})
}
@@ -529,7 +529,7 @@ func (o AiGatewayGuardrails_SdkV2) ToObjectValue(ctx context.Context) basetypes.
@@ -524,7 +524,7 @@ func (o AiGatewayGuardrails_SdkV2) ToObjectValue(ctx context.Context) basetypes.
func (o AiGatewayGuardrails_SdkV2) Type(ctx context.Context) attr.Type {
return types.ObjectType{
AttrTypes: map[string]attr.Type{
Expand All @@ -55,7 +55,7 @@ index 5573d72a..7134783f 100755
ElemType: AiGatewayGuardrailParameters_SdkV2{}.Type(ctx),
},
"output": basetypes.ListType{
@@ -561,7 +561,7 @@ func (o *AiGatewayGuardrails_SdkV2) GetInput(ctx context.Context) (AiGatewayGuar
@@ -556,7 +556,7 @@ func (o *AiGatewayGuardrails_SdkV2) GetInput(ctx context.Context) (AiGatewayGuar
// SetInput sets the value of the Input field in AiGatewayGuardrails_SdkV2.
func (o *AiGatewayGuardrails_SdkV2) SetInput(ctx context.Context, v AiGatewayGuardrailParameters_SdkV2) {
vs := []attr.Value{v.ToObjectValue(ctx)}
Expand All @@ -65,10 +65,10 @@ index 5573d72a..7134783f 100755
}

diff --git a/internal/service/serving_tf/model.go b/internal/service/serving_tf/model.go
index 48076954..f77efbbb 100755
index 28b17d84..ee25b32b 100755
--- a/internal/service/serving_tf/model.go
+++ b/internal/service/serving_tf/model.go
@@ -474,7 +474,7 @@ func (o AiGatewayGuardrailPiiBehavior) Type(ctx context.Context) attr.Type {
@@ -469,7 +469,7 @@ func (o AiGatewayGuardrailPiiBehavior) Type(ctx context.Context) attr.Type {

type AiGatewayGuardrails struct {
// Configuration for input guardrail filters.
Expand All @@ -77,7 +77,7 @@ index 48076954..f77efbbb 100755
// Configuration for output guardrail filters.
Output types.Object `tfsdk:"output"`
}
@@ -486,7 +486,7 @@ func (newState *AiGatewayGuardrails) SyncEffectiveFieldsDuringRead(existingState
@@ -481,7 +481,7 @@ func (newState *AiGatewayGuardrails) SyncEffectiveFieldsDuringRead(existingState
}

func (c AiGatewayGuardrails) ApplySchemaCustomizations(attrs map[string]tfschema.AttributeBuilder) map[string]tfschema.AttributeBuilder {
Expand All @@ -86,7 +86,7 @@ index 48076954..f77efbbb 100755
attrs["output"] = attrs["output"].SetOptional()

return attrs
@@ -501,7 +501,7 @@ func (c AiGatewayGuardrails) ApplySchemaCustomizations(attrs map[string]tfschema
@@ -496,7 +496,7 @@ func (c AiGatewayGuardrails) ApplySchemaCustomizations(attrs map[string]tfschema
// SDK values.
func (a AiGatewayGuardrails) GetComplexFieldTypes(ctx context.Context) map[string]reflect.Type {
return map[string]reflect.Type{
Expand All @@ -95,7 +95,7 @@ index 48076954..f77efbbb 100755
"output": reflect.TypeOf(AiGatewayGuardrailParameters{}),
}
}
@@ -513,7 +513,7 @@ func (o AiGatewayGuardrails) ToObjectValue(ctx context.Context) basetypes.Object
@@ -508,7 +508,7 @@ func (o AiGatewayGuardrails) ToObjectValue(ctx context.Context) basetypes.Object
return types.ObjectValueMust(
o.Type(ctx).(basetypes.ObjectType).AttrTypes,
map[string]attr.Value{
Expand All @@ -104,7 +104,7 @@ index 48076954..f77efbbb 100755
"output": o.Output,
})
}
@@ -522,7 +522,7 @@ func (o AiGatewayGuardrails) ToObjectValue(ctx context.Context) basetypes.Object
@@ -517,7 +517,7 @@ func (o AiGatewayGuardrails) ToObjectValue(ctx context.Context) basetypes.Object
func (o AiGatewayGuardrails) Type(ctx context.Context) attr.Type {
return types.ObjectType{
AttrTypes: map[string]attr.Type{
Expand Down
100 changes: 53 additions & 47 deletions provider/cmd/pulumi-resource-databricks/schema.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraf
replace github.com/databricks/terraform-provider-databricks => ../upstream

require (
github.com/databricks/databricks-sdk-go v0.55.0
github.com/databricks/databricks-sdk-go v0.56.1
github.com/databricks/terraform-provider-databricks v1.58.0
github.com/pulumi/providertest v0.1.3
github.com/pulumi/pulumi-terraform-bridge/v3 v3.102.0
Expand Down Expand Up @@ -99,7 +99,6 @@ require (
github.com/hashicorp/terraform-plugin-framework-validators v0.16.0 // indirect
github.com/hashicorp/terraform-plugin-go v0.26.0 // indirect
github.com/hashicorp/terraform-plugin-log v0.9.0 // indirect
github.com/hashicorp/terraform-plugin-mux v0.18.0 // indirect
github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0 // indirect
github.com/hashicorp/terraform-plugin-testing v1.11.0 // indirect
github.com/hashicorp/terraform-registry-address v0.2.4 // indirect
Expand Down Expand Up @@ -182,7 +181,7 @@ require (
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/yuin/goldmark v1.7.4 // indirect
github.com/zclconf/go-cty v1.16.1 // indirect
github.com/zclconf/go-cty v1.16.2 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1520,8 +1520,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
github.com/cyphar/filepath-securejoin v0.3.6 h1:4d9N5ykBnSp5Xn2JkhocYDkOpURL/18CYMpo6xB9uWM=
github.com/cyphar/filepath-securejoin v0.3.6/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI=
github.com/databricks/databricks-sdk-go v0.55.0 h1:ReziD6spzTDltM0ml80LggKo27F3oUjgTinCFDJDnak=
github.com/databricks/databricks-sdk-go v0.55.0/go.mod h1:JpLizplEs+up9/Z4Xf2x++o3sM9eTTWFGzIXAptKJzI=
github.com/databricks/databricks-sdk-go v0.56.1 h1:sgweTRvAQaI8EPrfDnVdAB0lNX6L5uTT720SlMMQI2U=
github.com/databricks/databricks-sdk-go v0.56.1/go.mod h1:JpLizplEs+up9/Z4Xf2x++o3sM9eTTWFGzIXAptKJzI=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down Expand Up @@ -2311,8 +2311,8 @@ github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4
github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0=
github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
github.com/zclconf/go-cty v1.15.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
github.com/zclconf/go-cty v1.16.1 h1:a5TZEPzBFFR53udlIKApXzj8JIF4ZNQ6abH79z5R1S0=
github.com/zclconf/go-cty v1.16.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70=
github.com/zclconf/go-cty v1.16.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE=
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8=
github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo=
github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM=
Expand Down
9 changes: 9 additions & 0 deletions sdk/dotnet/App.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 6 additions & 47 deletions sdk/dotnet/GetMwsWorkspaces.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sdk/dotnet/Inputs/JobTaskForEachTaskTaskSparkJarTaskArgs.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sdk/dotnet/Inputs/JobTaskSparkJarTaskArgs.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sdk/dotnet/Inputs/JobTaskSparkJarTaskGetArgs.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 11f5cf5

Please sign in to comment.