[Bug]: aws_licensemanager_licence_configuration incorrectly reports resource as deleted when a ErrCodeInvalidParameterValueException occurs #32832
Labels
bug
Addresses a defect in current functionality.
service/licensemanager
Issues and PRs that pertain to the licensemanager service.
Milestone
Terraform Core Version
1.5
AWS Provider Version
5.10.0
Affected Resource(s)
Expected Behavior
An error should be raised to the user, and the resource should not be deleted from state
Actual Behavior
The resource is reported as deleted and removed from state, but in reality, it still exists
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Create a
aws_licensemanager_licence_configuration
Associate resources with the configuration
Attempt to delete
aws_licensemanager_licence_configuration
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
https://github.com/hashicorp/terraform-provider-aws/blob/327c7f1cc1bbe59ced50f977f4fd2ece9e312a28/internal/service/licensemanager/license_configuration.go#L189C1-L191C3
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: