Hi,
I am trying to delete a namespace, and it errors out.
The namespace is empty, just created, so shouldn’t be an issue with any dependencies.
After issuing a delete, it goes into “DELETING” status:
{
"Name": "namespace-2",
"Arn": "arn:aws:quicksight:us-east-1:123:namespace/namespace-2",
"CapacityRegion": "us-east-1",
"CreationStatus": "DELETING",
"IdentityStore": "QUICKSIGHT"
}
After about 30 seconds, it fails with:
{
"Name": "namespace-2",
"Arn": "arn:aws:quicksight:us-east-1:123:namespace/namespace-2",
"CapacityRegion": "us-east-1",
"CreationStatus": "RETRYABLE_FAILURE",
"IdentityStore": "QUICKSIGHT",
"NamespaceError": {
"Type": "AUTHENTICATION_FAILURE",
"Message": "Your security token expired or is invalid. Please try again."
}
}
I’m using a CDK and a CustomResource, which uses a role.
So I would guess that, perhaps, the role gets deleted quicker than the namespace, and perhaps the session then is no longer valid?