[Bug]: aws_bedrockagent_agent
resource fails to destroy when an alias created outside Terraform exists
#37161
Labels
bug
Addresses a defect in current functionality.
service/bedrock
Issues and PRs that pertain to the bedrock service.
service/bedrockagent
Issues and PRs that pertain to the bedrockagent service.
service/iam
Issues and PRs that pertain to the iam service.
service/sts
Issues and PRs that pertain to the sts service.
Terraform Core Version
1.6.6
AWS Provider Version
5.47.0
Affected Resource(s)
aws_bedrockagent_agent
Expected Behavior
Resource is destroyed successfully.
Actual Behavior
Resource fails to destroy with the error below.
Relevant Error/Panic Output Snippet
Updated: 2024-05-18: The resource is now returning a better error message:
Terraform Configuration Files
Steps to Reproduce
beta
.terraform destroy
and see that it fails with the error message.Debug Output
No response
Panic Output
No response
Important Factoids
I am able to delete the agent in the AWS Management Console, so I think the Terraform resource should be able to do the same.
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: