Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aft-account-request-action-trigger lambda times out when querying service catalogue for items #494

Open
Duanne-IAG opened this issue Sep 13, 2024 · 1 comment
Labels
bug Something isn't working pending investigation Issue needs further investigation

Comments

@Duanne-IAG
Copy link

Duanne-IAG commented Sep 13, 2024

AFT Version:

1.12.2
Terraform Version & Provider Versions

terraform version

1.7.2
terraform providers

hashicorp/aws v5.64.0

Bug Description
When vending new accounts in aft, process fails before getting to the 'create pipeline' codebuild job. The 'aft-account-request-action-trigger' lambda function times out when attempting to retrieve 'healthy products'.

To Reproduce
Steps to reproduce the behavior:
Push new terraform file in account-request-repo to create new account.

Expected behavior
Lambda function completes step with similar response to
{
"time_stamp": "2024-09-10 17:05:19,843",
"module": "service_catalog",
"log_level": "INFO",
"log_message": "Did not find account with matching email in healthy status in Account Factory"
}

Related Logs
Capture

Additional context
Large AWS organization with over 600 accounts in AFT, over 1100 accounts in service catalogue. Perhaps we can make the memory size and timeout paremeterized?

@Duanne-IAG Duanne-IAG added bug Something isn't working pending investigation Issue needs further investigation labels Sep 13, 2024
@JakeHendy
Copy link

For context, we have 617 accounts managed by AFT and 1140 managed by Control Tower/Service Catalogue. Those outside of AFT are being brought in to Control Tower + Service Catalogue, as well as fresh account vends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending investigation Issue needs further investigation
Projects
None yet
Development

No branches or pull requests

2 participants