Open acwwat opened 3 weeks ago
I highly suspect upstream handler issue, expecting ‘ relationalDatabaseName’ to be included in the delete request
Confirmed, I tried to use CCAPI CLI to delete the resource in question and I got similar error:
{
"ProgressEvent": {
"TypeName": "AWS::Lightsail::Database",
"Identifier": "example-db",
"RequestToken": "23852623-cff4-417c-b50d-dc730c34ea22",
"Operation": "DELETE",
"OperationStatus": "FAILED",
"EventTime": "2024-06-28T15:24:08.531000-07:00",
"StatusMessage": "These parameters are required: relationalDatabaseName (Service: Lightsail, Status Code: 400, Request ID: 6c4777cf-80e9-4ade-8fde-aa24edc76aa2)",
"ErrorCode": "InvalidRequest"
}
}
@acwwat , thank you for reporting this issue. This appears to be upstream issue in AWS and I have raised internal ticket to address this problem.
Community Note
Terraform CLI and Terraform AWS Cloud Control Provider Version
Affected Resource(s)
awscc_lightsail_database
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
n/a
Expected Behavior
terraform destroy
completes successfully and the database is deleted.Actual Behavior
Terraform destroy fails with the following error, even though the actual database is deleted as verified in the Lightsail console:
Steps to Reproduce
terraform apply
terraform destroy
Important Factoids
n/a
References
n/a