Skip to content

v0.20.1

Latest
Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 28 Feb 22:41
· 1 commit to refs/heads/main since this release
4621c6f

🚀 Enhancements

Revert "🐞 fix(go base sdk): version update (#73)" @Benbentwo (#84) # ROLL BACK (PR Option 1) closes #82 closes #83

This reverts commit f40eaf9.

what

  • Reverts commit that introduced error:
The plugin.(*GRPCProvider).ConfigureProvider request was cancelled.

Stack trace from the terraform-provider-awsutils plugin:

panic: interface conversion: interface {} is string, not *string

goroutine 313 [running]:
github.com/cloudposse/terraform-provider-awsutils/internal/provider.providerConfigure({0xb11a0a0, 0xc0004c0c60}, 0xc0008dae00, {0xc0008c2478, 0x5})
	github.com/cloudposse/terraform-provider-awsutils/internal/provider/provider.go:284 +0x1185
github.com/cloudposse/terraform-provider-awsutils/internal/provider.New.func1({0xb11a0a0?, 0xc0004c0c60?}, 0xc0004c0c60?)
	github.com/cloudposse/terraform-provider-awsutils/internal/provider/provider.go:270 +0x45
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).Configure(0xc0001080c0, {0xb11a0a0, 0xc0004c0c60}, 0xd?)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.21.0/helper/schema/provider.go:297 +0x1e2
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0xc000126108, {0xb11a0a0?, 0xc00082d530?}, 0xc000744198)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.21.0/helper/schema/grpc_provider.go:557 +0x338
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.muxServer.ConfigureProvider({0xc0004ac240, 0xc0004ac2a0, {0xc0009d8840, 0x2, 0x2}, 0xc0004ac270, 0xc0004abc40, 0xc00070e210, 0xc0004ac2d0}, {0xb11a0a0, ...}, ...)
	github.com/hashicorp/terraform-plugin-mux@v0.7.0/tf5muxserver/mux_server_ConfigureProvider.go:25 +0x172
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).Configure(0xc000614140, {0xb11a0a0?, 0xc00082ca50?}, 0xc0007f8140)
	github.com/hashicorp/terraform-plugin-go@v0.14.0/tfprotov5/tf5server/server.go:556 +0x2aa
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_Configure_Handler({0xa144b00, 0xc000614140}, {0xb11a0a0, 0xc00082ca50}, 0xc0008d21c0, 0x0)
	github.com/hashicorp/terraform-plugin-go@v0.14.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:331 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0005ec000, {0xb122020, 0xc000604340}, 0xc0008f6d80, 0xc0004ad2f0, 0x1111dfd8, 0x0)
	google.golang.org/grpc@v1.48.0/server.go:1295 +0xaea
google.golang.org/grpc.(*Server).handleStream(0xc0005ec000, {0xb122020, 0xc000604340}, 0xc0008f6d80, 0x0)
	google.golang.org/grpc@v1.48.0/server.go:1636 +0x9da
google.golang.org/grpc.(*Server).serveStreams.func1.2()
	google.golang.org/grpc@v1.48.0/server.go:932 +0x87
created by google.golang.org/grpc.(*Server).serveStreams.func1 in goroutine 310
	google.golang.org/grpc@v1.48.0/server.go:930 +0x226

Error: The terraform-provider-awsutils plugin crashed!

🐛 Bug Fixes

Revert "🐞 fix(go base sdk): version update (#73)" @Benbentwo (#84) # ROLL BACK (PR Option 1) closes #82 closes #83

This reverts commit f40eaf9.

what

  • Reverts commit that introduced error:
The plugin.(*GRPCProvider).ConfigureProvider request was cancelled.

Stack trace from the terraform-provider-awsutils plugin:

panic: interface conversion: interface {} is string, not *string

goroutine 313 [running]:
github.com/cloudposse/terraform-provider-awsutils/internal/provider.providerConfigure({0xb11a0a0, 0xc0004c0c60}, 0xc0008dae00, {0xc0008c2478, 0x5})
	github.com/cloudposse/terraform-provider-awsutils/internal/provider/provider.go:284 +0x1185
github.com/cloudposse/terraform-provider-awsutils/internal/provider.New.func1({0xb11a0a0?, 0xc0004c0c60?}, 0xc0004c0c60?)
	github.com/cloudposse/terraform-provider-awsutils/internal/provider/provider.go:270 +0x45
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).Configure(0xc0001080c0, {0xb11a0a0, 0xc0004c0c60}, 0xd?)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.21.0/helper/schema/provider.go:297 +0x1e2
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0xc000126108, {0xb11a0a0?, 0xc00082d530?}, 0xc000744198)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.21.0/helper/schema/grpc_provider.go:557 +0x338
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.muxServer.ConfigureProvider({0xc0004ac240, 0xc0004ac2a0, {0xc0009d8840, 0x2, 0x2}, 0xc0004ac270, 0xc0004abc40, 0xc00070e210, 0xc0004ac2d0}, {0xb11a0a0, ...}, ...)
	github.com/hashicorp/terraform-plugin-mux@v0.7.0/tf5muxserver/mux_server_ConfigureProvider.go:25 +0x172
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).Configure(0xc000614140, {0xb11a0a0?, 0xc00082ca50?}, 0xc0007f8140)
	github.com/hashicorp/terraform-plugin-go@v0.14.0/tfprotov5/tf5server/server.go:556 +0x2aa
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_Configure_Handler({0xa144b00, 0xc000614140}, {0xb11a0a0, 0xc00082ca50}, 0xc0008d21c0, 0x0)
	github.com/hashicorp/terraform-plugin-go@v0.14.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:331 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0005ec000, {0xb122020, 0xc000604340}, 0xc0008f6d80, 0xc0004ad2f0, 0x1111dfd8, 0x0)
	google.golang.org/grpc@v1.48.0/server.go:1295 +0xaea
google.golang.org/grpc.(*Server).handleStream(0xc0005ec000, {0xb122020, 0xc000604340}, 0xc0008f6d80, 0x0)
	google.golang.org/grpc@v1.48.0/server.go:1636 +0x9da
google.golang.org/grpc.(*Server).serveStreams.func1.2()
	google.golang.org/grpc@v1.48.0/server.go:932 +0x87
created by google.golang.org/grpc.(*Server).serveStreams.func1 in goroutine 310
	google.golang.org/grpc@v1.48.0/server.go:930 +0x226

Error: The terraform-provider-awsutils plugin crashed!