Open Latyn4ik opened 1 year ago
Voting for Prioritization
Volunteering to Work on This Issue
Hey @Latyn4ik 👋 Thank you for taking the time to raise this! So that we have the necessary information in order to look into this, can you supply debug logs (redacted as needed) as well?
Hi @justinretzolk
2023-06-23T19:39:42.436+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Transforming empty block to null block: @module=sdk.framework tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-framework@v1.3.1/internal/fwschemadata/data_nullify_collection_blocks.go:75 description=configuration tf_attribute_path=assume_role_with_web_identity tf_req_id=38e10263-8ad7-297f-133c-7e8dff945cd3 tf_rpc=ConfigureProvider timestamp=2023-06-23T19:39:42.436+0300
2023-06-23T19:39:42.436+0300 [DEBUG] provider.terraform-provider-aws_v5.5.0_x5: Calling provider defined Provider
Configure: tf_req_id=38e10263-8ad7-297f-133c-7e8dff945cd3 @caller=github.com/hashicorp/terraform-plugin-framework@v1.3.1/internal/fwserver/server_configureprovider.go:15 @module=sdk.framework tf_mux_provider=*proto5server.Server tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ConfigureProvider timestamp=2023-06-23T19:39:42.436+0300
2023-06-23T19:39:42.436+0300 [DEBUG] provider.terraform-provider-aws_v5.5.0_x5: Called provider defined Provider Configure: tf_req_id=38e10263-8ad7-297f-133c-7e8dff945cd3
tf_rpc=ConfigureProvider @module=sdk.framework tf_provider_addr=registry.terraform.io/hashicorp/aws @caller=github.com/hashicorp/terraform-plugin-framework@v1.3.1/internal/fwserver/server_configureprovider.go:23 tf_mux_provider=*proto5server.Server timestamp=2023-06-23T19:39:42.436+0300
2023-06-23T19:39:42.436+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Received downstream response: tf_req_duration_ms=598 @module=sdk.proto tf_provider_addr=registry.terraform.io/hashicorp/aws tf_proto_version=5.3 tf_req_id=38e10263-8ad7-297f-133c-7e8dff945cd3 tf_rpc=Configure @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 diagnostic_error_count=0 diagnostic_warning_count=0 timestamp=2023-06-23T19:39:42.436+0300
2023-06-23T19:39:42.436+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Served request: tf_req_id=38e10263-8ad7-297f-133c-7e8dff945cd3 tf_rpc=Configure @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/tf5server/server.go:567 @module=sdk.proto tf_provider_addr=registry.terraform.io/hashicorp/aws tf_proto_version=5.3 timestamp=2023-06-23T19:39:42.436+0300
2023-06-23T19:39:42.437+0300 [TRACE] vertex "provider[\"registry.terraform.io/hashicorp/aws\"]": visit complete
2023-06-23T19:39:42.437+0300 [TRACE] vertex "aws_msk_cluster.test (expand)": starting visit (*terraform.nodeExpandPlannableResource)
2023-06-23T19:39:42.437+0300 [TRACE] vertex "aws_msk_cluster.test (expand)": expanding dynamic subgraph
2023-06-23T19:39:42.437+0300 [TRACE] Executing graph transform *terraform.ResourceCountTransformer
2023-06-23T19:39:42.437+0300 [TRACE] ResourceCountTransformer: adding aws_msk_cluster.test as *terraform.NodePlannableResourceInstance
2023-06-23T19:39:42.437+0300 [TRACE] Completed graph transform *terraform.ResourceCountTransformer with new graph: aws_msk_cluster.test - *terraform.NodePlannableResourceInstance
------
2023-06-23T19:39:42.437+0300 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceCountTransformer
2023-06-23T19:39:42.437+0300 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceCountTransformer (no changes)
2023-06-23T19:39:42.437+0300 [TRACE] Executing graph transform *terraform.AttachStateTransformer
2023-06-23T19:39:42.437+0300 [DEBUG] Resource instance state not found for node "aws_msk_cluster.test", instance aws_msk_cluster.test
2023-06-23T19:39:42.437+0300 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes)
2023-06-23T19:39:42.437+0300 [TRACE] Executing graph transform *terraform.TargetsTransformer
2023-06-23T19:39:42.437+0300 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes)
2023-06-23T19:39:42.437+0300 [TRACE] Executing graph transform *terraform.ReferenceTransformer
2023-06-23T19:39:42.437+0300 [DEBUG] ReferenceTransformer: "aws_msk_cluster.test" references: []
2023-06-23T19:39:42.437+0300 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes)
2023-06-23T19:39:42.437+0300 [TRACE] Executing graph transform *terraform.RootTransformer
2023-06-23T19:39:42.437+0300 [TRACE] Completed graph transform *terraform.RootTransformer with new graph:
aws_msk_cluster.test - *terraform.NodePlannableResourceInstance
root - terraform.graphNodeRoot
aws_msk_cluster.test - *terraform.NodePlannableResourceInstance
------
2023-06-23T19:39:42.437+0300 [TRACE] vertex "aws_msk_cluster.test (expand)": entering dynamic subgraph
2023-06-23T19:39:42.437+0300 [TRACE] vertex "aws_msk_cluster.test": starting visit (*terraform.NodePlannableResourceInstance)
aws_msk_cluster.test: Preparing import... [id=arn:aws:kafka:eu-west-1:***************:cluster/test2/afd9ca57-******-****-8555-3f80e7f7c48c-5]
2023-06-23T19:39:42.437+0300 [TRACE] GRPCProvider: ImportResourceState
2023-06-23T19:39:42.446+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Received request: tf_resource_type=aws_msk_cluster @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/tf5server/server.go:840 @module=sdk.proto tf_req_id=e917aae8-1a31-6b83-869f-6dfef7d67aae tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ImportResourceState timestamp=2023-06-23T19:39:42.446+0300
2023-06-23T19:39:42.446+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Sending request downstream: @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 @module=sdk.proto tf_proto_version=5.3 tf_resource_type=aws_msk_cluster tf_rpc=ImportResourceState tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e917aae8-1a31-6b83-869f-6dfef7d67aae timestamp=2023-06-23T19:39:42.446+0300
2023-06-23T19:39:42.446+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: calling downstream server: @caller=github.com/hashicorp/terraform-plugin-mux@v0.10.0/internal/logging/mux.go:16 @module=sdk.mux tf_mux_provider=*schema.GRPCProviderServer tf_rpc=ImportResourceState timestamp=2023-06-23T19:39:42.446+0300
2023-06-23T19:39:42.446+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Calling downstream: tf_mux_provider=*schema.GRPCProviderServer tf_resource_type=aws_msk_cluster tf_rpc=ImportResourceState @module=sdk.helper_schema tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e917aae8-1a31-6b83-869f-6dfef7d67aae @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.26.1/helper/schema/provider.go:382 timestamp=2023-06-23T19:39:42.446+0300
2023-06-23T19:39:42.446+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Called downstream: @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.26.1/helper/schema/provider.go:389 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ImportResourceState @module=sdk.helper_schema tf_mux_provider=*schema.GRPCProviderServer tf_req_id=e917aae8-1a31-6b83-869f-6dfef7d67aae tf_resource_type=aws_msk_cluster timestamp=2023-06-23T19:39:42.446+0300
2023-06-23T19:39:42.450+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Received downstream response: @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/internal/tf5serverlogging/downstream_request.go:37
@module=sdk.proto diagnostic_error_count=0 tf_proto_version=5.3 tf_req_duration_ms=3 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=e917aae8-1a31-6b83-869f-6dfef7d67aae tf_resource_type=aws_msk_cluster tf_rpc=ImportResourceState timestamp=2023-06-23T19:39:42.450+0300
2023-06-23T19:39:42.450+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Served request: tf_rpc=ImportResourceState @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/tf5server/server.go:863 tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_resource_type=aws_msk_cluster @module=sdk.proto tf_req_id=e917aae8-1a31-6b83-869f-6dfef7d67aae timestamp=2023-06-23T19:39:42.450+0300
2023-06-23T19:39:42.455+0300 [TRACE] graphNodeImportState: import aws_msk_cluster.test "arn:aws:kafka:eu-west-1:***************:cluster/test2/afd9ca57-******-****-8555-3f80e7f7c48c-5" produced instance object of type aws_msk_cluster
2023-06-23T19:39:42.455+0300 [TRACE] NodeAbstractResourceInstance.refresh for aws_msk_cluster.test
aws_msk_cluster.test: Refreshing state... [id=arn:aws:kafka:eu-west-1:***************:cluster/test2/afd9ca57-******-****-8555-3f80e7f7c48c-5]
2023-06-23T19:39:42.464+0300 [TRACE] GRPCProvider: ReadResource
2023-06-23T19:39:42.464+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Received request: tf_provider_addr=registry.terraform.io/hashicorp/aws tf_resource_type=aws_msk_cluster tf_proto_version=5.3 @module=sdk.proto tf_req_id=6bde3258-c351-fb24-eaeb-9968e7c750c7 tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/tf5server/server.go:737 timestamp=2023-06-23T19:39:42.464+0300
2023-06-23T19:39:42.464+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Sending request downstream: tf_proto_version=5.3 @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 @module=sdk.proto tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=6bde3258-c351-fb24-eaeb-9968e7c750c7 tf_resource_type=aws_msk_cluster tf_rpc=ReadResource timestamp=2023-06-23T19:39:42.464+03002023-06-23T19:39:42.464+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: calling downstream server: tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-mux@v0.10.0/internal/logging/mux.go:16 @module=sdk.mux
"clusterInfo" : {
"clusterName" : "test2",
"clusterArn" : "arn:aws:kafka:eu-west-1:***************:clus**************ca57-******-****-8555-3f80e7f7c48c-5",
"currentVersion" : "K2M66E0AN2PS0S",
"creationTime" : "2022-11-24T12:00:17.139Z",
"state" : "ACTIVE",
"curr*****************Info" : {
"kafkaVersion" : "2.8.1",
"conf********nArn" : "arn:aws:kafka:eu-west-1:***************:conf*******************2d5e-7f2c-48e6-9474-06ec462b1692-5",
"conf*************sion" : 1
},
"numb***********odes" : 6,
"brok***********Info" : {
"instanceType" : "kafka.t3.small",
"brok************tion" : "DEFAULT",
"clientSubnets" : [ "subnet-0274*********8801", "subnet-0964*********7ad2", "subnet-0aeb*********c352" ],
"securityGroups" : [ "sg-0d94*********885b" ],
"zoneIds" : [ "euw1-az1", "euw1-az3", "euw1-az2" ], "storageInfo" : {
"ebsStorageInfo" : {
"volumeSize" : 200,
"prov*************hput" : {
"enabled" : false
}
}
},
"conn********Info" : {
"publicAccess" : {
"type" : "DISABLED"
},
"vpcConnectivity" : {
"clie************tion" : {
"tls" : {
"enabled" : false
},
"sasl" : {
"scram" : {
"enabled" : false
},
"iam" : {
"enabled" : false
}
}
}
}
}
},
"enha**********ring" : "PER_BROKER",
"openMonitoring" : {
"prometheus" : {
"jmxExporter" : {
"enabledInBroker" : true
},
"nodeExporter" : {
"enabledInBroker" : true
}
}
},
"zook**************ring" : "z-2.test2.******.c5.kafka.eu-west-1.amazonaws.com:2181,z-3.test2.******.c5.kafka.eu-west-1.amazonaws.com:2181,z-1.test2.******.c5.kafka.eu-west-1.amazonaws.com:2181",
"zook*****************gTls" : "z-2.test2.******.c5.kafka.eu-west-1.amazonaws.com:2182,z-3.test2.******.c5.kafka.eu-west-1.amazonaws.com:2182,z-1.test2.******.c5.kafka.eu-west-1.amazonaws.com:2182",
"clie************tion" : {
"unauthenticated" : {
"enabled" : true
},
"tls" : {
"enabled" : false,
"cert*******************List" : [ ]
},
"sasl" : {
"scram" : {
"enabled" : false
},
"iam" : {
"enabled" : false
}
}
},
"encryptionInfo" : {
"encr********Rest" : {
"data**********eyId" : "arn:aws:kms:eu-west-1:***************:key/85df12ae-b9de-434e-a0d5-0cf4e79905ff"
},
"encr***********nsit" : {
"clientBroker" : "PLAINTEXT",
"inCluster" : false
}
},
"loggingInfo" : {
"brokerLogs" : {
"s3" : {
"enabled" : false
},
"cloudWatchLogs" : {
"enabled" : false
},
"firehose" : {
"enabled" : false
}
}
},
"storageMode" : "LOCAL",
"tags" : { }
}
}
2023-06-23T19:39:43.298+0300 [DEBUG] provider.terraform-provider-aws_v5.5.0_x5: HTTP Response Received: http.response.body="{"boot*************ring":"b-2.test2.******.c5.kafka.eu-west-1.amazonaws.com:9092,b-6.test2.******.c5.kafka.eu-west-1.amazonaws.com:9092,b-3.test2.******.c5.kafka.eu-west-1.amazonaws.com:9092"}
" http.response.header.x_amz_apigw_id=G-ygbEWVjoEFVOg= http.response_content_length=192 http.duration=250 tf_req_id=6bde3258-c351-fb24-eaeb-9968e7c750c7 http.response.header.x_cache="Miss from cloudfront" tf_mux_provider=*schema.GRPCProviderServer http.response.header.access_control_expose_headers=x-amzn-errortype,x-amzn-requestid,x-amzn-errormessage,x-amzn-trace-id,x-amz-apigw-id,date http.response.header.x_amz_cf_id=ZhS08Q59ng5E-oj2epC_rDd5F_U2kI18X9I3aF_fPVsFFIAElNG7GA== aws.operation=GetBootstrapBrokers
aws.region=eu-west-1 http.status_code=200 http.response.header.access_control_allow_headers=Authorization,Date,X-Amz-Date,X-Amz-Security-Token,X-Amz-Target,content-type,x-amz-content-sha256,x-amz-user-agent,x-amzn-platform-id,x-amzn-trace-id http.response.header.x_amz_cf_pop=DUB2-C1 http.response.header.x_amzn_requestid=858f0999-b11e-4641-8167-0d93f5905b5e tf_rpc=ReadResource @caller=github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2@v2.0.0-beta.31/logger.go:144 @module=aws aws.sdk=aws-sdk-go http.response.header.access_control_allow_methods=* http.response.header.date="Fri, 23 Jun 2023 16:39:43 GMT" http.response.header.access_control_max_age=86400 http.response.header.x_amzn_trace_id=Root=1-6495cacf-732d70436cd5d0994e915dcd aws.service=Kafka http.response.header.access_control_allow_origin=* tf_resource_type=aws_msk_cluster http.response.header.content_type=application/json http.response.header.via="1.1 2ad54f65c83b790e81bb57464047598a.cloudfront.net
(CloudFront)" tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2023-06-23T19:39:43.298+0300
2023-06-23T19:39:43.299+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Called downstream: tf_resource_type=aws_msk_cluster @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.26.1/helper/schema/resource.go:1016 @module=sdk.helper_schema tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ReadResource tf_mux_provider=*schema.GRPCProviderServer tf_req_id=6bde3258-c351-fb24-eaeb-9968e7c750c7 timestamp=2023-06-23T19:39:43.298+0300
2023-06-23T19:39:43.300+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Received downstream response: tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_duration_ms=835 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_id=6bde3258-c351-fb24-eaeb-9968e7c750c7 tf_resource_type=aws_msk_cluster tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 @module=sdk.proto timestamp=2023-06-23T19:39:43.300+0300
2023-06-23T19:39:43.300+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Served request: @module=sdk.proto
tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_resource_type=aws_msk_cluster tf_req_id=6bde3258-c351-fb24-eaeb-9968e7c750c7 tf_rpc=ReadResource @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/tf5server/server.go:761 timestamp=2023-06-23T19:39:43.300+0300
2023-06-23T19:39:43.306+0300 [WARN] Provider "registry.terraform.io/hashicorp/aws" produced an unexpected new value for aws_msk_cluster.test during refresh.
- .bootstrap_brokers_public_tls: was null, but now
cty.StringVal("")
- .cluster_name: was null, but now cty.StringVal("test2")
- .enhanced_monitoring: was null, but now cty.StringVal("PER_BROKER")
- .storage_mode: was null, but now cty.StringVal("LOCAL")
- .zookeeper_connect_string_tls: was null, but now
cty.StringVal("z-1.test2.******.c5.kafka.eu-west-1.amazonaws.com:2182,z-2.test2.*******.c5.kafka.eu-west-1.amazonaws.com:2182,z-3.test2.******.c5.kafka.eu-west-1.amazonaws.com:2182")
- .bootstrap_brokers_public_sasl_scram: was null, but now cty.StringVal("")
- .bootstrap_brokers_public_sasl_iam: was null, but now cty.StringVal("")
- .bootstrap_brokers_tls: was null, but now cty.StringVal("")
- .zookeeper_connect_string: was null, but now cty.StringVal("z-1.test2.******.c5.kafka.eu-west-1.amazonaws.com:2181,z-2.test2.******.c5.kafka.eu-west-1.amazonaws.com:2181,z-3.test2.******.c5.kafka.eu-west-1.amazonaws.com:2181")
- .bootstrap_brokers: was null, but now cty.StringVal("b-2.test2.******.c5.kafka.eu-west-1.amazonaws.com:9092,b-3.test2.******.c5.kafka.eu-west-1.amazonaws.com:9092,b-6.test2.******.c5.kafka.eu-west-1.amazonaws.com:9092")
- .bootstrap_brokers_sasl_iam: was null, but now cty.StringVal("")
- .current_version: was null, but now cty.StringVal("*******")
- .kafka_version: was null, but now cty.StringVal("2.8.1")
- .tags: was null, but now cty.MapValEmpty(cty.String)
- .tags_all: was null, but now cty.MapValEmpty(cty.String)
- .arn: was null, but now cty.StringVal("arn:aws:kafka:eu-west-1:***************:cluster/test2/afd9ca57-******-****-8555-3f80e7f7c48c-5")
- .number_of_broker_nodes: was null, but now cty.NumberIntVal(6)
- .bootstrap_brokers_sasl_scram: was null, but now
cty.StringVal("")
- .broker_node_group_info: block count changed from 0 to 1
- .client_authentication: block count changed from
0 to 1
- .configuration_info: block count changed from 0 to 1
- .encryption_info: block count changed from 0 to 1 - .logging_info: block count changed from 0 to 1
- .open_monitoring: block count changed from 0 to 12023-06-23T19:39:43.308+0300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to refreshState for aws_msk_cluster.test
2023-06-23T19:39:43.308+0300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: writing state object
for aws_msk_cluster.test
2023-06-23T19:39:43.309+0300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to prevRunState for aws_msk_cluster.test
2023-06-23T19:39:43.309+0300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: writing state object
for aws_msk_cluster.test
2023-06-23T19:39:43.310+0300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to refreshState for aws_msk_cluster.test
2023-06-23T19:39:43.310+0300 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: writing state object
for aws_msk_cluster.test
2023-06-23T19:39:43.311+0300 [TRACE] Re-validating config for "aws_msk_cluster.test"
2023-06-23T19:39:43.311+0300 [TRACE] GRPCProvider: ValidateResourceConfig
2023-06-23T19:39:43.312+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Received request: @module=sdk.proto tf_proto_version=5.3 tf_resource_type=aws_msk_cluster @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/tf5server/server.go:679 tf_rpc=ValidateResourceTypeConfig tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=f270ba6b-cd82-a92d-07ff-95f9e0f08085 timestamp=2023-06-23T19:39:43.312+0300
2023-06-23T19:39:43.312+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Sending request downstream: tf_req_id=f270ba6b-cd82-a92d-07ff-95f9e0f08085 tf_resource_type=aws_msk_cluster tf_rpc=ValidateResourceTypeConfig @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/internal/tf5serverlogging/downstream_request.go:17 @module=sdk.proto tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2023-06-23T19:39:43.312+0300
2023-06-23T19:39:43.312+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: calling downstream server: @module=sdk.mux tf_mux_provider=*schema.GRPCProviderServer tf_rpc=ValidateResourceTypeConfig @caller=github.com/hashicorp/terraform-plugin-mux@v0.10.0/internal/logging/mux.go:16
timestamp=2023-06-23T19:39:43.312+0300
2023-06-23T19:39:43.313+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Calling downstream: @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.26.1/helper/schema/grpc_provider.go:245 @module=sdk.helper_schema tf_mux_provider=*schema.GRPCProviderServer tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_id=f270ba6b-cd82-a92d-07ff-95f9e0f08085 tf_resource_type=aws_msk_cluster tf_rpc=ValidateResourceTypeConfig timestamp=2023-06-23T19:39:43.313+0300
2023-06-23T19:39:43.317+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Called downstream: tf_resource_type=aws_msk_cluster tf_rpc=ValidateResourceTypeConfig @module=sdk.helper_schema tf_req_id=f270ba6b-cd82-a92d-07ff-95f9e0f08085 @caller=github.com/hashicorp/terraform-plugin-sdk/v2@v2.26.1/helper/schema/grpc_provider.go:247 tf_mux_provider=*schema.GRPCProviderServer tf_provider_addr=registry.terraform.io/hashicorp/aws timestamp=2023-06-23T19:39:43.317+0300
2023-06-23T19:39:43.317+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Received downstream response: tf_resource_type=aws_msk_cluster @module=sdk.proto diagnostic_error_count=1 tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_req_duration_ms=5 tf_req_id=f270ba6b-cd82-a92d-07ff-95f9e0f08085 tf_rpc=ValidateResourceTypeConfig @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/internal/tf5serverlogging/downstream_request.go:37 diagnostic_warning_count=0 timestamp=2023-06-23T19:39:43.317+0300
2023-06-23T19:39:43.317+0300 [ERROR] provider.terraform-provider-aws_v5.5.0_x5: Response contains error diagnostic: diagnostic_severity=ERROR diagnostic_summary="expected
broker_node_group_info.0.storage_info.0.ebs_storage_info.0.provisioned_throughput.0.volume_throughput to be in the range (250 - 2375), got 0" tf_provider_addr=registry.terraform.io/hashicorp/aws tf_rpc=ValidateResourceTypeConfig tf_req_id=f270ba6b-cd82-a92d-07ff-95f9e0f08085 @module=sdk.proto diagnostic_attribute=AttributeName("broker_node_group_info").ElementKeyInt(0).AttributeName("storage_info").ElementKeyInt(0).AttributeName("ebs_storage_info").ElementKeyInt(0).AttributeName("provisioned_throughput").ElementKeyInt(0).AttributeName("volume_throughput") @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/internal/diag/diagnostics.go:55 diagnostic_detail= tf_proto_version=5.3 tf_resource_type=aws_msk_cluster timestamp=2023-06-23T19:39:43.317+0300
2023-06-23T19:39:43.317+0300 [TRACE] provider.terraform-provider-aws_v5.5.0_x5: Served request: tf_rpc=ValidateResourceTypeConfig @caller=github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov5/tf5server/server.go:699 tf_proto_version=5.3 tf_provider_addr=registry.terraform.io/hashicorp/aws tf_resource_type=aws_msk_cluster @module=sdk.proto tf_req_id=f270ba6b-cd82-a92d-07ff-95f9e0f08085 timestamp=2023-06-23T19:39:43.317+0300
2023-06-23T19:39:43.324+0300 [TRACE] writeChange: recorded NoOp change for aws_msk_cluster.test
2023-06-23T19:39:43.324+0300 [ERROR] vertex "aws_msk_cluster.test" error: expected broker_node_group_info.0.storage_info.0.ebs_storage_info.0.provisioned_throughput.0.volume_throughput to be in the range (250 - 2375), got 0
2023-06-23T19:39:43.324+0300 [TRACE] vertex "aws_msk_cluster.test": visit complete, with errors
2023-06-23T19:39:43.324+0300 [TRACE] dag/walk: upstream of "root" errored, so skipping
2023-06-23T19:39:43.324+0300 [TRACE] vertex "aws_msk_cluster.test (expand)": dynamic subgraph encountered errors:
expected broker_node_group_info.0.storage_info.0.ebs_storage_info.0.provisioned_throughput.0.volume_throughput to
be in the range (250 - 2375), got 0
2023-06-23T19:39:43.324+0300 [ERROR] vertex "aws_msk_cluster.test (expand)" error: expected broker_node_group_info.0.storage_info.0.ebs_storage_info.0.provisioned_throughput.0.volume_throughput to be in the range (250 - 2375), got 0
2023-06-23T19:39:43.324+0300 [TRACE] vertex "aws_msk_cluster.test (expand)": visit complete, with errors
2023-06-23T19:39:43.324+0300 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/hashicorp/aws\"] (close)" errored, so skipping
2023-06-23T19:39:43.324+0300 [TRACE] dag/walk: upstream of "root" errored, so skipping
2023-06-23T19:39:43.325+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/aws"
2023-06-23T19:39:43.325+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/random"
2023-06-23T19:39:43.325+0300 [INFO] backend/local: plan
operation completed
2023-06-23T19:39:43.325+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/aws"
2023-06-23T19:39:43.325+0300 [TRACE] LoadSchemas: retrieving schema for provider type "registry.terraform.io/hashicorp/random"
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Warning: Config generation is experimental
│
│ Generating configuration during import is currently experimental, and the
│ generated configuration format may change in future versions.
╵
╷
│ Error: expected broker_node_group_info.0.storage_info.0.ebs_storage_info.0.provisioned_throughput.0.volume_throughput to be in the range (250 - 2375), got 0
│
│ with aws_msk_cluster.test,
│ on generated1.tf line 23:
│ (source code not available)
│
╵
Terraform Core Version
1.5.1
AWS Provider Version
5.5.0
Affected Resource(s)
aws_msk_cluster
Expected Behavior
Executed command
terraform plan -generate-config-out=generated1.tf
output config for existing MSK clusterActual Behavior
I have import block with id of msk cluster and resource address. After execution
terraform plan -generate-config-out=generated1.tf
i got an error:Planning failed. Terraform encountered an error while generating this plan.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Create file with import block Run
terraform plan -generate-config-out=generated1.tf
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None