[Bug]: Error when trying to remove indexes and views in AWS Resource Explorer : "Unexpected Planned Resource State on Destroy │ │ The Terraform Provider unexpectedly returned resource state data when the │ resource was planned for destruction. This is always an issue in the │ Terraform Provider and should be reported to the provider developers." #29541
Labels
bug
Addresses a defect in current functionality.
service/resourceexplorer2
Issues and PRs that pertain to the resourceexplorer2 service.
Terraform Core Version
1.3.9
AWS Provider Version
4.55.0
Affected Resource(s)
aws_resourceexplorer2_index
aws_resourceexplorer2_view
When I want to delete the resources by commenting the code (see example code below), I get a "Plan Error" message:
4x identical message for the 4x resources (2x for the index resources, 2x for the view resources (see code tf below)
Code example:
Expected Behavior
When I comment all the TF code for these four resources, the TF Plan should inform the resources are planned for deletion.
Actual Behavior
At Plan stage, there are four times the same mesage:
Relevant Error/Panic Output Snippet
Terraform Configuration Files
debug-trace-tf-rexpl.log
Steps to Reproduce
Create resources to deploy : example.tf:
check on the AWS console that all is created (takes minutes to have indexes working)
Then comment the code and try to run tf plan & apply (error happend already at Plan stage!)
Debug Output
see same file uploaded in section "Configuration and Logging"
Panic Output
see same file uploaded in section "Configuration and Logging"
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: