Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The resources and data sources in this provider are generated from the CloudFormation schema, so they can only support the actions that the underlying schema supports. For this reason submitted bugs should be limited to defects in the generation and runtime code of the provider. Customizing behavior of the resource, or noting a gap in behavior are not valid bugs and should be submitted as enhancements to AWS via the CloudFormation Open Coverage Roadmap.
Terraform CLI and Terraform AWS Cloud Control Provider Version
Stack trace from the terraform-provider-awscc_v1.1.0_x5 plugin:
panic: Go Duration ValueDuration Error
Duration string value is null
goroutine 11 [running]:
github.com/hashicorp/terraform-provider-awscc/internal/errs.Must[...](...)
github.com/hashicorp/terraform-provider-awscc/internal/errs/must.go:13
github.com/hashicorp/terraform-provider-awscc/internal/errs/diag.Must[...](...)
github.com/hashicorp/terraform-provider-awscc/internal/errs/diag/must.go:17
github.com/hashicorp/terraform-provider-awscc/internal/provider.assumeRoleWithWebIdentityData.Config({{{0x0, {0x0, 0x0}}}, {{0x0, {0x0, 0x0}}}, {{0x0, 0x0, 0x0}, {0x31b0678, ...}, ...}, ...})
github.com/hashicorp/terraform-provider-awscc/internal/provider/provider.go:341 +0x347
github.com/hashicorp/terraform-provider-awscc/internal/provider.newProviderData({0x31ad308, 0xc0004c8b70}, 0xc0004ee000)
github.com/hashicorp/terraform-provider-awscc/internal/provider/provider.go:483 +0xbbb
github.com/hashicorp/terraform-provider-awscc/internal/provider.(*ccProvider).Configure(0xc000104a90, {0x31ad308, 0xc0004c8b70}, {{0xc000012148, 0x5}, {{{0x31b36d0, 0xc0004e0c90}, {0x2105720, 0xc0004e04b0}}, {0x31e0a88, ...}}, ...}, ...)
github.com/hashicorp/terraform-provider-awscc/internal/provider/provider.go:373 +0x21f
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ConfigureProvider(0xc000232960, {0x31ad308, 0xc0004c8b70}, 0xc0000ba690, 0xc0001218c0)
github.com/hashicorp/terraform-plugin-framework@v1.9.0/internal/fwserver/server_configureprovider.go:18 +0x132
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ConfigureProvider(0xc000232960, {0x31ad308?, 0xc0004c8a80?}, 0xc0000ae100)
github.com/hashicorp/terraform-plugin-framework@v1.9.0/internal/proto6server/server_configureprovider.go:39 +0x2c5
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ConfigureProvider(0xc00029fae0, {0x31ad308?, 0xc0004c8210?}, 0xc0000ba140)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/tf6server/server.go:559 +0x35a
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ConfigureProvider_Handler({0x221e0c0, 0xc00029fae0}, {0x31ad308, 0xc0004c8210}, 0xc00018e000, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.23.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:464 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001bb000, {0x31ad308, 0xc0004c8180}, {0x31de600, 0xc000002180}, 0xc0004cc000, 0xc00037b650, 0x40af130, 0x0)
google.golang.org/grpc@v1.63.2/server.go:1369 +0xdf8
google.golang.org/grpc.(*Server).handleStream(0xc0001bb000, {0x31de600, 0xc000002180}, 0xc0004cc000)
google.golang.org/grpc@v1.63.2/server.go:1780 +0xe8b
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.63.2/server.go:1019 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 7
google.golang.org/grpc@v1.63.2/server.go:1030 +0x125
Error: The terraform-provider-awscc_v1.1.0_x5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
Unexpected exit code generated by command 'terraform plan -out=test_plan.tfplan -detailed-exitcode': 1
Steps to Reproduce
Upgrade awscc from 0.78.0 -> 1.1.0 and run terraform plan
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
awscc
Terraform Configuration Files
Stack Trace
Steps to Reproduce
awscc
from0.78.0
->1.1.0
and runterraform plan