Skip to content

Conversation

@lukeina2z
Copy link
Contributor

Problem:
The Lambda Java performance test can take longer than one hour, but the AWS token is only valid for one hour. If the token expires, the performance test will fail. Additionally, Terraform will fail to delete the AWS resources it created. When this happens, subsequent performance tests are blocked because the AWS resources cannot be manually deleted (attempts to delete them in the AWS Console result in "Access Denied," even with admin permissions).

Fix:
In the performance test workflow, we explicitly renew the AWS token twice:
Before running the performance tests.
Before tearing down the Terraform-created resources.

Problem:
The Lambda Java performance test can take longer than one hour, but the AWS token is only valid for one hour. If the token expires, the performance test will fail. Additionally, Terraform will fail to delete the AWS resources it created. When this happens, subsequent performance tests are blocked because the AWS resources cannot be manually deleted (attempts to delete them in the AWS Console result in "Access Denied," even with admin permissions).

Fix:
In the performance test workflow, we explicitly renew the AWS token twice:
Before running the performance tests.
Before tearing down the Terraform-created resources.
@lukeina2z lukeina2z merged commit 73c852a into aws-observability:main Sep 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants