Skip to content

Commit

Permalink
Upgrade terraform-provider-cockroach to v1.6.0 (#48)
Browse files Browse the repository at this point in the history
* make tfgen

* make build_sdks
  • Loading branch information
ringods authored Oct 30, 2024
1 parent e3a1668 commit a105c26
Show file tree
Hide file tree
Showing 26 changed files with 2,034 additions and 14 deletions.
141 changes: 140 additions & 1 deletion provider/cmd/pulumi-resource-cockroach/schema.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ require (
github.com/charmbracelet/lipgloss v0.7.1 // indirect
github.com/cheggaaa/pb v1.0.29 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/cockroachdb/cockroach-cloud-sdk-go v1.9.0 // indirect
github.com/cockroachdb/terraform-provider-cockroach v1.5.0 // indirect
github.com/cockroachdb/cockroach-cloud-sdk-go v1.11.0 // indirect
github.com/cockroachdb/terraform-provider-cockroach v1.6.0 // indirect
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down
8 changes: 4 additions & 4 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,10 @@ github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWH
github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cockroachdb/cockroach-cloud-sdk-go v1.9.0 h1:sChoEfkpNaAurC9I11WSZQ16sn4r9OeA931cfzElk+U=
github.com/cockroachdb/cockroach-cloud-sdk-go v1.9.0/go.mod h1:oG9ylbcVGOF7IbVAW2nx5F6ry9a2dZD1H9rd+qd4P60=
github.com/cockroachdb/terraform-provider-cockroach v1.5.0 h1:JyY1Igb7SOXVV1qYDT65mnn2DtsLaankWFcLIV9s7X0=
github.com/cockroachdb/terraform-provider-cockroach v1.5.0/go.mod h1:soR3R/HyHHcQvfnf/OhPePDdDB9xlo/7Pn7MlxQMpVs=
github.com/cockroachdb/cockroach-cloud-sdk-go v1.11.0 h1:xqQ2/m+tCIbvoL9u61TAQ5qnu+KDrIH74A7Ym2gdzG4=
github.com/cockroachdb/cockroach-cloud-sdk-go v1.11.0/go.mod h1:oG9ylbcVGOF7IbVAW2nx5F6ry9a2dZD1H9rd+qd4P60=
github.com/cockroachdb/terraform-provider-cockroach v1.6.0 h1:lc4WWGy6EQyhk8hbqJN8yD9Qs6imccXnSkCNa7EbSSA=
github.com/cockroachdb/terraform-provider-cockroach v1.6.0/go.mod h1:BmMUYvr61ABIuseEuaxXzG+GEArTHNDA6IoSdAPH4n4=
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81 h1:q2hJAaP1k2wIvVRd/hEHD7lacgqrCPS+k8g1MndzfWY=
github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81/go.mod h1:YynlIjWYF8myEu6sdkwKIvGQq+cOckRm6So2avqoYAk=
github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
Expand Down
2 changes: 2 additions & 0 deletions provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func Provider() tfbridge.ProviderInfo {
MetadataInfo: tfbridge.NewProviderMetadata(bridgeMetadata),
Resources: map[string]*tfbridge.ResourceInfo{
"cockroach_allow_list": {Tok: cockroachResource(cockroachMod, "AllowList")},
"cockroach_api_key": {Tok: cockroachResource(cockroachMod, "ApiKey")},
"cockroach_api_oidc_config": {Tok: cockroachResource(cockroachMod, "ApiOidcConfig")},
"cockroach_client_ca_cert": {
Tok: cockroachResource(cockroachMod, "CaCert"),
Expand Down Expand Up @@ -163,6 +164,7 @@ func Provider() tfbridge.ProviderInfo {
"cockroach_private_endpoint_connection": {Tok: cockroachResource(cockroachMod, "PrivateEndpointConnection")},
"cockroach_private_endpoint_services": {Tok: cockroachResource(cockroachMod, "PrivateEndpointServices")},
"cockroach_private_endpoint_trusted_owner": {Tok: cockroachResource(cockroachMod, "PrivateEndpointTrustedOwner")},
"cockroach_service_account": {Tok: cockroachResource(cockroachMod, "ServiceAccount")},
"cockroach_sql_user": {Tok: cockroachResource(cockroachMod, "SqlUser")},
"cockroach_user_role_grant": {
Tok: cockroachResource(cockroachMod, "UserRoleGrant"),
Expand Down
4 changes: 2 additions & 2 deletions provider/shim/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ module github.com/cockroachdb/terraform-provider-cockroach/shim
go 1.22

require (
github.com/cockroachdb/terraform-provider-cockroach v1.5.0
github.com/cockroachdb/terraform-provider-cockroach v1.6.0
github.com/hashicorp/terraform-plugin-framework v1.6.1
)

require (
github.com/agext/levenshtein v1.2.3 // indirect
github.com/cockroachdb/cockroach-cloud-sdk-go v1.9.0 // indirect
github.com/cockroachdb/cockroach-cloud-sdk-go v1.11.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/google/uuid v1.4.0 // indirect
Expand Down
8 changes: 4 additions & 4 deletions provider/shim/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew
github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4=
github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU=
github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA=
github.com/cockroachdb/cockroach-cloud-sdk-go v1.9.0 h1:sChoEfkpNaAurC9I11WSZQ16sn4r9OeA931cfzElk+U=
github.com/cockroachdb/cockroach-cloud-sdk-go v1.9.0/go.mod h1:oG9ylbcVGOF7IbVAW2nx5F6ry9a2dZD1H9rd+qd4P60=
github.com/cockroachdb/terraform-provider-cockroach v1.5.0 h1:JyY1Igb7SOXVV1qYDT65mnn2DtsLaankWFcLIV9s7X0=
github.com/cockroachdb/terraform-provider-cockroach v1.5.0/go.mod h1:soR3R/HyHHcQvfnf/OhPePDdDB9xlo/7Pn7MlxQMpVs=
github.com/cockroachdb/cockroach-cloud-sdk-go v1.11.0 h1:xqQ2/m+tCIbvoL9u61TAQ5qnu+KDrIH74A7Ym2gdzG4=
github.com/cockroachdb/cockroach-cloud-sdk-go v1.11.0/go.mod h1:oG9ylbcVGOF7IbVAW2nx5F6ry9a2dZD1H9rd+qd4P60=
github.com/cockroachdb/terraform-provider-cockroach v1.6.0 h1:lc4WWGy6EQyhk8hbqJN8yD9Qs6imccXnSkCNa7EbSSA=
github.com/cockroachdb/terraform-provider-cockroach v1.6.0/go.mod h1:BmMUYvr61ABIuseEuaxXzG+GEArTHNDA6IoSdAPH4n4=
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
172 changes: 172 additions & 0 deletions sdk/dotnet/ApiKey.cs

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

21 changes: 21 additions & 0 deletions sdk/dotnet/Cluster.cs

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

4 changes: 4 additions & 0 deletions sdk/dotnet/GetCockroachCluster.cs

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

Loading

0 comments on commit a105c26

Please sign in to comment.